playframework-1.x Questions

7

Solved

I'd like to run Play Framework over HTTPS only in the development mode and I've done so using the following bit of configuration: https.port=9443 trustmanager.algorithm=JKS keystore.file=conf/cert...
Often asked 9/9, 2015 at 13:12

6

Solved

I've started using Redis in my project with the help of the Jedis library. All is working fine but now I have a problem that my functional tests requires Redis to be up which I want to avoid in my ...

3

Solved

I have a create action in a Play! framework controller that should return the HTTP status code Created and redirect the client to the location of the created object. public class SomeController ex...

2

Solved

Is there a way in Play to annotate routes to inform that a certain section/group routes is only available in dev or prod mode
Prune asked 14/7, 2011 at 21:9

3

Solved

I'm a noob and I'm looking for some help on how to run my play framework on Linode 512. I'm using a debian image.My question is if I can just install java and then play! framework and just run it l...
Enfold asked 20/6, 2012 at 15:12

5

We have a Play 1.2.4 application and we got Jenkins (on Ubuntu) for the application. We're having problems with Cobertura. After running the tests (succesfully), every now and then, we get the fo...
Amygdala asked 1/10, 2012 at 10:36

2

Solved

Play framework 1.2.x starts with the following error: Oops: UnexpectedException An unexpected error occured caused by exception UnexpectedException: While applying class play.classloading.enhancer...
Jacksmelt asked 8/12, 2013 at 13:7

14

Solved

Waaah, the Play! framework has so many static methods. Where I go to school, we were told never ever to use any statics, yet Play! uses it like there's no tomorrow. Is that somehow okay? If so, why...
Unction asked 4/3, 2011 at 11:6

1

I have a composite key of User Id and User Role in my DB. For mapping the DB with the model, below is the code: @Id @Column(name="ID") public int userId; @Id @Column(name="USER_ROLE") public S...

3

I am using play framework 1.2.5, for past two days I had a very big issue on load testing that is for every API call to the sever it takes around 1200-1400ms as average, but today I just changed th...
Z asked 22/8, 2013 at 14:40

5

Solved

Is there a possibility to use a local application.conf with Play 1.2.5? Our problem is that different developers have somewhat different setups that we don't want to save to version control. Alter...
Athanasius asked 30/1, 2013 at 10:58

2

Solved

I'm sending a HttpURLConnection with setInstanceFollowRedirects(true) and POST, get a redirect response that looks like this: HTTP/1.1 302 Found Server: nginx Date: Wed, 09 Jan 2013 20:47:56 GMT C...

5

Solved

I am working with Play! Framework 1.2.4 and have no problems creating static 404 pages. However, I would like to make the 404 page a little more dynamic. Is there a "controller" for a 404 page? If...
Hamlani asked 3/9, 2012 at 5:56

2

Have already asked similar question, but deleted it, since thought I fixed it, but I was wrong. I'm using Play framework in production for one of my web projects. From time to time Play does not r...
Blumenthal asked 11/11, 2012 at 12:3

2

Solved

My web framework (Play 1.2.5) creates an EJB3Configuration local to a method which it uses to create an EntityManagerFactory (source). I am working on a script and would like to run the generateSch...
Thema asked 7/9, 2012 at 14:56

5

Solved

As the current stat of play 2.0 Is it better to wait for It to be more mature and use play 1.x or go for play 2.0 as I notice that play 2.0 nearly have no plugins that exist for 1.x
Detoxicate asked 19/4, 2012 at 12:28

1

Solved

I have the following flow: A user is presented with a form. He fills in the form fields, and submits to the controller, which persists this to the DB On another page, the Controller gets this rec...
Seng asked 7/6, 2012 at 8:53

5

Solved

Im trying to use Postgresql with Play for their Yabe tutorial and get this error: Cannot connected to the database, Driver not found (org.postgresql.Driver) Here is my connection string: # If yo...
Tijuana asked 11/10, 2011 at 20:13

2

Solved

I use this pattern SimpleDateFormat format = new SimpleDateFormat("YYYY-MM-dd HH:mm:ss"); in windows and it works, but when try on Ubuntu 10.04 it show an exception play.exceptions.JavaExecutionExc...

3

Solved

How can i have multiple source folders in a play project? I am using play 1.2.4 and the eclipse plugin. What I want to do is use a source folder from another project (e.g. a normal java project) in...

1

Solved

I got an class that extends Mailer and would like to have automatic tests for that. With mock mailer I can get the mail to console but how to test mail logic from the automated test? (Is there so...
Azaleah asked 8/5, 2012 at 12:44

1

Solved

I have an Enum which has certain fields ,which I need to access in my play1.2.4 template public Enum WORKER{ FARMER,SMITH,GARDENER } Suppose I need to check if a 'person' variable in the templa...
Beckybecloud asked 1/3, 2012 at 16:5

5

Solved

My project needs to use some third-party jars. I assume I drop these in the lib/ directory in my project, but where do I configure Play to add them to the classpath? I'm developing in Eclipse, and...
Own asked 26/1, 2011 at 14:14

1

Solved

I have a jar file copied in the lib directory I'd like to run "play deps --sync" without this jar being deleted.. I've already looked at depency file documentation but couldn't figure out how to ...
Manutius asked 25/8, 2011 at 2:21

2

Solved

I'm still in a question why with playframework all fields in the classes should be public? class A { public int a; public int b; } Some short explanation would be nice. As I know if they ar...
Versify asked 15/7, 2011 at 18:57

© 2022 - 2024 — McMap. All rights reserved.