Re: JPA vs DBUtils

2017-06-21 Thread hwaastad
Nice analysis, all of you. My 2 cents is as follows: 1. If caring about performance on queries, use raw. 2. Evaluate if L2 is needed 3. Code maintainability I think the most important thing to do is to evaluate the resulting sql while benchmarking your own app. JPA will not always produce the

Ignite classloading and tomee ear

2017-06-16 Thread hwaastad
Hi, having some issues using ignite with tomee and ear. It's absoutely a cornercase, but I'll ask you guys anyways. Using ignite with peer classloading. cache If putting third-party-jar in ear/lib all is well. Having third-party in WEB-INF/lib classloading fails using the

Re: Thread naming...

2017-05-31 Thread hwaastad
OK, but why the \s+? /hw -- View this message in context: http://tomee-openejb.979440.n4.nabble.com/Thread-naming-tp4681788p4681790.html Sent from the TomEE Users mailing list archive at Nabble.com.

Thread naming...

2017-05-31 Thread hwaastad
Hi, this might seem as a silly question: Is there a naming standard in tomee for thread names? Usually its like: http-apr-8080-exec-9 but others have like: EjbTimerPool - 276 (having spaces) /hw -- View this message in context:

Re: 7.0.3 release

2017-02-23 Thread hwaastad
Meecrowave Is that a new kid on the block? ;-) Seriously, seems cool, any blog articles yet? /hw -- View this message in context: http://tomee-openejb.979440.n4.nabble.com/7-0-3-release-tp4681145p4681150.html Sent from the TomEE Users mailing list archive at Nabble.com.

johnzon case insensitive

2017-01-05 Thread hwaastad
Hi, is it possible to configure ConfigurableJohnzonProvider to be case insensitive? (similar to jackson; ACCEPT_CASE_INSENSITIVE_PROPERTIES) /hw -- View this message in context: http://tomee-openejb.979440.n4.nabble.com/johnzon-case-insensitive-tp4680856.html Sent from the TomEE Users mailing

Re: mdb and batch

2016-12-19 Thread hwaastad
I was refering to: http://activemq.apache.org/activation-spec-properties.html /hw -- View this message in context: http://tomee-openejb.979440.n4.nabble.com/mdb-and-batch-tp4680775p4680785.html Sent from the TomEE Users mailing list archive at Nabble.com.

Re: mdb and batch

2016-12-19 Thread hwaastad
Hi, running 7.0.2 and an external 1.14.1 amq, It's an mqtt topic -> queue setup and am pushing qos=0 packages for load testing. messages in queue, are you refering to maxMesagesPerBatch? /hw -- View this message in context:

Re: mdb and batch

2016-12-18 Thread hwaastad
Hi, I'm actually looking out for some info on how to configure batching (best practice). If I set jms.prefetchPolicy.all on connection< mdb instancelimit it seems to be working. /hw -- View this message in context:

mdb and batch

2016-12-18 Thread hwaastad
Hi, I was wondering if someone has an example how to use an mdb with batching (enableBatch)? currently I only get: IllegalStateException: The last message delivery must be completed with an afterDeliver before another message can be delivered So there must be something fundamentally wrong :-)

Re: JCS beta-2 bug

2016-12-15 Thread hwaastad
HI, did testing with higher values but increasing time does not change the issue. /hw -- View this message in context: http://tomee-openejb.979440.n4.nabble.com/JCS-beta-2-bug-tp4680745p4680750.html Sent from the TomEE Users mailing list archive at Nabble.com.

JCS beta-2 bug

2016-12-15 Thread hwaastad
Hi Romain, I'll take my chance asking you since you were the one to solve earlier JCS issue :-) (and I discovered this issue using tomee :-) ) https://github.com/hwaastad/JcsTest.git (develop) when using AccessedExpiryPolicy this will fail using beta-2 while using beta-1 it's ok

Re: cxf interceptors in 2.0 api

2016-10-19 Thread hwaastad
Let me quote Ben Stiller from the movie Starsky and Hutch: " Do ItDo It" :-) Please do. I think issues having your name on it probably moves up the priority list :-) thx, hw -- View this message in context:

Re: cxf interceptors in 2.0 api

