Hi,
I'd like to know if it 's possible to use annotation to create a
websocket in tomEE 1.5.2/1.6.0 in JSR 356 style. I know that is a JEE7
stuff, so probably I'll be force to use Tomcat implementation. About Tomcat
implementation, is there a via to create a websocket client endpoint?
In my
That's exactly what I want. All I have are EJBs with entity managers
injected via @PersistenceContext (exactly as we are taught in the
Beginning Java EE 6 Platform with Glassfish 3 book which is how this
application began life.
So what's the difference I wonder? Romain talks about adding a
the dict doc is here
http://openjpa.apache.org/builds/2.2.2/apache-openjpa/docs/ref_guide_dbsetup_dbsupport.html
it is important to set it if the database can be down at startup otherwise
you can end up with a wrong dict (generally the generic one) and then when
the database is up again SQL stuff
Am I looking for something letting me list the classes I want mapped? The
error I see shows an empty list, hence this particular question.
You say it doesn't solve our issue and can actually make it worse? Care to
elaborate?
On 2 July 2013 09:17, Romain Manni-Bucau rmannibu...@gmail.com wrote:
Hey Romain,
Thanks for the response. I want to get it setup in my openejb.json config.
It seems as though all I need is the following system property:
cxf.jaxrs.features = org.apache.cxf.feature.LoggingFeature
This works in tests and the request is logged in the output (run a mvn test and
see
Hello to all my brother.pls i'm new to restful web service and also new
in using the new apache TomeePlus .My aim of using restful webservice is to
integrate it in my web e-comerce websit.
FIRST:
My IDE is Netbeans 7.3.1,
In my sql ,I built a database called oko which
didnt get the first sentence
about the make it worse it is what i explained in my previous answer: if
you start without a db and openjpa uses automatically the wrong dictionnary
then even if the db is back and the pool well configured, the jpa layer
will generate wrong SQL so it will not work, so
I would start on line 40 of this class:
java.lang.NullPointerException
at service.AbstractFacade.findAll(AbstractFacade.java:40)
at service.OkoFacadeREST.findAll(OkoFacadeREST.java:66)
Since you're getting a null pointer.
On Tue, Jul 2, 2013 at 6:41 AM, omisaye_infotech
The documentation link you supplied: I'm not sure what I am looking for in
it. That's what I meant to say.
To cut this down is there a demonstration project where this is already
correctly configured? May be simpler than explaining the changes to me :)
On 2 July 2013 12:14, Romain Manni-Bucau
as said before system properties doesn't work for it i think,
openejb-jar.xml is the place to put the config:
┌( rmannibucau @ ubuntu )─( 1.7.0 -:- 3.1.0-alpha-1 )
└( /tmp/rest-logging )· cat src/main/resources/META-INF/openejb-jar.xml
openejb-jar xmlns=http://www.openejb.org/openejb-jar/1.1;
That will also fix the original error - that the list of mapped classes is
empty? Copy of the error again:
Caused by: openjpa-2.2.0-r422266:1244990 nonfatal user error
org.apache.openjpa.persistence.ArgumentException: An error occurred while
parsing the query filter SELECT a FROM Account a. Error
Hey thanks Romain that worked :D
Out of curiosity, why does the features property only work in the
openejb-jar.xml and not in system properties, when the providers property
works?
Is it a case that the providers property is a special case that has been
implemented to be picked up at the
no, this is another error, not sure why ATM but it should be an easy one.
If that's because the database was not here you'll need to ensure the
datasource is here before using the entity manager for the first time or to
list classes manually.
that said to be honest if you *can't* rely on your
Hello to all my brother.pls i'm new to restful web service and also new
in using the new apache TomeePlus .My aim of using restful webservice is to
integrate it in my web e-comerce websit.
FIRST:
My IDE is Netbeans 7.3.1,
In my sql ,I built a database called oko which is made
Why would anyone rely on a particular resource being available at startup?
Other than the container, every external resource is liable to failure at
some point. We build applications to cover that contingency by issuing
error while the resource is not available, then performing work while they
are
Hi we use now 1.2.1-SNAPSHOT.
that said cdi applies on all method so protected methods are proxied, it is
normal.
*Romain Manni-Bucau*
*Twitter: @rmannibucau https://twitter.com/rmannibucau*
*Blog: **http://rmannibucau.wordpress.com/*http://rmannibucau.wordpress.com/
*LinkedIn:
i mean you can say you dont want to rely on it but supposing you can is not
a big assumption (that's startup) and eases the dev a lot
*Romain Manni-Bucau*
*Twitter: @rmannibucau https://twitter.com/rmannibucau*
*Blog: **http://rmannibucau.wordpress.com/*http://rmannibucau.wordpress.com/
So in TomEE 1.5.2 I can use annotations importing atmosphere? What are
TomEE's plan for JEE7?
--
View this message in context:
http://openejb.979440.n4.nabble.com/Websocket-in-TomEE-tp4664043p4664067.html
Sent from the OpenEJB User mailing list archive at Nabble.com.
I mean what websocket solution will TomEE adopt in its JEE7? Any plan yet?
--
View this message in context:
http://openejb.979440.n4.nabble.com/Websocket-in-TomEE-tp4664043p4664068.html
Sent from the OpenEJB User mailing list archive at Nabble.com.
atmos or tyrus yes
tomee is waiting for its stack for javaee 7 (tomcat is not released, OWB is
not cdi 1.1 compliant, etc...)
*Romain Manni-Bucau*
*Twitter: @rmannibucau https://twitter.com/rmannibucau*
*Blog: **http://rmannibucau.wordpress.com/*http://rmannibucau.wordpress.com/
*LinkedIn:
Isn't the tyrus license problematic for apache?
On Tue, Jul 2, 2013 at 11:38 AM, Romain Manni-Bucau
rmannibu...@gmail.comwrote:
atmos or tyrus yes
tomee is waiting for its stack for javaee 7 (tomcat is not released, OWB is
not cdi 1.1 compliant, etc...)
*Romain Manni-Bucau*
*Twitter:
tomee will use tomcat, isn't it obvious? ;)
*Romain Manni-Bucau*
*Twitter: @rmannibucau https://twitter.com/rmannibucau*
*Blog: **http://rmannibucau.wordpress.com/*http://rmannibucau.wordpress.com/
*LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
*Github: https://github.com/rmannibucau*
Definitely obvious (tomee = tomcat) . ;-)
FWIW, I've been using Atmosphere ever since tomee 1.5.1 SNAPSHOT (Tomcat
7.0.34), used it with tomee 1.5.2 SNAPSHOT and still using it with tomee
1.6.0 snapshot (Tomcat 7.0.35+). No problems.
No need for jee7 at all in my opinion. Jee6 still going
In standard tomcat it is possible to link a global resource to an application
specific name. I cannot seem to get similar functionality working in Tomee. I
am currently placing a resource-link element in context.xml but should this be
placed in resources.xml?
Standard tomcat
server.xml
Ah yes that worked very nicely :D
Spanks!
Chris,
@ChriChristo7
{ https://twitter.com/ChrisChristo7 }
{ http://ChrisChristo7.tumblr.com }
LinkedIn { https://linkedin.com/in/ChrisChristo }
Angel { https://angel.co/chris-christo }
GitHub { https://github.com/ChrisChristo }
On 2 Jul 2013, at
Resources.xml should do it
Le 2 juil. 2013 19:30, Trevor Stevens tstev...@me.com a écrit :
In standard tomcat it is possible to link a global resource to an
application specific name. I cannot seem to get similar functionality
working in Tomee. I am currently placing a resource-link element in
What is the format to create the link in resources.xml? I tried using the
element from context.xml in resources.xml but I threw an exception at me
`Caused by: java.lang.IllegalStateException: Unsupported Element: ResourceLink`.
Trevor Stevens
tstev...@me.com
On Jul 2, 2013, at 1:33 PM,
It is in the tag Resource/ so tomee.xml or resources.xml depending where
you declare your resource.
Le 2 juil. 2013 20:16, Trevor Stevens tstev...@me.com a écrit :
Would the alias configuration have to be on the definition inside
tomee.xml or can it exist as an extension of that definition
No, you can use java:global iirc or openejb:Resource
Le 2 juil. 2013 20:51, Trevor Stevens tstev...@me.com a écrit :
Would the aliases be in the java:comp/env namespace? That is the situation
when using the ResourceLink element inside META-INF/context.xml.
Trevor Stevens
tstev...@me.com
29 matches
Mail list logo