War Plugin ==>> Websphere Application Server 8.5 Liberty Profile ==> Application is not running

182 views
Skip to first unread message

Andreas Baumann

unread,
May 12, 2015, 11:34:31 AM5/12/15
to play-fr...@googlegroups.com

Hello,

I'm using play2-war-plugin version "1.3-beta3".

Generating a war file and deploying on Tomcat 7 works as expected.

After successful deployment on tomcat I tried to deploy the war file on Websphere Application Server 8.5 Liberty Profile.

The deployment works and the application is started.

After that I use the browser to access the Application.

I got no response from the server and in the log file I found:

[[31merror[0m] c.i.w.w.webapp - SRVE0283E: Es wurde eine Ausnahme beim Initialisieren des Kontextes abgefangen: java.lang.IllegalArgumentException: Cannot check isDirectory for a URL with protocol='wsjar'

[[31merror[0m] play - Play server as not been initialized. Due to a previous error ?


What is wrong  ?

What I have to do to fix this problem ?



Best regards


Andreas

Andreas Baumann

unread,
May 12, 2015, 11:41:30 AM5/12/15
to play-fr...@googlegroups.com
I'm using Play 2.3.9  !!!

Damien Lecan

unread,
May 13, 2015, 6:35:17 AM5/13/15
to play-fr...@googlegroups.com
Hi,

Play2 uses a framework named "reflections" to handle jar loading.

Play 2.3 embeds reflections v0.9.8, which has several issues with
exotic protocoles.

Play 2.4 will embed reflections v0.9.9, with probably a fix for your issue.

But :
- Play 2.4 is not released
- Play2War is not compatible with Play 2.4 RCs yet
- You cannot upgrade manually reflections from 0.9.8 to 0.9.9 because
reflection brakes its public api between the 2 versions, so Play 2.3.x
cannot work with reflections 0.9.9 without modifications
- Play developers don't want to backport reflections upgrade from Play
2.4 to 2.3 because they don't need it (Websphere support is useless
for them).

So, I advice you to forget Tomcat ou WAS deployment and to use Play's
native deployment.

Damien
> --
> You received this message because you are subscribed to the Google Groups
> "play-framework" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to play-framewor...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

Grzegorz Slowikowski

unread,
May 13, 2015, 7:05:17 AM5/13/15
to play-framework
Hi

What "reflections" framework are you talking about?

Regards
Grzegorz

Damien Lecan

unread,
May 13, 2015, 7:25:25 AM5/13/15
to play-fr...@googlegroups.com

Grzegorz Slowikowski

unread,
May 13, 2015, 7:57:54 AM5/13/15
to play-framework
This is a dependency of `play-java` module only, not used for Scala projects. I don't know this framework, must learn, but since it's used only for Java projects, what about Scala projects? Can they be deployed to WAS without problems?

Regards
Grzegorz

Damien Lecan

unread,
May 13, 2015, 12:04:41 PM5/13/15
to play-fr...@googlegroups.com
Maybe, you should try :)

Damien

Andreas Baumann

unread,
May 18, 2015, 3:40:35 AM5/18/15
to play-fr...@googlegroups.com

Hi Damien,

I don't need the deployment for my own internal projects but the big global layer have other middleware strategies.
Our most important customer use the Websphere Application Server 8.5 Liberty Profile as there default deployment Target.
I can not ignore that !!!
It would be nice to establish the playframework as a preferred backend framework for new HTML5 based web  application.
Without Websphere support this will be not possible  !!!

Best regards


Andreas

Andreas Baumann

unread,
May 19, 2015, 6:22:24 AM5/19/15
to play-fr...@googlegroups.com
Hi,

is it planned to support Websphere Application Server 8.5 Liberty Profile. A response to this question is very important for me.
I'm working with the playframework for years. I'm trying to introduce the playframework as a standard plattform a ver big enterprise (for modern HTML5 based applications).
The support of the Websphere Application Server 8.5 Liberty Profile would be very important to achieve that.

It would be nice to get some feedback.

Best regards

Andreas

Yann Simon

unread,
May 19, 2015, 8:08:27 AM5/19/15
to play-fr...@googlegroups.com
Hi Andreas,

we will release a version of the play-war-plugin compatible with play 2.4.
We cannot give a date, we are all benevolent on this project.

And for WAS 8.5 Liberty Profile, we cannot guarantee that it will work directly.

Maybe we will need your help if you have some problems with WAS 8.5.

You can also build the plugin yourself and test it on your machine:

Cheers,
Yann 
Reply all
Reply to author
Forward
0 new messages