2016-10-19 Thread hwaastad
Hi, just a simple test https://github.com/hwaastad/Cxf-Debug.git /hw -- View this message in context: http://tomee-openejb.979440.n4.nabble.com/cxf-interceptors-in-2-0-api-tp4680333p4680394.html Sent from the TomEE Users mailing list archive at Nabble.com.

Re: cxf interceptors in 2.0 api

2016-10-18 Thread hwaastad
Well, these are: okt 18, 2016 9:08:10 AM org.apache.cxf.interceptor.LoggingOutInterceptor INFO: Outbound Message --- not too much info I guess. Made my own loggingfeature by extending abstractfeature and logging interceptor is only added once. I observe that the payload

Re: cxf interceptors in 2.0 api

2016-10-17 Thread hwaastad
BTW, not sure if this is a cxf or tomee issue, but I've noticed something strange. I'm invoking an async client and if I register the loggingfeature it prints out two response, one with payload, the other without. Like this: ID: 1 Address: https://myapi/service Http-Method: POST Content-Type:

Re: cxf interceptors in 2.0 api

2016-10-17 Thread hwaastad
Hi, yep, That's what I found out aswell, but feature was what I was looking for. Thx, hw -- View this message in context: http://tomee-openejb.979440.n4.nabble.com/cxf-interceptors-in-2-0-api-tp4680333p4680335.html Sent from the TomEE Users mailing list archive at Nabble.com.

cxf interceptors in 2.0 api

2016-10-17 Thread hwaastad
Hi, does anyone know if it's possible to use cxf interceptors in jax-rs 2.0 client API in tomee 7? ex LoggingOutInterceptor. WebClient usage is obviously ok, /hw -- View this message in context: http://tomee-openejb.979440.n4.nabble.com/cxf-interceptors-in-2-0-api-tp4680333.html Sent from

Re: johnzon

2016-10-07 Thread hwaastad
Hi, Yeah, I've noticed that. So what do you think is ETA on 7.0.2? If it's not to far away I can start testing snapshot in my containers, but if it'll take som time I need to wait.(have a limited time before going in production) (TW, I'll give it a shot anyway :-)) /hw -- View this message

johnzon

2016-10-07 Thread hwaastad
Hi, was just wondering if there's a plan for bumping johnzon version in tomee 7. There's a couple of feature I'd like to have (@anyjohnzon for one) /hw -- View this message in context: http://tomee-openejb.979440.n4.nabble.com/johnzon-tp4680307.html Sent from the TomEE Users mailing list

Re: 7.0.1 app composer container properties issue

2016-09-20 Thread hwaastad
I was too quick to say it works in 1.7.4. DataSource spec has changed. Default in 1.7.4 maxactive/maxIdle = 20 while in 7.0 its maxTotal/maxActive=8 so in my test running loop of 10yeah, testing is not always the answer. spec usually is :-) I'll start testing my own transactionmanager to

Re: 7.0.1 app composer container properties issue

2016-09-20 Thread hwaastad
Well, I've started to debug tx manager now. I see no issue using 1.7.4/4.7.4 so I need to see what changed in 7.0. I'm open for suggestions regarding the tomee part :-) /hw -- View this message in context:

Re: 7.0.1 app composer container properties issue

2016-09-20 Thread hwaastad
Well, I might see if ebeans does something special. I've tried setting atuocommit false in ebean but the result is the same: 11:20:55.857 [main] DEBUG org.avaje.ebean.SQL - txn[1474363255855] select t0.id c0, t0.name c1 from t_user t0 where t0.name = ? ; --bind(aSDAWD) 11:20:55.857 [main] DEBUG

Re: 7.0.1 app composer container properties issue

2016-09-20 Thread hwaastad
Yep, I will. I seems that it has something to do with releasing datasource connections since after a while I see: EjbTransactionUtil.handleSystemException: java.sql.SQLException: Unable to acquire a new connection from the pool javax.persistence.PersistenceException: java.sql.SQLException: Unable

Re: 7.0.1 app composer container properties issue

2016-09-19 Thread hwaastad
Hi, aligne both (needed to change inmemory db to separate since paralell runs) Strange, but with my current config both fails with LogSql=false. LogSQL=true it OK... If this does'nt make sense I can always check the thread stack. /hw -- View this message in context:

7.0.1 app composer container properties issue

