Win a copy of AWS Security this week in the Cloud/Virtualization forum!

arnold benda

+ Follow
since Jun 22, 2017
Cows and Likes
Total received
In last 30 days
Total given
Total received
Received in last 30 days
Total given
Given in last 30 days
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by arnold benda

Hello sir.
Thank you for reply.
Yes. I am sure about the java:jboss.
I can run the web application in eclipse.
But when I deploy the war file in wildfly,  I can get such error.
2 years ago
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'cpDataSource': Invocation of init method failed; nested exception is javax.naming.NameNotFoundException: jdbc/fc
I am using wildfly 10 and Here is web.xml .

This is context.xml

Here is applicationContext.xml

How can I fix this issue? Thanks.

2 years ago

Frits Walraven wrote:Remove the two <ejb-local-ref>s to Entity beans for a starter.

I removed the 2 ejb-local-ref .
But it is same.

I am using wildfly 10.0.x. And I am migrating ejb2.1 to ejb3.2 so this is my ejb-jar.xml file

But I cannot deploy this ejb to server.

23:05:46,635 ERROR [] (MSC service thread 1-2) MSC000001: Failed to start service jboss.deployment.unit."cppro.war".PARSE: org.jboss.msc.service.StartException in service jboss.deployment.unit."cppro.war".PARSE: WFLYSRV0153: Failed to process phase PARSE of deployment "cppro.war" at at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService( at org.jboss.msc.service.ServiceControllerImpl$ at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$ Source) at Source) Caused by: WFLYEJB0450: Entity Beans are no longer supported, beans ModelEEJB cannot be deployed at at ... 5 more

How can I fix it?