Hi,
I can verify that this does not happen in 1.6.0-SNAPSHOT.
And no, openejb-provisioning is not installed. Its a 'vanilla'
apache-tomee-plus-1.5.2.
hw
--
View this message in context:
http://openejb.979440.n4.nabble.com/TomEE-1-5-2-EAR-server-restart-issue-tp4662692p4662696.html
Sent from
Hi, I see the same issue myself.
However the rest service loads ok on 1.6.0 even if the error message still
exists...
br hw
--
View this message in context:
http://openejb.979440.n4.nabble.com/when-webapp-is-ROOT-rest-services-can-t-find-the-webapp-tp4662716p4662721.html
Sent from the
Sorry,
I was a little bit too quick in my answer.
Deploying as a WAR its OK.
Deploying the war in an ear the log messages exists but service is OK.
br hw
--
View this message in context:
Sure, I'll try :-)
I will try to produce a project having the same issue that I se in my
production environment.
I'm in the process of migrating from Glassfish to TomEE and so far i looks
nice (besides from a couple of bugs in myfaces 2.1.11)
Anyway. This is the exception I see:
INFO: MyFaces
Hi,
I'm trying to get selenium tests going on an arquillian/tomee-embedded
configuration.
I'm struggelig to get SSL working.
As far as I can se only standard port INFO: Starting ProtocolHandler
[http-bio-8080] is starting.
Is it possible to add a custom server.xml to the embedded configuration
Ah,
sorry, didn't think of that
Thanks a lot, I'll give it a try.
--
View this message in context:
http://openejb.979440.n4.nabble.com/arquillian-tomee-embedded-and-ssl-constraints-tp4662784p4662788.html
Sent from the OpenEJB User mailing list archive at Nabble.com.
Hi,
I have a logging bean (@Observes) annotated with:
@Asynchronous
@Stateless
The class injects
@Resource Sessioncontext
It works fine in the last 1.6.0 snapshot (today) and I get the correct
principal, however the logs are showing:
--
WARNING: Injection data not found in JNDI context:
Hi,
something happen when i tested the last snapshot.
Yesterdays snapshot is OK.
I'm deploying an ear with tomee.sh:
SEVERE: An error occured while initializing MyFaces:
org.apache.tomee.myfaces.TomEEFacesConfigurationProviderFactory cannot be
cast to org.apache.myfaces.spi.FacesC
Hi,
I found out my problem. My EAR has skinny wars and by accident the ear/lib
contained a myface-api jar.
Somehow this worked earlier
Well, sorry for making such a fuzz due to my own mistakes :-)
--
View this message in context:
Yes,
creating a standard tomee-webapp from archetype and then just change
tomee-maven-plugin to 1.6.0-SNAPSHOT.
btw, my environment is Ubuntu 12.04 x86_64
ii openjdk-7-jdk 7u21-2.3.9-0ubuntu0.12.04.1
OpenJDK Development Kit (JDK)
ii
Well, I'm not really sure but there is a dependency to openjdk-7-jre/jdk:
apt-cache depends openjdk-7-jre
openjdk-7-jre
Avhenger av: openjdk-7-jre-headless
Avhenger av: libasound2
Avhenger av: libc6
Avhenger av: libcups2
Avhenger av: libfontconfig1
Avhenger av: libgdk-pixbuf2.0-0
Hi,
sorry if this is a beginner question...
I have a War with the simple-webservice implemented. Works as it should.
Then, I'm packaging this war in an EAR.
Is there any requirements for this kind of setup?
I've tried to add openejb-jar.xml also adding web service references, but it
does'nt seem
Hi,
I have a question probably more in the line of implementation.
My simple webapp has an EJB jar dependency.
In the EJB there is a Scheduler:
@Singleton
@Startup
@DeclareRoles({TestGroup})
@RunAs(TestGroup)
public void TestTimerService(){
@Inject
@DBLog
private EventLogMessage log;
Hi,
yes, the role filtering works as it's supposed to.
I'm just wondering why the output for principal name is changing form guest
to some other user when the scheduler fires an event.
What I want to achieve is to log the user invoking the LogListener method.
For all logged in users its OK but
OK, and thanks.
I guess I need to configure JAAS to get what I want to achieve.
In glassfish
glassfish-web-app error-url=
security-role-mapping
role-nameTimerGroup/role-name
principal-nametest/principal-name
/security-role-mapping
Then the runas user will log a correct user...and not
I've been trying :-)
I tested a simple custom loginmodule
(http://www.byteslounge.com/tutorials/jaas-authentication-in-tomcat-example)
It works fine,but the timerbean/Scheduler never triggers any login/auth
check/credentials lookup.
Maybe there are some openejb-jar/ejb-jar settings I've been
I will asap :-)
Another issue, perhaps.
I've updated my sample project
I've added a border layer between jsf managed beans and ejb layer
Maybe this is a little odd scenario, but anyhow.
topology (I've skipped the debug statements):
RequestScoped Bean - Bordercontroller EJB - BusinessBean EJB
Sure,
thats why I updated my github sample project accordingly :-)
https://github.com/hwaastad/WebSecurity.git
--
View this message in context:
http://openejb.979440.n4.nabble.com/Tomee-and-security-role-mapping-tp4663567p4663647.html
Sent from the OpenEJB User mailing list archive
Hi,
the user gets the correct role after login (SuperAdmin)
Then the user calls the bordercontroller.sayhelloborder.
The bordercontroller has @RunAs(InternalGroup) and the method
sayhelloborder
has @RolesAllowed(SuperAdmin)
If I remove @rolesallowed, output is:
ViewController Start
Hi,
not sure myself, but it seems that the runas role is being applied before
the rolesallowed is checked, hence the call will be denied.
If I add the InternalGroup to Rolesallowed, it's OK
--
View this message in context:
OK,
I rest my case.
Probably need to read up on JavaEE specs again.
I was just wondering since it was working i glassfish 3.1.2.
Thanks again for taking your time.
br hw
--
View this message in context:
Hi,
still working on my debugging
project.(https://github.com/hwaastad/WebSecurity.git)
Im making the simple-webservice in a war and then in an ear.
deploying via tomee.sh:
SEVERE: Error deploying JAX-WS Web Service for EJB Calculator
java.lang.IllegalArgumentException: addChild: Child name
Not exactly.
The actually process is:
1. deploy app via tomee.sh: I see errors in log.
2. I restart tomee and notice that it loads OK.
This means, that I always have to restart tomee after I've deployed the EAR.
I'm not trying to deploy twice.
br hw
--
View this message in context:
Sure,
always running latest-and-greatest :-)
(apache-tomee-1.6.0-20130614.041118-99-plus)
br hw
--
View this message in context:
http://openejb.979440.n4.nabble.com/JAXWS-in-war-in-an-EAR-tp4663770p4663781.html
Sent from the OpenEJB User mailing list archive at Nabble.com.
This is the complete output when deploying:
---
INFO: Server startup in 827 ms
jun 14, 2013 1:21:41 PM org.apache.openejb.util.JarExtractor extract
INFO: Extracting jar:
/usr/local/development/apache-tomcat/apache-tomee-plus-1.6.0-SNAPSHOT/apps/JaxWs-ear-1.0-SNAPSHOT/JaxWs-web-1.0-SNAPSHOT.war
Nice
Looking forward to test :-)
Thanks a lot for your dedication!
br
hw
--
View this message in context:
http://openejb.979440.n4.nabble.com/JAXWS-in-war-in-an-EAR-tp4663770p4663789.html
Sent from the OpenEJB User mailing list archive at Nabble.com.
Hi,
I've startet testing a web service I've been working on.
it's a war containing both jaxrs and jaxws services.
Right now it fails with the message I've added beneath.
I was just wondering what might cause such an error?
br hw
--
SEVERE - Cannot instantiate the service class
OK,
thanks. I'll just have to go through my config, I guess.
Just to be sure, is this whats needed for testing jaxws?
dependency
groupIdorg.apache.openejb/groupId
artifactIdopenejb-cxf/artifactId
version4.6.0-SNAPSHOT/version
scopetest/scope
OK.
Up to date...I belive so.
From build:
Downloaded:
http://repository.apache.org/snapshots/org/apache/openejb/openejb-cxf/4.6.0-SNAPSHOT/openejb-cxf-4.6.0-20130615.040817-106.jar
(56 KB at 49.3 KB/sec)
--
View this message in context:
Hi,
sorry, this was my bad.
In a submodule I had defined openejb-core 4.5.2, hence the error.
Again, sorry for making the fuzz.
Everythings in order now.
br hw
--
View this message in context:
http://openejb.979440.n4.nabble.com/newEjbAvailableAfterApplicationCreated-tp4663802p4663836.html
and is superUser
If I log in with user 1, it fails:
[LdapLoginModule] search-first mode; SSL disabled
[LdapLoginModule] user provider: ldap://my provider
[LdapLoginModule] searching for entry belonging to user:
hwaastad
[LdapLoginModule] found entry: CN
Yepp,
U were right about your assumptions.
the ldaploginmodule added the authzIdentity into UserPrincipal.
I just copied the original ldaploginmodule and modified authzIdentity to
GroupPrincipal and voilaits alive :-)
thanks alot!!!
br hw
--
View this message in context:
/rmannibucaugt;*
*Blog:
**http://rmannibucau.wordpress.com/*lt;http://rmannibucau.wordpress.com/gt;
*LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
*Github: https://github.com/rmannibucau*
2013/6/25 hwaastad lt;
helge@
gt;
No,
u're right. It's not.
So, If I wanna include
I've seen this one myself.
Moving the war containing the rest services to the end of application.xml
makes it work for me.
(using maven ear plugin and moving the webModule REST to the end).
hw
--
View this message in context:
Hi,
I've been reading around to see how to get clustering and cdibeans to work
in tomee.
As I've understood, the
openejb.session-context = http
tomee.session-context.wrapper = http
Has to be defined as CATALINA_OPTS
Adding
CATALINA_OPTS=$CATALINA_OPTS -Dopenejb.session-context=http
OK,
systemVariables
openejb.session-contexthttp/openejb.session-context
tomee.session-context.wrapperhttp/tomee.session-context.wrapper
/systemVariables
Is the correct way, and it's working.
However,
adding
--
openejb.session-context = http
tomee.session-context.wrapper = http
--
to
Hi,
and thanks for giving my project a shot.
Thanks for fixing the system.properties issue.
Is this OWB change implemented in 1.6.0-SNAPSHOT right now?
If that's the case, somethings very strange.
The skinny-all profile triggers an immidiate NPE on the secondary TomEE for
me.
Just opening
Hi,
I tried now to clean out my local repository, mvn clean install owb and
tomee from trunk.
I got the same result.
br hw
--
View this message in context:
http://openejb.979440.n4.nabble.com/TomEE-cluster-and-cdibeans-tp4664576p4664600.html
Sent from the OpenEJB User mailing list archive at
Hi,
the skinny-all profile will put all dependencies from web module (and other
web modules) into ear/lib and not in WEB-INF/lib in the webapps.
I'm trying to limit the size of the total EAR
I mean, the skinny-all profile works fine using TomEE standalone, but in
clustering it fails.
PS, I'm
I must say...
I tried the snapshot, but it failed. Then I tried building from source and
It seems that you saved my day!! :-)
Thanks a lot!!
Was it due to the serialization in OWB U mentioned earlier?
br hw
--
View this message in context:
Hi,
I'm continuing testing
an issue, maybe related to this post:
I have an library module and in this module I have defines a Qualifier to be
used in the other modules.
https://github.com/hwaastad/ClusterTest.git and branch feature/cdi-jar-event
the ejb has an asynchronous observer
Hi Romain,
don't wanna trouble you too much, but did you get time to check out this
issue?
I've been trying all kinds of configuration but the problem still occurs.
br hw
--
View this message in context:
http://openejb.979440.n4.nabble.com/TomEE-cluster-and-cdibeans-tp4664576p4664735.html
Ah,
sorry. Wrong branch:
git clone https://github.com/hwaastad/ClusterTest.git
*git checkout feature/cdi-jar-event*
mvn clean package -Pskinny-all
in ClusterApp-ear:
mvn tomee:run -Pnode1
mvn tomee:run -Pnode2
Access http://localhost:8081/ClusterApp
write som stuff in username/password
Hi,
I noticed today an issue with the latest SNAPSHOT:
--
aug 22, 2013 11:39:46 AM org.apache.tomee.loader.TomEEJarScanner
tldLocationCache
WARNING: Failed to scan JAR
[jar:file:/home/helge/ClusterTest/ClusterApp/target/instance1/lib/openejb-jstl-1.2.jar!/META-INF/fmt.tld]
from WEB-INF/lib
Hi,
I hav'nt done nothing with my ClusterApp project since was working last
time.
br hw
--
View this message in context:
http://openejb.979440.n4.nabble.com/tomEE-1-6-0-SNAPSHOT-issue-tp4664792p4664800.html
Sent from the OpenEJB User mailing list archive at Nabble.com.
Hi,
any recommendations for this issue?
No jdom in my project or tomee-maven-plugin
br hw
--
View this message in context:
http://openejb.979440.n4.nabble.com/tomEE-1-6-0-SNAPSHOT-issue-tp4664792p4664813.html
Sent from the OpenEJB User mailing list archive at Nabble.com.
Hi,
I was wondering if someone might give me an hint or two how to implement
TomEE in an distributed environment.
My topology is an TomEE web frontend using remote ejb calls to another TomEE
server having an ejb module (packaged in an ear)
Users authenticates to the web container (JAAS), but the
Hi, and thank for your answer
I'm on 1.6.0-SNAPSHOT.
I did try to use the initialcontext setup as diplayed in your post (without
the jackson serializer)
and I can verify that the authentication is run on all lookups.
I'm one step closer :-)
I've configured mappednames on @ejb's and jndiprovider:
Hi,
I'm trying to implement L2 cache coordination with TomEE (1.6-SNAPSHOT),
eclipselink 2.5.0 and activemq.
I have a hard time figuring out how eclipselink is looking up resources
defined in tomee.xml.
just for testing I'm running the broker on the same jvm.
Does anyone have a hint or two how
Hi,
I will not try to comment on issues in eclipselink right now (still in
development process).
However,
property name=eclipselink.cache.coordination.protocol value=jms /
property name=eclipselink.cache.coordination.jms.topic
value=openejb:Resource/CacheSynchTopic /
Hi,
I've got a question, maybe more relatred to slf4j, but maybe someone has a
clue on what's happening:
I have a TomEE cluster:
openejb.session-context = http
tomee.session-context.wrapper = http
and tomcat has the tcp cluster configured.
I want to produce loggers in my project, so I made a
I belive I have,
I've testet all kinds of configuration and I think I'll revert back to
static loggers again :-|
anyway,
thanks a lot.
--
View this message in context:
http://openejb.979440.n4.nabble.com/Logger-producer-in-tomEE-cluster-tp4665176p4665178.html
Sent from the OpenEJB User
Have a look at:
http://www.ldaptive.org/
br hw
--
View this message in context:
http://openejb.979440.n4.nabble.com/TomEE-Jaas-and-ldaploginmodule-tp4663866p4665275.html
Sent from the OpenEJB User mailing list archive at Nabble.com.
Hi,
I noticed today an exception during deployment of my rest services:
[2013-10-02 14:12:14|INFO][org.apache.cxf.endpoint.ServerImpl
initDestination]: Setting the server's publish address to be
http://localhost:8080/DataApi/data
[2013-10-02
Hi,
I read the post:
http://rmannibucau.wordpress.com/2013/09/25/tomee-maven-plugin-and-integration-tests-without-arquillian/
and wanted to try this one out.
However, stopping the tomee always fail running mvn clean verify:
[ERROR] Failed to execute goal
Hi,
until now I've just used standard config for my @schedule processes.
However in my quest for clustered setup I've started to look into persistent
storage for quartz.
Now, I'm quite new to quartz so I might be missing out on something so I
hope you can bear with me :-)
application.properties:
Hi,
yes it's the same database.
Well, you're probably right.
I moved my scheduling completely over to use quartz
configuration/initializing and I get the failover/persistency I need for
clustering.
BTW,
I've read that the application.properties including quartz properties is
supposed to be put
OK,
i've read some of the discussions on the dev list. Interesting.
BTW,
I realized that Injection (@EJB/@Inject) does not work in Quartz jobs so I
have to lookup my ejb's.
But my next problem is that my service EJB's (which are called by the job)
are protected by @rolesallowed.
I've tried do
Hi,
I'm calling remotes with user login credentials in a web app.
Producer:
@Produces
@RemoteEjb
public ZoneServiceRemote getZoneServiceRemote() throws NamingException {
Properties properties = new Properties() {
{
put(Context.INITIAL_CONTEXT_FACTORY,
Hi,
sure i'm using mapped names on remotes I do not need to authenticate to. (or
can use a static login principal)
However, some of my beans needs to be authenticated by the user logged in.
It works as I wrote earlier, but I just wanted to know if its possible to
use a dynamic jndiprovider.
Or
Hi,
I'm testing auto register MBean in tomee 1.6.0.
In a war it's working ok.
in the war packaged in an ear I get CNFE.
org.apache.openejb.OpenEJBException: Creating application failed:
You might try this:
http://ovaraksin.blogspot.no/2013/02/eager-cdi-beans.html
br hw
--
View this message in context:
http://openejb.979440.n4.nabble.com/Create-CDI-bean-on-application-startup-tp4667228p4667233.html
Sent from the OpenEJB User mailing list archive at Nabble.com.
Hi,
U might be right.
I've just been playing around with eager appscoped beans (for omnifaces
Messages) and it has been working OK.
I also know that there is an issue(feature) in omnifaces for an eager
applicationscoped bean feature.
(But I do agreee regarding singleton/startup. its simpler and
Hi,
I'm testing logback implementation in TomEE 1.6.0
Current config:
catalina_home/lib/logback.xml
tomee-maven-plugin:
liborg.slf4j:jul-to-slf4j:1.7.5/lib
libch.qos.logback:logback-core:1.0.13/lib
libch.qos.logback:logback-classic:1.0.13/lib
libch.qos.logback:logback-access:1.0.13/lib
Hi,
changing openejb.log.factory?slf4j did'nt do anything useful.
Do you mean moving both logback jars and xml to web app?
br hw
--
View this message in context:
http://openejb.979440.n4.nabble.com/tomee-jax-rs-and-logback-tp4667241p4667243.html
Sent from the OpenEJB User mailing list
@Alexander
You're right. I did test that before, but when running tomee-maven-plugin
the setenv.sh is copied with 644. so by changing to 755 its ok.
...but in the end, since it's to much moving around with classpath and
libraries, I'll stick to strictly web-app deployment.
Thank's a lot.
br hw
Hi, I've been testing a lot now and the following is my conclusion.
configuration:
Ear:
logback-classic/core and logback-config.jar in ear/lib
submodules:
logback-classic compile dependency
logback-config.jar provided
TomEE 1.6.0: does not work
TomEE 1.6.1-SNAPSHOT: working
Off course,
Hi,
I know it's been discussed in an earlier thread but I just want to know if
there is any update regarding clustering of stateful session beans?
Is this something TomEE would contain in the future?
br hw
--
View this message in context:
Nice reading and thanks for sharing :-)
I tried adding system.properties entry, however I discovered a challenge:
---
SEVERE: EjbTransactionUtil.handleSystemException:
org.apache.openejb.core.mdb.MdbContext cannot be cast to
javax.ejb.SessionContext
java.lang.ClassCastException:
Hi,
I'm fiddling around with activemq.xml and tomee-maven-plugin and I always
get this:
URL [file:conf/activemq.xml]; nested exception is
java.io.FileNotFoundException: conf/activemq.xml
relevant configuration I have:
configuration
catalinaBase${project.build.directory}/instance1/catalinaBase
Hi,
I've got a quiestion regarding wadl generation in tomee/cxf/rest
I'm not quite sure if this is a tomee issue, but maybe someone has seen this
before.
A simple rest method:
@POST
@Consumes(application/json)
@Produces(application/json)
public Response putJson(User user) {
Hi Romain,
you are correct about the json issue.
If i accept/produce both xnl and json:
resource path=/generic
method name=POST
request
representation mediaType=application/xml element=prefix1:user/
representation mediaType=application/json/
/request
response
representation
Thx for input,
still it does'nt change anything.
The only thing I found out is that I also need namespace for the
xmlrootelement for element in xml aswell.
I guess I'll have to check the cxf pages.
Thanks again,
hw
--
View this message in context:
Ok,
so what you're saying is that it's probably not been fixed in current cxf?
br hw
--
View this message in context:
http://openejb.979440.n4.nabble.com/tomee-rest-wadl-generation-tp4667900p4667921.html
Sent from the OpenEJB User mailing list archive at Nabble.com.
Hi,
I guess this is discussed several places, but I'm still not 100% sure about
my implementation.
OK, here it goes:
I have a war with rest services.
I have implemented bval support for my services defined in ejb-jar.xml.
I have producers for JMS connections and sessions.
In a war, I guess
Hi,
I have a project using a custom jaas module an I'm protecting my rest
resources (and ejb's) via @rolesallowed and securityconstraints in web.xml
etc.
I't working as supposed to.
However,
is it possible to use tomee embedded for doing end-to-end testing?
i.e, catalina_opts
OK,
I made some tests
and adding login.config to src/test/resources
and:
System.setProperty(java.security.auth.login.config,
src/test/resources/login.config);
and in webapp-root/META-INFO/context.xml adding jaasrealm info.
Then I can do a complete end-to-end test including JAAS.
...learning
Hi,
I've been working on a rest service filter for security and have a quick
question regarding principal propagation.
OK,
the filter basically does this:
String test = token from request
// Custom JAAS login module (I know it can be done without aswell)
LoginContext loginContext = new
Hi again,
yes, by googling around and evaluating some more, I guess I can do one out
of two:
1. Keep this configuration and use programmatic role evaluation in all
methods
2. Modify my existing loginmodule and wrap my token into,for instance, the
password attribute. and then do
Hi,
I've been banging my head today with a strange kind of error.
I have quite a large multimodule project which in the end produces an ear
with several skinny wars.
Lets say I version all my modules 6.6.6
i clean out .m2 repository and build the project, do a mvn tomee:run in the
ear module and
Don't see why ;-)
Yepp, I've been testing different versions
ex:
I made a version:
19.0-SNAPSHAKKALAKKA which is complaining.
Then I made a
19.0-SNAPSHOCK which is OK
Then I made a
19.0.0 which is complaining
and in the end the final
19.0 which is OK.
I'm kind of afraid of what a no luck bug
I'll see if i can get a smaller project up and running this afternoon.
Br hw
--
View this message in context:
http://openejb.979440.n4.nabble.com/Strange-EAR-issue-and-versioning-tp4668251p4668259.html
Sent from the OpenEJB User mailing list archive at Nabble.com.
Hi,
I tried to reproduce in another project (Im not in liberty to expose my
production environment) but have no luck yet.
I will continue trying but it may take some time so maybe you'll experience
thread necromancy ;-)
If anyone have an idea what might cause such an issue, I would be most
I noticed one thing.
The error exists in shell only.
the target/apache-tomee/logs/catalina.-xx-xx.log does not.
br hw
--
View this message in context:
http://openejb.979440.n4.nabble.com/Strange-EAR-issue-and-versioning-tp4668251p4668270.html
Sent from the OpenEJB User mailing list
Hi,
got a quick question regarding javamail resource in TomEE.
I have a hard time getting it to work.
I have a web app.
I've configured the resource as described in
http://tomee.apache.org/configuring-javamail.html
http://tomee.apache.org/configuring-javamail.html
if i use a
OK thanks,
here's a wrap up:
https://github.com/hwaastad/mockitotomee.git
br hw
--
View this message in context:
http://openejb.979440.n4.nabble.com/TomEE-and-javamail-tp4668436p4668440.html
Sent from the OpenEJB User mailing list archive at Nabble.com.
Ah,
brilliant Romain.
Thank's again
br hw
--
View this message in context:
http://openejb.979440.n4.nabble.com/TomEE-and-javamail-tp4668436p4668463.html
Sent from the OpenEJB User mailing list archive at Nabble.com.
Hi again,
I turned back to my production environment and found out that this issue
is due to some axis2 dependencies i an external module that I use.
I've extended my test project to provide similar dependencies:
https://github.com/hwaastad/tomeeaxis.git
As u see, the library module (which I do
Thanks again,
i excluded all artifacts which generated contains offending class and it
seems to be OK.
Great :-)
br hw
--
View this message in context:
http://openejb.979440.n4.nabble.com/TomEE-and-javamail-tp4668436p4668474.html
Sent from the OpenEJB User mailing list archive at
...or add to applicationconfig if applicable.
br hw
--
View this message in context:
http://openejb.979440.n4.nabble.com/ExceptionMapper-support-in-TomEE-1-6-0-tp4668599p4668606.html
Sent from the OpenEJB User mailing list archive at Nabble.com.
Hi,
having two applications in the same TomEE.
(Hope I'm making sense here..)
Web App 1:
- dependency: ejb-jar
Web App 2:
- dependency: ejb-jar-client
is it possible to use:
JndiProvider id=myInitialContext type=javax.naming.InitialContext
java.naming.factory.initial =
Hi,
and thanks for answering.
I've been testing a lot but I've not been able to make it work.
Just to make sure,
do you mean: @EJB(mappedName = jndi:ext://myInitialContext/Bean
implementation)?
br hw
--
View this message in context:
@Romain
Hi,
remember this one?
I've been trying the last couple of days to debug this but I have'nt managed
to reproduce the issue.
I was wondering if you have any recommendation on how do debug the
NameNode.bind to see why it complains about the name?
br
hw
--
View this message in context:
Something strange is happening with email to this list...it bounces.
And a reply from Romain never got into the list:
---
Remote bean name, ejb-name no link with java itself if you dont name your
ejb as the implementation
---
Anyway,
I had @Stateless @LocalBean on my bean implementation.
Hi,
I'm using Netbeans (8) aswell.
Developing web apps and businesscomponents in wars and ears.
Maven by default.
I seldom use tomee directly from Netbeans but rather use tomee-maven-plugin
and just attach debugger when needed.
br hw
--
View this message in context:
Hi,
I have an issue with principal propagation to an asynchronous EJB.
This is TomEE 1.6.0
Scenario:
- Stateless EJB (ejb1) - Asynchronous Stateless EJB(ejb2)
First Request is authorized to the container and
sessioncontext.getCallerPrincipal.getname is equal in both beans. (eks
u...@domain.com
@Andy,
ejb2 method which I'm invoking is an asynchronous observer.
So I just fire an event in ejb1.
However I tried to call the asynchronous method as a standard call, but the
issue is still the same,
I'm in the process of providing an sample. I'll keep you posted :-)
br hw
--
View this
Hi Romain,
and thanks for taking your time.
What happen if you click unpriv - priv - unpriv ?
I'll have to wait until 1.7.0-SNAPSHOTS are updates for testing myself:
[WARNING] The POM for org.apache.openwebbeans:openwebbeans-impl:jar:1.2.4 is
missing, no dependency information available
Me like :-)
BTW, I pushed another version using log interceptor and showing threads etc.
Also verifying new sessions after logout.
I will build source when ready.
br hw
--
View this message in context:
Thanks,
I check immidiately.
I guess you are correct (would be foolish to say something else :-)),
however in my real application, the secure access is being made from a web
service client. Not quite sure how to force logout. Maybe another login
strategy?
br hw
--
View this message in
1 - 100 of 376 matches
Mail list logo