2016-09-19 Thread hwaastad
thinking it must be an ebean issue, but I do think it's an tomee issue. Any comments? repo: https://github.com/hwaastad/TomeeJaxrsValidation.git and branch is develop. -- View this message in context: http://tomee-openejb.979440.n4.nabble.com/7-0-1-app-composer-container-properties-issue-tp4680158

Re: 7.0.1 and validation

2016-09-19 Thread hwaastad
Sorry guys, Lost in translation heremeaning I totally screwed up params in method so everything IS ok. I think I was a little bit tired after solving another issue (which comes in my next post..stay tuned :-)) /hw -- View this message in context:

7.0.1 and validation

2016-09-19 Thread hwaastad
Hi, quick check with you guys regarding jax-rs validation. if I do a @valid in a simple model validation is ok However, if I extend this model, validation is not working on submodel. https://github.com/hwaastad/TomeeJaxrsValidation.git in 1.7.x this is working with "ejb strategy&quo

Re: Applicaitoncomposer and dbunit-rules

2016-08-22 Thread hwaastad
Great work guys!! Maybe a sample would be nice in tomee examplesor perhaps blog entry? Without looking too much into code, I'd say it would be easy to implement a similar liquibase module aswell. /hw -- View this message in context:

Re: Applicaitoncomposer and dbunit-rules

2016-08-17 Thread hwaastad
Hi, I think I meant if it's possible to run a interceptor on a test methodjust like the usedataset... OK, I'll have a look at what you've done. I think I can make something out of it :-) Thx, hw -- View this message in context:

Applicaitoncomposer and dbunit-rules

2016-08-17 Thread hwaastad
Hi, after hasseling around with arquillian persistence (and almost always hitting some trouble) I found this project: dbunit-rules. Would you say it could be modified to be used with ApplicationComposer? The maintainer had two questions: 1. can applicationcomposer runner treat test class as a

Re: 7.0.0 app composer and logback

2016-06-10 Thread hwaastad
Right. org.apache.tomee openejb-core 7.0.0 test org.slf4j slf4j-jdk14 Thx, /hw -- View this message in context:

7.0.0 app composer and logback

2016-06-10 Thread hwaastad
Hi, whats needed to get logback working under app composer tests? br hw -- View this message in context: http://tomee-openejb.979440.n4.nabble.com/7-0-0-app-composer-and-logback-tp4678835.html Sent from the TomEE Users mailing list archive at Nabble.com.

Re: Recommended ORM for 7

2016-06-04 Thread hwaastad
Yes it is :-) Performance wise, ebeans is a very nice upgrade from eclipselink. (did a simple optimisticlock @retry test running 40 threads in parallell updating a counter variable in an entity. eclipselink needed 18 retries, ebeans: 4 :-)) I would also say fluid query statements (via

Re: Recommended ORM for 7

2016-06-03 Thread hwaastad
Hi, I've been using eclipselink and that's been working alright On that note, i suddenly dicovered ebean-orm. Anyone tried this one out? If so, maybe someone has had any luck using this with tomee transactionmanager (geronimo(?)) and jta? /hw -- View this message in context:

Re: @JohnzonProperty

2016-06-01 Thread hwaastad
Hi, 'both' did the trick. Then I need to override default using ConfigurableJohnzonProvider in war. It kind of feels natural having this by default. Reason why not? More on Johnzon: are there any plans for having feature like jackson managed refs and so on? Not much to see on road map :-) /hw

@JohnzonProperty

