Hello Achim,

Added:

http://team.ops4j.org/browse/PAXWEB-384

I can have a go at fixing it next week (as it is somewhat a showstopper for me)
when I get back home.

thanks again,
Gareth


On Sun, Jun 17, 2012 at 6:36 PM, Achim Nierbeck <[email protected]> wrote:
> Hi Gareth,
>
> could you open an issue for this, I think limiting this to just 2 *.xml
> files is probably wrong.
> This is probably more a thinking of the old times where the web.xml was
> supposed to be a single file.
> Opening this to include a jetty-web.xml is probably the cause for this.
>
> Regards, Achim
>
>
> Am 16.06.2012 05:08, schrieb Gareth Collins:
>>
>> Hello,
>>
>> As I see that some new software has been updated recently (such as Pax
>> Web 2.0.0 - thankyou!) I decided to go back
>> and try to update my OSGi dependencies and streamline my environment
>> (which is why I was interested in removing
>> the start ordering dependency in pax confman).
>>
>> Anyway one of the first things I am trying to do in my updated
>> environment is to get the updated 5.6.0 activemq web console
>> to play nicely with the updated Pax Web. I am getting an error from
>> Pax Web and I am not sure what it means (this is with equinox 3.6.2
>> with the bndtools launcher). Is this suggesting there is something
>> wrong with the activemq web console war or is this suggesting
>> something else? There are seven XML files in the activemq WEB-INF
>> directory:
>>
>> 20:50:23,521 | DEBUG | Gogo shell |
>> ..swissbox.extender.BundleWatcher[216] | []:[] | Found resources
>> [bundleentry://11.fwk2060982148/WEB-INF/web.xml,
>> bundleentry://11.fwk2060982148/WEB-INF/webconsole-default.xml,
>> bundleentry://11.fwk2060982148/WEB-INF/webconsole-embedded.xml,
>> bundleentry://11.fwk2060982148/WEB-INF/webconsole-invm.xml,
>> bundleentry://11.fwk2060982148/WEB-INF/webconsole-jndi.xml,
>> bundleentry://11.fwk2060982148/WEB-INF/webconsole-properties.xml,
>> bundleentry://11.fwk2060982148/WEB-INF/webconsole-query.xml]
>> 20:50:23,527 | INFO  | Executor: 1 |
>> ..war.internal.WebXmlObserver[117] | []:[] | Using [activemqweb] as
>> web application context name
>> 20:50:23,527 | DEBUG | Framework Event Dispatcher |
>> ..apache.activemq.activemq-web-console[?] | []:[] | BundleEvent
>> STARTED
>> 20:50:23,527 | ERROR | Executor: 1 |
>> ..war.internal.WebXmlObserver[124] | []:[] | Number of xml's was not
>> lesser than 3. Was: 7
>> org.ops4j.lang.PreConditionException: Number of xml's was not lesser
>> than 3. Was: 7
>>        at
>> org.ops4j.lang.PreConditionException.validateLesserThan(PreConditionException.java:155)[33:org.ops4j.pax.web.pax-web-extender-war:2.0.0]
>>        at
>> org.ops4j.pax.web.extender.war.internal.WebXmlObserver.addingEntries(WebXmlObserver.java:121)[33:org.ops4j.pax.web.pax-web-extender-war:2.0.0]
>>        at
>> org.ops4j.pax.swissbox.extender.BundleWatcher$3.run(BundleWatcher.java:224)[33:org.ops4j.pax.web.pax-web-extender-war:2.0.0]
>>        at
>> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)[:1.6.0_31]
>>        at
>> java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)[:1.6.0_31]
>>        at
>> java.util.concurrent.FutureTask.run(FutureTask.java:138)[:1.6.0_31]
>>        at
>> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98)[:1.6.0_31]
>>        at
>> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:206)[:1.6.0_31]
>>        at
>> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)[:1.6.0_31]
>>        at
>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)[:1.6.0_31]
>>        at java.lang.Thread.run(Thread.java:680)[:1.6.0_31]
>> 20:50:23,528 | DEBUG | Executor: 1 |
>> ..war.internal.WebEventDispatcher[130] | []:[] | Sending web event
>> WebEvent [replay=false, type=5,
>> bundle=org.apache.activemq.activemq-web-console_5.6.0 [11],
>> extenderBundle=org.ops4j.pax.web.pax-web-extender-war_2.0.0 [33],
>> cause=org.ops4j.lang.PreConditionException: Number of xml's was not
>> lesser than 3. Was: 7, timestamp=1339807823528,
>> contextPath=/activemqweb, collisionIds=null, httpService=null,
>> httpContext=null] for bundle org.apache.activemq.activemq-web-console
>> 20:50:23,531 | DEBUG | WebListenerExecutor: 2 |
>> ..pax.web.pax-web-extender-war[?] | []:[] |
>> org/osgi/service/web/FAILED
>>
>> If anyone could indicate what this error may mean (is there really a
>> max xml file limit in this directory?), it would be much appreciated.
>>
>> thanks in advance,
>> Gareth
>>
>> _______________________________________________
>> general mailing list
>> [email protected]
>> http://lists.ops4j.org/mailman/listinfo/general
>
>
>
> --
> - Apache Karaf <http://karaf.apache.org/> Committer & PMC
> - OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/>  Committer &
> Project Lead
> - OPS4J Pax for Vaadin <http://team.ops4j.org/wiki/display/PAXVAADIN/Home>
> Committer & Project Lead
> - Blog <http://notizblog.nierbeck.de/>
>
>
> _______________________________________________
> general mailing list
> [email protected]
> http://lists.ops4j.org/mailman/listinfo/general

_______________________________________________
general mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/general

Reply via email to