: InvalidDataAccessApiUsageException
Only for resource local persistence unit yes upgrading the api and provider.
For managed units upgrade the provider on tomee 7
Le 15 sept. 2016 20:54, "Patel, Sanjay" a écrit :
> Is there a way I can use JPA 2.1 implementation with Tomee 1.7.2? I
>
Is there a way I can use JPA 2.1 implementation with Tomee 1.7.2? I get below
error.
HTTP Status 500 - Request processing failed; nested exception is
org.springframework.dao.InvalidDataAccessApiUsageException: It seems that you
have the JPA 2.1 API but a JPA 2.0 implementation on the classpath!
I am calling soap web services in my project and I see bunch of below INFO
statements in my catalina.out. I tried many things but it does not stop. My
application is calling bunch of web services and catalina.out is growing
exponentially. How can I stop this INFO statements?
Example INFO statem
> |
LinkedIn <https://www.linkedin.com/in/rmannibucau> | Tomitriber
<http://www.tomitribe.com>
2015-09-16 13:47 GMT-07:00 Patel, Sanjay :
> So I need to keep this file in my meta-inf/resources?
>
> Thanks,
> Sanjay
>
> -Original Message-
> From: Romain Mann
@rmannibucau <https://twitter.com/rmannibucau> | Blog
<http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> |
LinkedIn <https://www.linkedin.com/in/rmannibucau> | Tomitriber
<http://www.tomitribe.com>
2015-09-16 12:58 GMT-07:00 Patel, Sanjay :
(TransportBindingHandler.java:176)
at
org.apache.cxf.ws.security.wss4j.policyhandlers.TransportBindingHandler.handleBinding(TransportBindingHandler.java:150)
... 60 more
From: Patel, Sanjay [mailto:sanjay.pa...@nemours.org]
Sent: Wednesday, September 16, 2015 11:47 AM
To: users@tomee.apache.org
Hi,
After upgrading to tome 1.7.2 from tome 1.5.2, I get below exception when I
call secure soap web service. What do I need to change?
[cid:image001.png@01D0F075.6C272910]
There are just too many breaking changes. You will have to upgrade. I'd suggest
1.7.2 - if you have any issues then get back to us.
http://www.tomitribe.com - @AndyGeeDe - On a small screen device.
On 13 Aug 2015 18:23, "Patel, Sanjay" wrote:
> Is there any way to use Java
Is there any way to use Java 8 with Tomee 1.5.2?
Thanks,
-Sanjay
I am able to run my project on standalone Tomee but I get below error if I run
project in Tomee in eclipse. Any idea?
Caused by:
org.apache.openjpa.persistence.ArgumentException: An error occurred while
parsing the query filter "". Error message: The name
"" is not a recognized entity or iden
I have class listed in persistence.xml but during unit test I get below error.
Only unit test fails. I am able to compile and my app works fine. Do I miss
anything?
org.springframework.orm.jpa.JpaSystemException: No registered metadata for type
"class org.test.entity.jpa.Actor". This can happe
inkedin.com/in/rmannibucau
Github: https://github.com/rmannibucau
2014-03-24 13:51 GMT+01:00 Patel, Sanjay :
> It worked and does not give that error anymore and also spring beans are
> injected properly.
>
> But now even though the war is deployed, it gives 404-not-found error and not
&g
Patel, Sanjay :
> What does this error mean? I don't get this error if I don't use
> SpringServlet but in that case the I have other issues like dependency
> injection not working.
>
> I have simple spring web application with jersey rest
What does this error mean? I don't get this error if I don't use SpringServlet
but in that case the I have other issues like dependency injection not working.
I have simple spring web application with jersey rest service.
Web.xml has,
RestService
. 2013 20:32, "Patel, Sanjay" a écrit :
> How to look at current properties' values in tomee? I want to look at
> values of PoolSize and TimeOut etc.
>
>
How to look at current properties' values in tomee? I want to look at values of
PoolSize and TimeOut etc.
. For previous versions move jaxbimpl from endorsed to lib
Le 28 août 2013 16:58, "Patel, Sanjay" a écrit :
> Hello all,
>
> I have a simple rest service. The problem is, only the first call to
> the rest service from browser works. The subsequent calls throws below
> e
Hello all,
I have a simple rest service. The problem is, only the first call to the rest
service from browser works. The subsequent calls throws below exception on
server.
I try below URL in chrome.
http://localhost:8080/directory/people/search
Code:
@GET
@Path("/search")
. 2013 19:49, "Patel, Sanjay" a écrit :
> Sorry I forgot to mention version. Yes it is same version on both
> machine, TomEE 1.5.2. I deploy war and start the server.
>
> -Original Message-
> From: Romain Manni-Bucau [mailto:rmannibu...@gmail.com]
> Sent: Tuesday
deploying web service
Hi
Same versions? Same way to deploy?
Le 9 juil. 2013 19:38, "Patel, Sanjay" a écrit :
> I see below error in log for my EJB @WebService
>
> SEVERE: Error deploying JAX-WS Web Service for EJB DirectoryService
> java.lang.RuntimeException: Invalid sch
I see below error in log for my EJB @WebService
SEVERE: Error deploying JAX-WS Web Service for EJB DirectoryService
java.lang.RuntimeException: Invalid schema document passed to
AbstractDataBinding.addSchemaDocument, not in W3C schema namespace: schema
It works fine in my local machine but gives
press.com/>
*LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
*Github: https://github.com/rmannibucau*
2013/7/3 Patel, Sanjay
>
> So just for web-service security, passing correct username/password in
> header should allow to access web-service from soap-ui or any other client?
>
ttps://twitter.com/rmannibucau>*
*Blog: **http://rmannibucau.wordpress.com/*<http://rmannibucau.wordpress.com/>
*LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
*Github: https://github.com/rmannibucau*
2013/7/3 Patel, Sanjay
> I setup JAAS according to http://tomee.apache.org/tom
I setup JAAS according to http://tomee.apache.org/tomee-jaas.html and
everything works fine. I confirmed by accessing manager/html app and using
username/password from users.properties.
I annotated my EJB with @webservice annotation as below.
@Stateless(name = NemoursDirectoryWebServiceBean.EJB
<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*
2013/7/3 Patel, Sanjay
> Questions regarding JAAS. Can't we define two u
Questions regarding JAAS. Can't we define two users with same roles? Below is
my users.properties and groups.properties file. Authentication works fine but
for "sapatel" user, I get 403 (access denied).
Everything works fine for tomee user.
Here is my users.properties
sapatel=test
tomee=tomee
a
: @Webservice
Hi,
Didnt you forget ?wsdl ?
Can you reproduce it in a sample?
Le 1 juil. 2013 22:29, "Patel, Sanjay" a écrit :
> Using @Webservice annotation for Stateless EJB and accessing
> webservice
> http://localhost:8080/directory/webservices/ws/NemoursDirectoryService
&
Using @Webservice annotation for Stateless EJB and accessing webservice
http://localhost:8080/directory/webservices/ws/NemoursDirectoryService gives
below output
http://schemas.xmlsoap.org/soap/envelope/";>
soap:Server
No such operation: directory (HTTP GET PATH_INFO:
/directory/webser
...@gmail.com]
Sent: Friday, June 28, 2013 1:28 PM
To: users@tomee.apache.org
Subject: RE: Right way to share JPA project
Sharing common classes in lib/ but youll not get cdi,ejb...
Le 28 juin 2013 18:04, "Patel, Sanjay" a écrit :
> Is there any alternative to ear?
>
> --
issues
(ear can help). That's the main constraint in fact.
Le 28 juin 2013 17:33, "Patel, Sanjay" a écrit :
> I am not sure if this is the right forum for this question
>
> I am wondering what is the right way to share JPA (Eclipselink)
> project. I didn't
I am not sure if this is the right forum for this question
I am wondering what is the right way to share JPA (Eclipselink) project. I
didn't have any issue when I was using runtime weaving for my JPA entities but
now when I use build time weaving (static weaving), many questions arises in my
mi
> Von: Romain Manni-Bucau [mailto:rmannibu...@gmail.com]
> Gesendet: Mittwoch, 26. Juni 2013 21:50
> An: users@tomee.apache.org
> Betreff: Re: WARNING: Injection: No such property
>
> Hi,
>
> It sounds normal since classloaders isolate both apps Le 26 juin 2013 21:48,
I have @Local EJB in one web application. If I inject EJB in JSF bean in same
web application, it works fine.
When I try to inject it in JSF bean in another web application in same TomEE
container, it fails and gives below WARNING.
WARNING: Injection: No such property 'org.xyz.SearchController/
om/>
*LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
*Github: https://github.com/rmannibucau*
2013/5/13 Patel, Sanjay
> I got it working. I am not sure but looks like it was conflicting
> dependencies issue. I cleaned up all my poms and added only required
> dependencies one
/rmannibucau*
*Github: https://github.com/rmannibucau*
2013/5/13 Patel, Sanjay
> What do you mean by tomee logs?
>
> -Original Message-
> From: Romain Manni-Bucau [mailto:rmannibu...@gmail.com]
> Sent: Monday, May 13, 2013 10:00 AM
> To: users@tomee.apache.org
> Subject:
: @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*
2013/5/13 Patel, Sanjay
> No. I see below in log.
>
> [EL Info
ar_MyAppPU
login successful
-Original Message-
From: Jean-Louis MONTEIRO [mailto:jeano...@gmail.com]
Sent: Monday, May 13, 2013 9:45 AM
To: users@tomee.apache.org
Subject: Re: eclipselink in tomee
Did you see any "ADJUSTING ...." message in logs?
JLouis
2013/5/13 Patel, San
how did you configure it in your persistence.xml?
*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/rmanni
We have used OpenJPA in all our previous projects without any issue. Very
simple to setup. We are trying to use eclipselink in our new project and it
does not seem to work.
Looks like eclipselink does not read the resource in tomee.xml. It connects to
HSQLDB and then complains about not finding
https://issues.apache.org/jira/browse/TOMEE-624
Above issue is resolved in version 1.5.1 but I am still having issue both 1.5.1
and 1.5.2.
When I deploy my webapp as ROOT, REST services do not get deployed and I also
get below error in log.
Am I missing any configuration?
SEVERE: error invoki
bob
On Mon, Apr 1, 2013 at 8:24 AM, Patel, Sanjay wrote:
> Thanks for the hint. Would you please tell me where in web.xml can I
> specify module name?
>
> -Original Message-
> From: Romain Manni-Bucau [mailto:rmannibu...@gmail.com]
> Sent: Saturday, March 30, 2
Adding entry in server.xml throws below exception in log.
This is the entry.
javax.naming.OperationNotSupportedException: Context is read only
at org.apache.naming.NamingContext.checkWritable(NamingContext.java:962)
at org.apache.naming.NamingContext.bind(Nami
module name in your web.xml Le 29 mars 2013 20:45,
"Patel, Sanjay" a écrit :
> I use EJBs in my spring application.
> To inject EJB in my controller I do as below.
>
> @EJB(mappedName = "java:global/myAppName/MyBean") MyBean myBean;
>
> It works fine.
&
I use EJBs in my spring application.
To inject EJB in my controller I do as below.
@EJB(mappedName = "java:global/myAppName/MyBean")
MyBean myBean;
It works fine.
Now when I deploy my application in production, It fails to find EJB. Because
there is no context in my production environment,
EJB
:03, "Patel, Sanjay"
a écrit :
> Do you get same error on 1.5.1?
>
> -Original Message-
> From: Romain Manni-Bucau [mailto:rmannibu...@gmail.com]
> Sent: Monday, March 11, 2013 4:52 PM
> To: users@tomee.apache.org
> Subject: Re: issue with REST service
>
*<http://rmannibucau.wordpress.com/>
*LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
*Github: https://github.com/rmannibucau*
2013/3/11 Patel, Sanjay
> See attached Project and war.
>
> Deploy war to tome 1.5.1.
>
> http://localhost:8080/test/secure/rest/one works
>
I have simple REST service. It returns list of entity. (e.g. Event)
@GET
@Path("/events")
@Produces({ "application/json" })
public List findEvents() {
return eventBean.findEvents().getList();
}
It works fine if return type is List. If I change it
47 matches
Mail list logo