2016-06-01 Thread hwaastad
Hi, I might be missing something but: public class TokenResponse { @JohnzonProperty("token_type") private String tokenType; @JohnzonProperty("mapi") private String mapi; @JohnzonProperty("access_token") private String accessToken; @JohnzonProperty("expires_in")

tomee 7.0.0 and deltaspike

2016-06-01 Thread hwaastad
Hi, just an observation (and maybe somthing for ds), but by using org.apache.deltaspike.distribution distributions-bom ${ds.version} pom import i deps management for tomee 7.0.0: and running appcomposer

Re: tomee.xml resources and system properties

2016-05-27 Thread hwaastad
Partially answering my own question: Better overrriding based on resourceid.. /hw -- View this message in context: http://tomee-openejb.979440.n4.nabble.com/tomee-xml-resources-and-system-properties-tp4678627p4678628.html Sent from the TomEE Users mailing list archive at Nabble.com.

tomee.xml resources and system properties

2016-05-27 Thread hwaastad
Hi, I'm wondering about something. It seems I can use system props in a jdbc resource in tomee.xml, but it seems it's not working for jms resources. eks JdbcDriver = com.microsoft.sqlserver.jdbc.SQLServerDriver JdbcUrl = ${db.jdbc} UserName=

Re: applicationcomposer scan exclude

2016-04-14 Thread hwaastad
OK. any docs on this? /hw -- View this message in context: http://tomee-openejb.979440.n4.nabble.com/applicationcomposer-scan-exclude-tp4678136p4678142.html Sent from the TomEE Users mailing list archive at Nabble.com.

Re: applicationcomposer scan exclude

2016-04-14 Thread hwaastad
@Romain, yeah, i noticed your blog post regarding this. as far as I can see I need @application and runwith(SingleApplicationComposerRunner.class) to get this working. However @application cannot be used more than once (annotated test class) or else you'll get an " IllegalArgument Ambiguous

Re: applicationcomposer scan exclude

2016-04-13 Thread hwaastad
@Romain, @cdiextension() was what I was looking for. Thanks alot! Do you mean by using appcomposerrule and @classrule? (any hints appreciated :-) ) /hw -- View this message in context: http://tomee-openejb.979440.n4.nabble.com/applicationcomposer-scan-exclude-tp4678136p4678138.html Sent

Re: 7.0.0-M3 synchronization

2016-03-09 Thread hwaastad
ah, that was silly. Sorry, br hw -- View this message in context: http://tomee-openejb.979440.n4.nabble.com/7-0-0-M3-synchronization-tp4677806p4677810.html Sent from the TomEE Users mailing list archive at Nabble.com.

7.0.0-M3 synchronization

2016-03-09 Thread hwaastad
Hi, just noticed synch reload on 7.0.0-M3 in maven plugin fails: INFO: RemoteInitialContextCreated{providerUri=http://localhost:8080/tomee/ejb} WARNING - "null OEJP/4.6" FAIL "Security error - [Ljava.net.URI; is not whitelisted as deserialisable, prevented before loading it." - Debug for

Re: rest exceptionmapper in ear

2016-02-12 Thread hwaastad
Always my pleasure :-) java.lang.ClassNotFoundException: whatever.provider.SmartGuestExceptionMapper at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1722) ~[catalina.jar:7.0.63] at

rest exceptionmapper in ear

2016-02-12 Thread hwaastad
Hi just one observation: tomee 1.7.3 I've got an ear with several wars etc. 1. adding custom exceptionmappers to one of the wars 2. default system properties 3. WEB-INF/openejb-jar.xml may or may not include mappers definition => a lot of: WARN OpenEJB.rs - can't load

Re: rest exceptionmapper in ear

2016-02-12 Thread hwaastad
Hepp, I'll give it a shot. 1. The only thing I can verify right now is that it seems that the @providers are initalized on all wars. I did remove al the other wars and the exceptions went away. 2. put my mappers in a separate lib into ear/lib: 2.1 openejb-jar has mapper references,

Re: what omnifaces version use with tomee 1.7??

2016-01-04 Thread hwaastad
Hi, I've also been using omnifaces 2.1 with tomee 1.7.2/1.7.3 without issues, but I might not bee using all omnifaces features br hw -- View this message in context: http://tomee-openejb.979440.n4.nabble.com/what-omnifaces-version-use-with-tomee-1-7-tp4677331p4677346.html Sent from the

Re: entity jar and applicationcomposer

2015-12-22 Thread hwaastad
OK, I did a little bit more testing but the only lib I get OK is "deltaspike" Maybe some maven tricks must be done. I need to build my project first including --also-make projects and then @Jars with my own lib will be OK. br hw -- View this message in context:

Re: entity jar and applicationcomposer

2015-12-21 Thread hwaastad
Hi, smooth it sure is :-) however its not working for me yet, but I'll have to debug further. Not sure if I have an issue with eclipselink or ds data/jpa. I'll get back to you when I get more substance. Br hw -- View this message in context:

Re: entity jar and applicationcomposer

