I'm a newbie on websphere, i'm trying to validate my portlet application on ths server.
I deployed a .war on websphere CE 3.0, windows 7 64 bits, through admin console. Even if "start application after installed" is unchecked, when i click on install, i don't get any error message or log and the deployment never stops. Processor keeps 100% hardworking, i killed server 1 hour later nothing more happened.
My portlet works fineon other App Serv such tomcat, glassfish, ketty or JBoss.
I then tried to install pluto-testsuite-2.0.2.war portlet and installed it successfully in a few seconds. I modified pluto-testsuite-2.0.2.war by just adding birt Runtime 3.7 jar in WEB-INF/lib (about 30Mbytes, i use this runtime in my application). this new pluto-testsuite-2.0.2.war couldn't be installed, with exactly the same issue as my application.
So my questions: is it a known problem ? Could it be related with .war size? Since i dont get any error message, what could i try to have a chance to resolve this issue?
Thanks in advance
This topic has been locked.
7 replies Latest Post - 2012-04-19T08:45:38Z by Forrest_Xia
Pinned topic Portlet endless deployment
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
Updated on 2012-04-19T08:45:38Z at 2012-04-19T08:45:38Z by Forrest_Xia
Jeff_chi 270001HVWJ62 Posts
Re: Portlet endless deployment2011-11-17T23:16:35Z in response to Jeff_chiHi Jeff,
After selecting my portlet.war (43Mo), when i click on install button in admin console deployer, i get those log lines:
2011-11-18 00:04:58,145 INFO SupportedModesServiceImpl Portlet mode 'edit' not found for portletId: 'console-base.WARModules!-717254442|0'
2011-11-18 00:04:58,145 INFO SupportedModesServiceImpl Portlet mode 'help' not found for portletId: 'console-base.WARModules!-717254442|0'
2011-11-18 00:05:11,411 INFO SupportedModesServiceImpl Portlet mode 'edit' not found for portletId: 'plugin.Deployment!-2135677113|0'
2011-11-18 00:05:17,073 INFO Parameters Parameters: Invalid chunk '' ignored.
After that, this deployment is just endless with a very high cpu activity, and no more log messages.
I'm a little bit confused because i have absolutely no clue about what i could do to fix it. This problem can be easyly reproduced whith for instance Apache pluto testsuite portlet: we just have to add in its war, under WEB-INF/lib, the Eclipse BIRT runtime (30Mo) and deployment becomes impossible. Any idea?
Kevan 0600009FFB121 PostsACCEPTED ANSWER
Re: Portlet endless deployment2011-11-18T15:14:10Z in response to SystemAdminSounds like there's a problem uploading the war file (which I assume Jeff is investigating.).
Jeff suggested you use the 'deploy' command line, rather than the admin console deploy function. This should work for you.
Assuming a Linux system:
'bin/deploy.sh deploy <your-war-filename> <and-optionally-your-deployment-plan-filename>'
kevintap 100000QN031 PostACCEPTED ANSWER
Re: Portlet endless deployment2012-04-02T04:54:19Z in response to SystemAdminDid anyone ever find a resolution to this issue? I'm having similar problems with WASCE 22.214.171.124 when trying to deploy a large (40MB) war file. The deploy actually does complete for me, but it takes a long time - on the order of 10-15 minutes.
When the deploy was running, I took a few thread dumps of the server JVM and it looks like the deployer is doing something related to web services. This seems a bit odd as I'm not using any web services in my app.
The active thread in the thread dump seems to be doing this:
4XESTACKTRACE at java/util/jar/JarFile.initializeVerifier(JarFile.java:384(Compiled Code))
4XESTACKTRACE at java/util/jar/JarFile.getInputStream(JarFile.java:449(Compiled Code))
4XESTACKTRACE at sun/net/www/protocol/jar/JarURLConnection.getInputStream(JarURLConnection.java:159(Compiled Code))
4XESTACKTRACE at java/net/URL.openStream(URL.java(Compiled Code))
4XESTACKTRACE at org/apache/xbean/finder/ClassFinder.readClassDef(ClassFinder.java:723(Compiled Code))
4XESTACKTRACE at org/apache/xbean/finder/ClassFinder.<init>(ClassFinder.java:141(Compiled Code))
4XESTACKTRACE at org/apache/geronimo/jaxws/builder/WARWebServiceFinder.discoverWebServices(WARWebServiceFinder.java:160)
4XESTACKTRACE at org/apache/geronimo/jaxws/builder/AdvancedWARWebServiceFinder.discoverPOJOWebServices(AdvancedWARWebServiceFinder.java:73)
4XESTACKTRACE at org/apache/geronimo/jaxws/builder/AdvancedWARWebServiceFinder.discoverWebServices(AdvancedWARWebServiceFinder.java:45)
4XESTACKTRACE at org/apache/geronimo/jaxws/builder/WARWebServiceFinder.discoverWebServices(WARWebServiceFinder.java:71)
4XESTACKTRACE at org/apache/geronimo/jaxws/builder/JAXWSServiceBuilder.discoverWebServices(JAXWSServiceBuilder.java:99)
4XESTACKTRACE at org/apache/geronimo/jaxws/builder/JAXWSServiceBuilder.findWebServices(JAXWSServiceBuilder.java:82)
4XESTACKTRACE at org/apache/geronimo/web25/deployment/AbstractWebModuleBuilder.basicInitContext(AbstractWebModuleBuilder.java:364)
4XESTACKTRACE at org/apache/geronimo/tomcat/deployment/TomcatModuleBuilder.initContext(TomcatModuleBuilder.java:330)
4XESTACKTRACE at org/apache/geronimo/j2ee/deployment/SwitchingModuleBuilder.initContext(SwitchingModuleBuilder.java:159)
4XESTACKTRACE at org/apache/geronimo/j2ee/deployment/EARConfigBuilder.buildConfiguration(EARConfigBuilder.java:593)
4XESTACKTRACE at org/apache/geronimo/deployment/Deployer.deploy(Deployer.java:255)
4XESTACKTRACE at org/apache/geronimo/deployment/Deployer.deploy(Deployer.java:134)
Forrest_Xia 270000P6BT82 PostsACCEPTED ANSWER
Re: Portlet endless deployment2012-04-19T08:45:38Z in response to kevintapHi,
If the application is big and with lots of library in WEB-INF/lib folder, CE server will do service scan among those libraries by default. You can follow this document to disable unnecessary scan.
Let's us know if it works for you.
Thank you for raising your questions