Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » No un-/redeploy possible in Tomcat and WebSphere
No un-/redeploy possible in Tomcat and WebSphere [message #1015638] Fri, 01 March 2013 13:53 Go to next message
Eclipse User
Hi,

we have the problem, that it is not possible for us or our clients to
un-/redeploy our app the usual way (tomcat manager or websphere
console). Our environment is Tomcat 7 (windows) or Websphere 8 (suse
linux), RAP 1.5.

When undeploying the app it seems, that not everything get deleted. In
Tomcat some artifakts remain in folder "/work" and on websphere in the
folders "myprofile/temp", "myprofile/wstemp" and "myprofile/config". The
result is, that we and our clients have to undeploy, shutdown the
server, start the sever, and the deploy then deploy the application. So
all webapps of the server are temp. not available while updating the RAP
app.

Some investigation in tomcat shows, that the problem only occurs if
session are open on the app. Expiring the sessions first does not lead
to the problem in tomcat.

It is also reproducible with the rapdemo.war provided in the help, but
this already includes RAP 2.0 and we use 1.5:
http://rap.eclipsesource.com/download/rapdemo.war

I found some rather old links in google regarding a similiar or the same
issue for equinox server side:
http://www.eclipse.org/forums/index.php/mv/msg/158401/500404/#msg_500404
https://bugs.eclipse.org/bugs/show_bug.cgi?id=190279

Does anyone have the same issue or a solution for this?

Regards,
Markus
Re: No un-/redeploy possible in Tomcat and WebSphere [message #1015783 is a reply to message #1015638] Sat, 02 March 2013 19:00 Go to previous messageGo to next message
Markus Duft is currently offline Markus Duft
Messages: 131
Registered: February 2013
Senior Member
we have a big product using 2.0.0 deployed as war file built using the warproducts stuff from project libra. it all deploys, reloads and undeploys clean on tomcat 6 & 7.
Re: No un-/redeploy possi ble in Tomcat and WebSphere [message #1015788 is a reply to message #1015783] Sat, 02 March 2013 23:04 Go to previous messageGo to next message
Markus  rüger is currently offline Markus rüger
Messages: 369
Registered: July 2009
Senior Member
Markus Duft <forums-noreply@xxxxxxxx> wrote:
> we have a big product using 2.0.0 deployed as war file built using the
> warproducts stuff from project libra. it all deploys, reloads and
> undeploys clean on tomcat 6 & 7.

Does your tomcat run on windows or linux?
Re: No un-/redeploy possible in Tomcat and WebSphere [message #1015991 is a reply to message #1015638] Mon, 04 March 2013 14:11 Go to previous messageGo to next message
Eclipse User
I just found the follwing sentence in the RAP developer documentation:

"If you are re-deploying, make sure to delete the work directory of your
servlet engine (e.g.
<tomcat_install>/work/Catalina/localhost/<webapp_name> in Tomcat)."

So is this known already?

Am 01.03.2013 14:53, schrieb Markus Krüger:
> Hi,
>
> we have the problem, that it is not possible for us or our clients to
> un-/redeploy our app the usual way (tomcat manager or websphere
> console). Our environment is Tomcat 7 (windows) or Websphere 8 (suse
> linux), RAP 1.5.
>
> When undeploying the app it seems, that not everything get deleted. In
> Tomcat some artifakts remain in folder "/work" and on websphere in the
> folders "myprofile/temp", "myprofile/wstemp" and "myprofile/config". The
> result is, that we and our clients have to undeploy, shutdown the
> server, start the sever, and the deploy then deploy the application. So
> all webapps of the server are temp. not available while updating the RAP
> app.
>
> Some investigation in tomcat shows, that the problem only occurs if
> session are open on the app. Expiring the sessions first does not lead
> to the problem in tomcat.
>
> It is also reproducible with the rapdemo.war provided in the help, but
> this already includes RAP 2.0 and we use 1.5:
> http://rap.eclipsesource.com/download/rapdemo.war
>
> I found some rather old links in google regarding a similiar or the same
> issue for equinox server side:
> http://www.eclipse.org/forums/index.php/mv/msg/158401/500404/#msg_500404
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=190279
>
> Does anyone have the same issue or a solution for this?
>
> Regards,
> Markus
Re: No un-/redeploy possible in Tomcat and WebSphere [message #1016164 is a reply to message #1015991] Tue, 05 March 2013 10:22 Go to previous messageGo to next message
Markus Duft is currently offline Markus Duft
Messages: 131
Registered: February 2013
Senior Member
hm, this directory disappears for me automatically when undeploying. i checked again. and: i run on linux Wink
Re: No un-/redeploy possible in Tomcat and WebSphere [message #1016173 is a reply to message #1015991] Tue, 05 March 2013 10:50 Go to previous messageGo to next message
Ralf Sternberg is currently offline Ralf Sternberg
Messages: 1291
Registered: July 2009
Senior Member

Hi Markus,

we've had problems undeploying RAP applications before. IIRC, those
problems were always related to the server push (UICallBack) preventing
sessions from unloading [1].

We did several improvements to the server push in RAP 1.5 and again in
2.0. As far as I can tell, these problems have vanished in RAP 2.0. I'm
now able to deploy and undeploy RAP applications without any problems.

Regards,
Ralf


[1] https://bugs.eclipse.org/bugs/show_bug.cgi?id=351961

--
Ralf Sternberg

Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Re: No un-/redeploy possible in Tomcat and WebSphere [message #1016174 is a reply to message #1016173] Tue, 05 March 2013 10:59 Go to previous messageGo to next message
Markus Duft is currently offline Markus Duft
Messages: 131
Registered: February 2013
Senior Member
Ah, that would explain why it works for me - we're on RAP 2.0.0 too Smile
Re: No un-/redeploy possible in Tomcat and WebSphere [message #1016243 is a reply to message #1016173] Tue, 05 March 2013 15:38 Go to previous messageGo to next message
Eclipse User
Hi Ralf,

we could also see the behavior with this war
'http://rap.eclipsesource.com/download/rapdemo.war' which includes rap 2.0.

Thanks,
Markus

Am 05.03.2013 11:50, schrieb Ralf Sternberg:
> Hi Markus,
>
> we've had problems undeploying RAP applications before. IIRC, those
> problems were always related to the server push (UICallBack) preventing
> sessions from unloading [1].
>
> We did several improvements to the server push in RAP 1.5 and again in
> 2.0. As far as I can tell, these problems have vanished in RAP 2.0. I'm
> now able to deploy and undeploy RAP applications without any problems.
>
> Regards,
> Ralf
>
>
> [1] https://bugs.eclipse.org/bugs/show_bug.cgi?id=351961
>
Re: No un-/redeploy possible in Tomcat and WebSphere [message #1016348 is a reply to message #1016243] Wed, 06 March 2013 07:34 Go to previous messageGo to next message
Ralf Sternberg is currently offline Ralf Sternberg
Messages: 1291
Registered: July 2009
Senior Member

Hi Markus,

exactly this war file works like a charm for me with Tomcat/7.0.35, but
also with Tomcat 5.5.

Are there any special steps you follow before you can reproduce it? Any
other RAP applications in your tomcat?

Regards,
Ralf

--
Ralf Sternberg

Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Re: No un-/redeploy possible in Tomcat and WebSphere [message #1016483 is a reply to message #1016348] Wed, 06 March 2013 15:54 Go to previous messageGo to next message
Eclipse User
May its a windows issue for tomcat, but this shows some incorrect behavior.

I can reproduce it by doing the following starting from scratch:

1. download tomcat from
http://mirror.lwnetwork.org.uk/APACHE/tomcat/tomcat-7/v7.0.37/bin/apache-tomcat-7.0.37-windows-x86.zip

2. unzip into d:

3. configure tomcat-users.xml with <user username="admin"
password="admin" roles="manager-gui"/>

4. start with startup.bat

5. deploy rapdemo via http://localhost:8080/manager/html

6. open http://localhost:8080/rapdemo/examples with two browsers

7. refresh http://localhost:8080/manager/html

8. see two sesseions active

9. undeploy without expirering sessions

the following plugins now still exist in
D:\apache-tomcat-7.0.37\work\Catalina\localhost\rapdemo\eclipse\plugins:
- org.eclipse.rap.rwt_2.0.0.20130205-1612.jar
- org.eclipse.rap.examples_2.0.0.20130124-1720.jar

and the following errors occur

06.03.2013 16:49:49 org.apache.catalina.session.StandardManager stopInternal
SCHWERWIEGEND: Exception unloading sessions to persistent storage
java.lang.IllegalStateException: Resources directory not configured
at
org.eclipse.rap.rwt.internal.resources.ResourceDirectory.getDirectory(ResourceDirectory.java:48)
at
org.eclipse.rap.rwt.internal.resources.ResourceManagerImpl.getDiskLocation(ResourceManagerImpl.java:176)
at
org.eclipse.rap.rwt.internal.resources.ResourceManagerImpl.getRegisteredContent(ResourceManagerImpl.java:114)
at
org.eclipse.swt.graphics.ImageSerializer.getImageBytes(ImageSerializer.java:79)
at
org.eclipse.swt.graphics.ImageSerializer.writeObject(ImageSerializer.java:68)
at org.eclipse.swt.graphics.Image.writeObject(Image.java:436)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:945)
at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1469)
at
java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158)
at
java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1518)
at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1483)
at
java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158)
at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1346)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1154)
at
java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1518)
at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1483)
at
java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158)
at
java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1518)
at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1483)
at
java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158)
at
java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1518)
at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1483)
at
java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158)
at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1346)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1154)
at
java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1518)
at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1483)
at
java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158)
at
java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1518)
at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1483)
at
java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158)
at
java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1518)
at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1483)
at
java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158)
at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1346)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1154)
at
java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1518)
at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1483)
at
java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158)
at
java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1518)
at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1483)
at
java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158)
at
java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1518)
at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1483)
at
java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158)
at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1346)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1154)
at
java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1518)
at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1483)
at
java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158)
at
java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1518)
at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1483)
at
java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158)
at
java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1518)
at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1483)
at
java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158)
at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1346)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1154)
at
java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1518)
at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1483)
at
java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158)
at
java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1518)
at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1483)
at
java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158)
at
java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1518)
at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1483)
at
java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158)
at
java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1518)
at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1483)
at
java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158)
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:330)
at java.util.HashMap.writeObject(HashMap.java:1001)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:945)
at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1469)
at
java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158)
at
java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1518)
at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1483)
at
java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158)
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:330)
at
org.apache.catalina.session.StandardSession.writeObject(StandardSession.java:1671)
at
org.apache.catalina.session.StandardSession.writeObjectData(StandardSession.java:1077)
at
org.apache.catalina.session.StandardManager.doUnload(StandardManager.java:432)
at
org.apache.catalina.session.StandardManager.unload(StandardManager.java:353)
at
org.apache.catalina.session.StandardManager.stopInternal(StandardManager.java:518)
at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:232)
at
org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:5479)
at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:232)
at
org.apache.catalina.manager.ManagerServlet.undeploy(ManagerServlet.java:1359)
at
org.apache.catalina.manager.HTMLManagerServlet.undeploy(HTMLManagerServlet.java:674)
at
org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java:215)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:647)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at
org.apache.catalina.filters.CsrfPreventionFilter.doFilter(CsrfPreventionFilter.java:213)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at
org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:581)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:936)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
at
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004)
at
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
at
org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:1852)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
06.03.2013 16:49:50 org.apache.catalina.startup.HostConfig
deleteRedeployResources
INFO: Undeploying context [/rapdemo]
06.03.2013 16:49:50 org.apache.catalina.startup.ExpandWar deleteDir
SCHWERWIEGEND:
[D:\apache-tomcat-7.0.37\work\Catalina\localhost\rapdemo\eclipse\plugins] could
not be completely deleted. The presence of the remaining files may cause
problems
06.03.2013 16:49:50 org.apache.catalina.startup.ExpandWar deleteDir
SCHWERWIEGEND:
[D:\apache-tomcat-7.0.37\work\Catalina\localhost\rapdemo\eclipse] could
not be completely deleted. The presence of the remaining files may cause
problems
06.03.2013 16:49:50 org.apache.catalina.startup.ExpandWar deleteDir
SCHWERWIEGEND: [D:\apache-tomcat-7.0.37\work\Catalina\localhost\rapdemo]
could not be completely deleted. The presence of the remaining files may
cause problems
06.03.2013 16:49:50 org.apache.catalina.startup.ExpandWar delete
SCHWERWIEGEND: [D:\apache-tomcat-7.0.37\work\Catalina\localhost\rapdemo]
could not be completely deleted. The presence of the remaining files may
cause problems
Re: No un-/redeploy possible in Tomcat and WebSphere [message #1016713 is a reply to message #1016483] Thu, 07 March 2013 12:58 Go to previous messageGo to next message
Eclipse User
Just tested the same steps in a tomcat in linux.

The directory completly gets deleted here.

So for Tomcat it seems to be an issue only on windows. But For WebSphere
we also have the same Problem in Linux.


Am 06.03.2013 16:54, schrieb Markus Krüger:
> May its a windows issue for tomcat, but this shows some incorrect behavior.
>
> I can reproduce it by doing the following starting from scratch:
>
> 1. download tomcat from
> http://mirror.lwnetwork.org.uk/APACHE/tomcat/tomcat-7/v7.0.37/bin/apache-tomcat-7.0.37-windows-x86.zip
>
>
> 2. unzip into d:
>
> 3. configure tomcat-users.xml with <user username="admin"
> password="admin" roles="manager-gui"/>
>
> 4. start with startup.bat
>
> 5. deploy rapdemo via http://localhost:8080/manager/html
>
> 6. open http://localhost:8080/rapdemo/examples with two browsers
>
> 7. refresh http://localhost:8080/manager/html
>
> 8. see two sesseions active
>
> 9. undeploy without expirering sessions
>
> the following plugins now still exist in
> D:\apache-tomcat-7.0.37\work\Catalina\localhost\rapdemo\eclipse\plugins:
> - org.eclipse.rap.rwt_2.0.0.20130205-1612.jar
> - org.eclipse.rap.examples_2.0.0.20130124-1720.jar
>
> and the following errors occur
>
> 06.03.2013 16:49:49 org.apache.catalina.session.StandardManager
> stopInternal
> SCHWERWIEGEND: Exception unloading sessions to persistent storage
> java.lang.IllegalStateException: Resources directory not configured
> at
> org.eclipse.rap.rwt.internal.resources.ResourceDirectory.getDirectory(ResourceDirectory.java:48)
>
> at
> org.eclipse.rap.rwt.internal.resources.ResourceManagerImpl.getDiskLocation(ResourceManagerImpl.java:176)
>
> at
> org.eclipse.rap.rwt.internal.resources.ResourceManagerImpl.getRegisteredContent(ResourceManagerImpl.java:114)
>
> at
> org.eclipse.swt.graphics.ImageSerializer.getImageBytes(ImageSerializer.java:79)
>
> at
> org.eclipse.swt.graphics.ImageSerializer.writeObject(ImageSerializer.java:68)
>
> at org.eclipse.swt.graphics.Image.writeObject(Image.java:436)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>
> at java.lang.reflect.Method.invoke(Method.java:597)
> at
> java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:945)
> at
> java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1469)
> at
> java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400)
>
> at
> java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158)
> at
> java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1518)
> at
> java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1483)
> at
> java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400)
>
> at
> java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158)
> at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1346)
> at
> java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1154)
> at
> java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1518)
> at
> java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1483)
> at
> java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400)
>
> at
> java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158)
> at
> java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1518)
> at
> java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1483)
> at
> java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400)
>
> at
> java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158)
> at
> java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1518)
> at
> java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1483)
> at
> java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400)
>
> at
> java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158)
> at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1346)
> at
> java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1154)
> at
> java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1518)
> at
> java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1483)
> at
> java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400)
>
> at
> java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158)
> at
> java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1518)
> at
> java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1483)
> at
> java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400)
>
> at
> java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158)
> at
> java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1518)
> at
> java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1483)
> at
> java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400)
>
> at
> java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158)
> at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1346)
> at
> java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1154)
> at
> java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1518)
> at
> java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1483)
> at
> java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400)
>
> at
> java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158)
> at
> java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1518)
> at
> java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1483)
> at
> java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400)
>
> at
> java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158)
> at
> java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1518)
> at
> java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1483)
> at
> java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400)
>
> at
> java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158)
> at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1346)
> at
> java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1154)
> at
> java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1518)
> at
> java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1483)
> at
> java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400)
>
> at
> java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158)
> at
> java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1518)
> at
> java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1483)
> at
> java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400)
>
> at
> java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158)
> at
> java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1518)
> at
> java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1483)
> at
> java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400)
>
> at
> java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158)
> at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1346)
> at
> java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1154)
> at
> java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1518)
> at
> java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1483)
> at
> java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400)
>
> at
> java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158)
> at
> java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1518)
> at
> java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1483)
> at
> java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400)
>
> at
> java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158)
> at
> java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1518)
> at
> java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1483)
> at
> java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400)
>
> at
> java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158)
> at
> java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1518)
> at
> java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1483)
> at
> java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400)
>
> at
> java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158)
> at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:330)
> at java.util.HashMap.writeObject(HashMap.java:1001)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>
> at java.lang.reflect.Method.invoke(Method.java:597)
> at
> java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:945)
> at
> java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1469)
> at
> java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400)
>
> at
> java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158)
> at
> java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1518)
> at
> java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1483)
> at
> java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400)
>
> at
> java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158)
> at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:330)
> at
> org.apache.catalina.session.StandardSession.writeObject(StandardSession.java:1671)
>
> at
> org.apache.catalina.session.StandardSession.writeObjectData(StandardSession.java:1077)
>
> at
> org.apache.catalina.session.StandardManager.doUnload(StandardManager.java:432)
>
> at
> org.apache.catalina.session.StandardManager.unload(StandardManager.java:353)
>
> at
> org.apache.catalina.session.StandardManager.stopInternal(StandardManager.java:518)
>
> at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:232)
> at
> org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:5479)
>
> at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:232)
> at
> org.apache.catalina.manager.ManagerServlet.undeploy(ManagerServlet.java:1359)
>
> at
> org.apache.catalina.manager.HTMLManagerServlet.undeploy(HTMLManagerServlet.java:674)
>
> at
> org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java:215)
>
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:647)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
>
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
>
> at
> org.apache.catalina.filters.CsrfPreventionFilter.doFilter(CsrfPreventionFilter.java:213)
>
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
>
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
>
> at
> org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)
>
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
>
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
>
> at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
>
> at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
>
> at
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:581)
>
> at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
>
> at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
>
> at
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:936)
> at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
>
> at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
> at
> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004)
>
> at
> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
>
> at
> org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:1852)
>
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
>
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>
> at java.lang.Thread.run(Thread.java:662)
> 06.03.2013 16:49:50 org.apache.catalina.startup.HostConfig
> deleteRedeployResources
> INFO: Undeploying context [/rapdemo]
> 06.03.2013 16:49:50 org.apache.catalina.startup.ExpandWar deleteDir
> SCHWERWIEGEND:
> [D:\apache-tomcat-7.0.37\work\Catalina\localhost\rapdemo\eclipse\plugins] could
> not be completely deleted. The presence of the remaining files may cause
> problems
> 06.03.2013 16:49:50 org.apache.catalina.startup.ExpandWar deleteDir
> SCHWERWIEGEND:
> [D:\apache-tomcat-7.0.37\work\Catalina\localhost\rapdemo\eclipse] could
> not be completely deleted. The presence of the remaining files may cause
> problems
> 06.03.2013 16:49:50 org.apache.catalina.startup.ExpandWar deleteDir
> SCHWERWIEGEND: [D:\apache-tomcat-7.0.37\work\Catalina\localhost\rapdemo]
> could not be completely deleted. The presence of the remaining files may
> cause problems
> 06.03.2013 16:49:50 org.apache.catalina.startup.ExpandWar delete
> SCHWERWIEGEND: [D:\apache-tomcat-7.0.37\work\Catalina\localhost\rapdemo]
> could not be completely deleted. The presence of the remaining files may
> cause problems
>
>
Re: No un-/redeploy possible in Tomcat and WebSphere [message #1018636 is a reply to message #1016713] Thu, 14 March 2013 08:36 Go to previous messageGo to next message
Ralf Sternberg is currently offline Ralf Sternberg
Messages: 1291
Registered: July 2009
Senior Member

Hi Markus,

We've noticed something similar lately related to clustering. Could you
open a new bug and add the stacktrace?

Thank you,
Ralf

--
Ralf Sternberg

Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Re: No un-/redeploy possible in Tomcat and WebSphere [message #1019237 is a reply to message #1018636] Fri, 15 March 2013 09:41 Go to previous message
Eclipse User
Done :-) https://bugs.eclipse.org/bugs/show_bug.cgi?id=403426

Am 14.03.2013 09:36, schrieb Ralf Sternberg:
> Hi Markus,
>
> We've noticed something similar lately related to clustering. Could you
> open a new bug and add the stacktrace?
>
> Thank you,
> Ralf
>
Previous Topic:Custom widgets example source code
Next Topic:RAP Tree - moveable columns not working
Goto Forum:
  


Current Time: Tue Oct 21 10:41:49 GMT 2014

Powered by FUDForum. Page generated in 0.02023 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software