2015-12-21 Thread hwaastad
I belive I tried adding my entity lib in @jars but it was complaining about not being in classpath. It might be a regexp issue. just to be sure: If my lib is called whatever-jpa.jar, whatever-jpa should match right? (i just recalled that I had som issues once using "deltaspike-" instead of

entity jar and applicationcomposer

2015-12-21 Thread hwaastad
Hi, I have an entity jar (persistence.xml in another ejb module) and I'm running a couple of tests in the ejb module. The entity jar is quite big and I have to add a lot of classes to my @Module PersistenceUnit Is there a better way of getting the pu configured? I can always iterate over

Re: TomEE 7.0.0-M1 is here!

2015-12-12 Thread hwaastad
Hi. Kudos for making the M1 guys!! Well done. br hw -- View this message in context: http://tomee-openejb.979440.n4.nabble.com/TomEE-7-0-0-M1-is-here-tp4677208p4677209.html Sent from the TomEE Users mailing list archive at Nabble.com.

Re: Clean way to modify tomee using docker build?

2015-12-02 Thread hwaastad
Hi, there are several tomcat Dockerfiles on github which you pratically can reuse, just changing the downloadurl to tomee and adding a custom startup script. By using a startupscript which handles env vars you can easily change params as memory, threads, datasources and what have you, you can

Re: INSTALL TOMEE with docker

2015-11-29 Thread hwaastad
Hi, when you have made/built your tomee container you should have a look at jolokia docker plugin and properties-maven-plugin. Basically you would do something like this (maven, BTW): org.jolokia docker-maven-plugin 0.13.6

Re: ApplicationComposer, alternative-stereotype mocking

2015-11-02 Thread hwaastad
Hi Romain, the project I referenced in my post is race-ready. Two profiles: 1.7.2 and 7.0.0 I did'nt know about composite beans... I notices some issues with jdk 8 and maven 3.3.3 but I'll look into that for another discussion. Br hw -- View this message in context:

Re: Problem with Tomee on ejbPostCreate method - OutOfMemoryError

2015-10-29 Thread hwaastad
Hi, usually, when there is a one to very many relation its a good thing to use uni directional relations. Else, you most certainly will face OOM one day :-) br hw -- View this message in context:

applicationcomposer cdiAlternatives

2015-10-21 Thread hwaastad
Hi, does applicationcomposer support alternative stereotypes? (as in cdiAlternatives) If not, please do :-) br hw -- View this message in context: http://tomee-openejb.979440.n4.nabble.com/applicationcomposer-cdiAlternatives-tp4676547.html Sent from the TomEE Users mailing list archive at

Re: applicationcomposer cdiAlternatives

2015-10-21 Thread hwaastad
Yeah, probably a cleaner design to split cdi beans into one module. thx. br hw -- View this message in context: http://tomee-openejb.979440.n4.nabble.com/applicationcomposer-cdiAlternatives-tp4676547p4676549.html Sent from the TomEE Users mailing list archive at Nabble.com.

Re: restful web secruity for TOMEE

2015-10-13 Thread hwaastad
Hi, what you might consider is to let the form auth return a token. a custom login module would then authorize token and fill the securitycontext. I've been using thi. Kind of topology in several projects, authorizing the token in webfiler (login). If you are in position to use tomee 7, then

7.0.0 snapshot download url

2015-09-19 Thread hwaastad
Hi, is there an easy way of downloading 7.0.0-snapshot? I'm trying to build a 7.0.0 docker image but I have an issue downloading using the maven/redirect url. wget's not working and I have'nt been able to configure curl with follow redirects yet.(well, i've tried) Btw, would be nice if an M1

Re: resources.xml and JMS definitions

2015-08-23 Thread hwaastad
Hi, adding system props (catalina_opts) to build stage was the easiest way. Now I can modify jms props per micro service without adding different xml files to deployment. Thanks. br hw -- View this message in context:

resources.xml and JMS definitions

2015-08-21 Thread hwaastad
Hi, I've always been defining JMS stuff in tomee.xml and its OK. However, in my dockerification of apps, I've been trying to get the same working in resources.xml. The lookup of CF is OK så sending is working. However, there must be something with my MDB config since it still uses internal mdb

Re: JSR-107, JCache

