Problems with ehCache on Beta2

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Problems with ehCache on Beta2

mgamsjager
CONTENTS DELETED
The author has deleted this message.
Reply | Threaded
Open this post in threaded view
|

Re: Problems with ehCache on Beta2

Erik Bruchez
Administrator
You bet that's the case! JAR hell.

We don't know SAP Netweaver, but it might have an option to tell it
that the Orbeon webapp must use the ehcache from the webapp first.

-Erik

On Fri, Jan 25, 2013 at 8:08 AM, mgamsjager <[hidden email]> wrote:

> Hello,
>
> Running Beta2 of the PE version I get errors regarding the cache:
>
> java.lang.IllegalStateException
> The xforms.xbl Cache is not alive.
>
> net.sf.ehcache.Cache    checkStatus     Cache.java      2438
> net.sf.ehcache.Cache    get     Cache.java      1541
> net.sf.ehcache.Cache    get     Cache.java      1522
>
>
> On the same application server (SAP Netweaver) runs a application which uses
> ehCache as well. As unlikely as it sounds but could there be a conflict
> between these 2?
>
>
> regards,
> Matthias
>
>
>
>
> --
> View this message in context: http://orbeon-forms-ops-users.24843.n4.nabble.com/Problems-with-ehCache-on-Beta2-tp4656209.html
> Sent from the Orbeon Forms (ops-users) mailing list archive at Nabble.com.
>
>
> --
> You receive this message as a subscriber of the [hidden email] mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws
>


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Problems with ehCache on Beta2

mgamsjager
CONTENTS DELETED
The author has deleted this message.
Reply | Threaded
Open this post in threaded view
|

Re: Re: Problems with ehCache on Beta2

Erik Bruchez
Administrator
> I couldn't find on github how the ehCache is created in Orbeon.

https://github.com/orbeon/orbeon-forms/blob/master/src/scala/org/orbeon/oxf/xforms/Caches.scala

> Funny thing is that as long as Orbeon is started before the other
> application everything is just fine. Other way around produces this error.
>
> Maybe it's the difference in version. Orbeon uses 2.4.4 and I use 2.6.3.

Can you just remove the Orbeon version and see what happens?

I upgraded to 2.6.3 on master:

https://github.com/orbeon/orbeon-forms/commit/54a810c419facfe7d522fe9eefc28fa6a0c3e4e7

-Erik

>
>
>
> --
> View this message in context: http://orbeon-forms-ops-users.24843.n4.nabble.com/Problems-with-ehCache-on-Beta2-tp4656209p4656211.html
> Sent from the Orbeon Forms (ops-users) mailing list archive at Nabble.com.
>
>
> --
> You receive this message as a subscriber of the [hidden email] mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws
>


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws