This week's book giveaway is in the Reactive Progamming forum.
We're giving away four copies of Reactive Streams in Java: Concurrency with RxJava, Reactor, and Akka Streams and have Adam Davis on-line!
See this thread for details.
Win a copy of Reactive Streams in Java: Concurrency with RxJava, Reactor, and Akka Streams this week in the Reactive Progamming forum!

arnold benda

Greenhorn
+ Follow
since Jun 22, 2017
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
1
Given in last 30 days
0
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 [org.jboss.msc.service.fail] (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 org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:154) at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1948) at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1881) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: WFLYEJB0450: Entity Beans are no longer supported, beans ModelEEJB cannot be deployed at org.jboss.as.ejb3.deployment.processors.EjbJarParsingDeploymentUnitProcessor.deploy(EjbJarParsingDeploymentUnitProcessor.java:179) at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:147) ... 5 more


How can I fix it?