2015-08-18 Thread hwaastad
Hi, I dont have any available on github now, but in general: 1. initalizing custom cachemanager in a weblistener 2. adding necessary changes to a cache.ccf (check out Romains blog) 3. I produce all different caches using named qualifiers. I don't knpw about other impls, but JCS allows you to

Re: Humble stacktrace help

2015-08-06 Thread hwaastad
Thanks for input, Romain. I've started to check something out. A few of my beans are using omnifaces @viewscope and I see a few cdi warnings in my logs. eks: OpenEJB.cdi - Could NOT lazily initialize session context because of null RequestContext Reverting back to ViewAccessScope these

Humble stacktrace help

2015-08-05 Thread hwaastad
Hi guys, Just want to ask the forum since I've gotten an issue in which I'm not 100% sure whats going on. It's related to the message @SessionScoped does not exist within current thread but I have some more info. I've got to separate (but equal setup - same app, same tomee 1.7.2) in the

Re: Humble stacktrace help

2015-08-05 Thread hwaastad
Hi, relevant LB config (same in lab and production): BalancerMember ajp://10.215.144.4:8009 route=tomcat1 loadfactor=1 keepalive=On ttl=60 BalancerMember ajp://10.215.144.5:8009 route=tomcat2 loadfactor=1 keepalive=On ttl=60 and: RequestHeader set X-Forwarded-Proto https ProxyPass /myApp/

Tomee-Mongodb-eclipselink

2015-07-02 Thread hwaastad
Hi guys, I got an issue i which I'm not 100% sure if it's due to eclipselink or if its a tomee issue. https://github.com/hwaastad/MongoEclipse.git running eclipselink 2.5.2 all is well, running 2.6.0 this is what I get: java.lang.ClassCastException

Re: Tomee-Mongodb-eclipselink

2015-07-02 Thread hwaastad
Well, I tried to write as explicitly as I could in my first post :-) https://github.com/hwaastad/MongoEclipse.git br hw -- View this message in context: http://tomee-openejb.979440.n4.nabble.com/Tomee-Mongodb-eclipselink-tp4675430p4675434.html Sent from the TomEE Users mailing list archive

Re: Tomee-Mongodb-eclipselink

2015-07-02 Thread hwaastad
Hi, its tomee 1.7.2 plus using mongo-java-driver. I've also added: openejb.force-unit-type=false javax.persistence.provider = org.eclipse.persistence.jpa.PersistenceProvider stack: EL Severe]: 2015-07-02

Re: Tomee-Mongodb-eclipselink

2015-07-02 Thread hwaastad
Thanks for having a look, Romain. Did a quick check on 2.6.1-RC1 and it seems they have made a fix. Though, In this version I get a warning: [EL Warning]: 2015-07-03 07:30:31.397--Thread(Thread[http-apr-8080-exec-2,5,main])--java.lang.NullPointerException at

Redeployment issue

2015-06-22 Thread hwaastad
Hi, I've got a couple of installations running on tomee 1.7.0. Sometimes redeployment fail loading a new app snapshot version. cleaning out webapps directory is not sufficient enough but I need to clean out work/Catalina/localhost/app aswell. It does'nt help doing: stop server - clean out webapps

Re: NetBeans 8 does not think TomEE has started

2015-06-19 Thread hwaastad
http://tomee-openejb.979440.n4.nabble.com/netbeans-annoyance-td4675134.html br hw -- View this message in context: http://tomee-openejb.979440.n4.nabble.com/NetBeans-8-does-not-think-TomEE-has-started-tp4675364p4675365.html Sent from the TomEE Users mailing list archive at Nabble.com.

Re: netbeans annoyance

2015-06-11 Thread hwaastad
Sorry, a little late but that's the fix. BTW, you can keep the xpoweredby hw -- View this message in context: http://tomee-openejb.979440.n4.nabble.com/netbeans-annoyance-tp4675134p4675272.html Sent from the TomEE Users mailing list archive at Nabble.com.

Re: tomee:deploy - undeploy

2015-06-02 Thread hwaastad
Thanks Romain, I needed the deploy path: mvn tomee:undeploy -Dtomee-plugin.archive=TomeEEDeploy-1.0-SNAPSHOT -Dtomee-plugin.host=127.0.0.1 I've modified server.xml: unpackWARs=false autoDeploy=false for webapps. I'll see if this makes our jenkins deployment more stable than the tomcat-deploy

