Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 333295

Summary: liferay bundle
Product: [RT] Virgo Reporter: Cristian <publicocean0>
Component: unknownAssignee: Project Inbox <virgo-inbox>
Status: CLOSED INVALID QA Contact:
Severity: normal    
Priority: P3 CC: glyn.normington
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Attachments:
Description Flags
log file none

Description Cristian CLA 2010-12-29 05:45:31 EST
Build Identifier: last

[2010-12-29 11:36:22.825] start-signalling-4           System.err                                                        GRAVE: Context [/web] startup failed due to previous errors 
[2010-12-29 11:36:22.828] start-signalling-4           System.err                                                        29-dic-2010 11.36.22 org.apache.catalina.core.ApplicationContext log 
[2010-12-29 11:36:22.828] start-signalling-4           System.err                                                        INFO: Closing Spring root WebApplicationContext 
[2010-12-29 11:36:22.831] start-signalling-4           System.out                                                        11:36:22,831 INFO  [HotDeployUtil:69] Initializing hot deploy manager 9752088 
[2010-12-29 11:36:22.832] start-signalling-4           System.out                                                        11:36:22,831 INFO  [HotDeployUtil:69] Initializing hot deploy manager 23500093 
[2010-12-29 11:36:22.850] start-signalling-4           org.eclipse.gemini.web.internal.StandardWebApplication            Failed to start web application at bundleContext path '/web' org.eclipse.gemini.web.core.spi.ServletContainerException: Web application at '/web' failed to start. Check the logs for more details.
	at org.eclipse.gemini.web.tomcat.internal.TomcatServletContainer.startWebApplication(TomcatServletContainer.java:123)
	at org.eclipse.gemini.web.internal.StandardWebApplication.start(StandardWebApplication.java:90)
	at org.eclipse.virgo.web.core.internal.WebBundleLifecycleListener.onStarted(WebBundleLifecycleListener.java:120)
	at org.eclipse.virgo.kernel.install.artifact.internal.ArtifactStateMonitor.onStarted(ArtifactStateMonitor.java:205)
	at org.eclipse.virgo.kernel.install.artifact.internal.AbstractInstallArtifact.asyncStartSucceeded(AbstractInstallArtifact.java:273)
	at org.eclipse.virgo.kernel.install.artifact.internal.AbstractInstallArtifact.access$0(AbstractInstallArtifact.java:270)
	at org.eclipse.virgo.kernel.install.artifact.internal.AbstractInstallArtifact$StateMonitorSignal.signalSuccessfulCompletion(AbstractInstallArtifact.java:223)
	at org.eclipse.virgo.kernel.core.internal.BundleStartTracker$1.run(BundleStartTracker.java:140)
	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)

[2010-12-29 11:36:22.851] Thread-3                     System.err                                                        Exception in thread "Thread-3" java.lang.IllegalStateException: Timer already cancelled. 
[2010-12-29 11:36:22.851] Thread-3                     System.err                                                        	at java.util.Timer.sched(Timer.java:354) 
[2010-12-29 11:36:22.852] Thread-3                     System.err                                                        	at java.util.Timer.schedule(Timer.java:184) 
[2010-12-29 11:36:22.852] Thread-3                     System.err                                                        	at org.apache.felix.eventadmin.impl.dispatch.DelayScheduler.scheduleTaskWithDelay(DelayScheduler.java:92) 
[2010-12-29 11:36:22.852] Thread-3                     System.err                                                        	at org.apache.felix.eventadmin.impl.dispatch.DelayScheduler.schedule(DelayScheduler.java:69) 
[2010-12-29 11:36:22.852] Thread-3                     System.err                                                        	at org.apache.felix.eventadmin.impl.tasks.DispatchTask.run(DispatchTask.java:155) 
[2010-12-29 11:36:22.852] Thread-3                     System.err                                                        	at org.apache.felix.eventadmin.impl.dispatch.CacheThreadPool$PooledThread.run(CacheThreadPool.java:265) 


Reproducible: Always

Steps to Reproduce:
1.rename liferay.war in web.war
2.put liferay kernel dependencies in lib into war
3.put war in pickup folder
Comment 1 Cristian CLA 2010-12-29 05:47:27 EST
Created attachment 185872 [details]
log file
Comment 2 Glyn Normington CLA 2010-12-29 06:20:37 EST
I'm afraid this bug report isn't very clear, so please could you improve it.

Please state the problem you are reporting  as "liferay bundle" is not a problem.

Since you use the term "bundle", are you trying to convert liferay.war into a Web Application Bundle or simply trying to deploy it as a standard war file?

I cannot follow the steps to reproduce.

Step 1. Where do I get liferay.war from? How do I "rename liferay.war in web.war"? Perhaps you meant rename liferay.war to web.war.

Step 2. What are the "liferay kernel dependencies" in step 2? Please list them. How do you "put them into war"? Perhaps you meant to say "add them to WEB-INF/lib in web.war".

Step 3. Presumably this means copying web.war into pickup. If it's liferay.war, then steps 1 & 2 are not needed.
Comment 3 Glyn Normington CLA 2011-01-04 07:47:56 EST
We've noticed that portlet.jar (in both repository/ext repository/usr) is an invalid bundle because its manifest contains a bad manifest header "JSR 286" which contains a space. Perhaps this is one reason the WAR is failing.
Comment 4 Glyn Normington CLA 2011-01-10 05:31:14 EST
Please could you help us reproduce this otherwise I'm afraid we'll have to close it as cannot reproduce.
Comment 5 Glyn Normington CLA 2011-01-24 05:25:11 EST
Closing as insufficient information available to reproduce.