netbeans annoyance

2015-06-02 Thread hwaastad
Hi, I just want to point out an observation. I discovered that starting tomee 1.7.2 (plus) as a server in netbeans, netbeans is not too happy about the server=Apache TomEE config on the 8080 connector. So by removing this one startup is OK again. I guess a bug in the netbeans tomee (and tomcat)

tomee:deploy - undeploy

2015-06-02 Thread hwaastad
Hi, just a verification on the tomee-maven-plugin deploy functionality I've started an remote tomee and deploying like this: mvn tomee:deploy -Dtomee-plugin.archive=./target/TomeEEDeploy-1.0-SNAPSHOT.war -Dtomee-plugin.host=127.0.0.1 -Dtomee-plugin.binary=true Undeploy: mvn tomee:undeploy

Re: OpenEjb, Injection of datasource using jboss naming

2015-05-26 Thread hwaastad
Wel, i guess going back/from jboss you usually have this issue having to adjust app anyway. However, kudos for making tomee jboss friendly! Br hw -- View this message in context:

Re: OpenEjb, Injection of datasource using jboss naming

2015-05-26 Thread hwaastad
Hi, would'nt it be better adding resource-ref to make it portable? br hw -- View this message in context: http://tomee-openejb.979440.n4.nabble.com/OpenEjb-Injection-of-datasource-using-jboss-naming-tp4675044p4675049.html Sent from the TomEE Users mailing list archive at Nabble.com.

Re: TomEE arquillian JAAS

2015-05-21 Thread hwaastad
sure, that would also be an option. BTW, would be nice having adapter options (properties) documented somewherewithout reading sourcecode, that is :-) br hw -- View this message in context: http://tomee-openejb.979440.n4.nabble.com/TomEE-arquillian-JAAS-tp4674939p4674944.html Sent from

TomEE arquillian JAAS

2015-05-21 Thread hwaastad
Hi, it seems I never manages to stop being puzzeled by this issue... just a quick checkup on strategy. I'm mocking out an loginmodule implementation in my IT's using an test httpfilter doing a request.login and using a simple prop login module (configured by a test-context.xml). Running single

TomEE t-shirts

2015-05-21 Thread hwaastad
Hi guys. this is really an technical questions... Are there any TomEE t-shirts available? It would be super cool getting a few for my dev team (since we're all tomee's after all :-) ) br hw -- View this message in context:

Re: TomEE Ear Logback revisit

2015-05-15 Thread hwaastad
Hi, I've been playing around some more and it's definitly a classloading issue. This is my observations: 1. skipped logback on tomee global 2. added an logback-config jar which I unpack in the ear (also added includeInApplicationXmltrue/includeInApplicationXml in jarModule to get it working) 3.

Re: TomEE Ear Logback revisit

2015-05-14 Thread hwaastad
Hi Romain and thx for testing it out. well, in tomee/lib/logback.xml pattern is: pattern%d{HH:mm:ss.SSS} TomEE [%thread] %highlight(%-5level) %logger{50} - %msg%n/pattern in web-inf/classes/logback.xml I've defined: pattern%d{HH:mm:ss.SSS} ENTERPRISE-WEB [%thread] %-5level %logger{50} -

Re: TomEE Ear Logback revisit

2015-05-14 Thread hwaastad
Probably. I'm not too familiar with the logback classloader defs. BTW, it seems that removing slf4-jdk is not really needed. br hw -- View this message in context: http://tomee-openejb.979440.n4.nabble.com/TomEE-Ear-Logback-revisit-tp4674809p4674815.html Sent from the TomEE Users mailing

TomEE Ear Logback revisit

2015-05-14 Thread hwaastad
Hi, Im touching space on this one again. Running some tests with tomee 1.7.2 and have a couple of observations. 1. adding openejb.log.factory=slf4j, adding logback libs, removing the slf4j-jdk14 and adding logback.xml to conatiner lib I get logback working. Seems like this is the only way og

Re: @RequestScoped does not exist within current thread

2015-05-13 Thread hwaastad
Hi, got similar things going on in my production environment aswell: javax.enterprise.context.ContextNotActiveException WebBeans context with scope type annotation @SessionScoped does not exist within current thread But it only happens when users are logging out. However, not been able to

Re: debugging tomee-remote

2015-05-11 Thread hwaastad
Thanks Romain. The extra extension made it work. In 1.7.1/4.7.1 aswell Apparently the arquillian-transaction-impl-base is not needed. Thanks again for giving help on things not 100% transparent :-) br hw -- View this message in context:

Re: debugging tomee-remote

2015-05-08 Thread hwaastad
OK, I've not been able to get it working, but I'll keep on trying :-) BTW, doing some tomee-embedded and webservice testing I get: org.jboss.arquillian.persistence.core.exception.ContextNotAvailableException: No Naming Context available What could be causing this issue? br hw -- View

Re: debugging tomee-remote

2015-05-08 Thread hwaastad
Hi Romain, I've been banging my head over this and it's not working. https://github.com/hwaastad/ArquillianTomeePersistence.git and branch feature/embedded-implementation If you have a chance, I'd be very grateful. BTW, using the arquillian-openejb-embedded-4, what properties needs to be set

Re: debugging tomee-remote

2015-05-07 Thread hwaastad
OK, and thanks. BTW, another question (and not really related) I've made arquillian tests with jaas/rest and its working fine. Should this also be possible to do using an embedded version? I've done som initial testing but did'nt get it working (and it's easier adding a conf dir on remote

debugging tomee-remote

2015-05-07 Thread hwaastad
Hi, I've got a question regarding debuging arquillian tests on tomee-remote. In netbeans it's plain simple to add beakpoint and debug. with tomee-remote I have to add debug=true in arquillian.xml and then attach debugger which seems a little cumbersome. Is there a better way? 1.7.1 is in play.

Re: Arquillian persistence and tomee embedded

2015-05-06 Thread hwaastad
Cool, I'll have a look:-) br hw -- View this message in context: http://tomee-openejb.979440.n4.nabble.com/Arquillian-persistence-and-tomee-embedded-tp4671595p4674649.html Sent from the TomEE Users mailing list archive at Nabble.com.

Re: Arquillian persistence and tomee embedded

2015-05-05 Thread hwaastad
Hi, I'm not trying to TD this one, but I just want to say that I got an arquillian/persistence/deltaspike/CMT/JAX-RS/tomee remote testbed running in this project. https://github.com/hwaastad/ArquillianTomeePersistence.git It's a result of reading carefully the arquillian-jpa example and adding

Re: JMS Topic MDB

2015-04-20 Thread hwaastad
Nope. I've tried (and mind its case sensitive...) to modfy my resourceadadpter: ServerUrl = tcp://a.b.c.d:61616?jms.clientID=myId But no, still the MDB name is used. br hw -- View this message in context: http://tomee-openejb.979440.n4.nabble.com/JMS-Topic-MDB-tp4674499p4674509.html

Re: JMS Topic MDB

2015-04-20 Thread hwaastad
Hi Andy and thx for answering. I've started to realize that. Made simple test using same code and maven profiles for different tomee containers. Switching clientId on MDB makes it work. Now, how to solve the clientId issue? I tried adding an clientId option in tomee.xml resourceadapter config,

JMS Topic MDB

2015-04-20 Thread hwaastad
Hi, I've startet to play around clearing jcs cache on multiple installations using a JMS topic. It's non-durable. I've seen that clientId is only needed for durable topic. However, I see that if I have two webapps deployed(having a MDB), activemq complains about:

Re: JMS Topic MDB

2015-04-20 Thread hwaastad
Hi, pretty simple: https://github.com/hwaastad/TomeeMdbTest.git 1. mvn tomee:run -Pnode1 2. mvn tomee:run -Pnode2 I've removed entries in system properties (which made it work) br hw -- View this message in context: http://tomee-openejb.979440.n4.nabble.com/JMS-Topic-MDB-tp4674499p4674535

Re: JMS Topic MDB

2015-04-20 Thread hwaastad
I'll be damned That was it! This actually solves quite an issue I have. I'm deploying topic MDBS in a network of brokers and as long as every MDB is on a separate broker its working however when a failover situation occurs, the clientid issue appears. Thanks alot. BTW, I've noticed that

  1   2   3   4   >