Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Java > Other Java > BOOK: Professional Oracle WebLogic Server
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: Professional Oracle WebLogic Server
This is the forum to discuss the Wrox book Professional Oracle WebLogic Server by Robert Patrick, Gregory Nyberg, Philip Aston with Josh Bregman, Paul Done; ISBN: 978-0-470-48430-2
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional Oracle WebLogic Server section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Display Modes
  #21 (permalink)  
Old November 30th, 2011, 02:59 AM
Registered User
Points: 12, Level: 1
Points: 12, Level: 1 Points: 12, Level: 1 Points: 12, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Nov 2011
Posts: 4
Thanks: 1
Thanked 0 Times in 0 Posts
Default JPA error on Eclipse deploy (wls 10.3.4)

Deploy is successful from ant command line.
Eclipse Deploy fails, see 1 and 2 below.

Thanks

Ken

1. Loaded into Eclipse, ant build only on webservices, followed instructions on page 707 regarding to setup up a connection for JPA, Result:


Error
Tue Nov 29 23:51:14 CST 2011
weblogic.management.DeploymentException:

java.lang.Exception: Exception received from deployment driver. See Error Log view for more detail.
at oracle.eclipse.tools.weblogic.server.internal.Depl oymentProgressListener.watch(DeploymentProgressLis tener.java:190)
at oracle.eclipse.tools.weblogic.server.internal.WlsJ 2EEDeploymentHelper.deploy(WlsJ2EEDeploymentHelper .java:466)
at oracle.eclipse.tools.weblogic.server.internal.Webl ogicServerBehaviour.publishWeblogicModules(Weblogi cServerBehaviour.java:1420)
at oracle.eclipse.tools.weblogic.server.internal.Webl ogicServerBehaviour.publishToServer(WeblogicServer Behaviour.java:861)
at oracle.eclipse.tools.weblogic.server.internal.Webl ogicServerBehaviour.publishOnce(WeblogicServerBeha viour.java:655)
at oracle.eclipse.tools.weblogic.server.internal.Webl ogicServerBehaviour.publish(WeblogicServerBehaviou r.java:522)
at org.eclipse.wst.server.core.model.ServerBehaviourD elegate.publish(ServerBehaviourDelegate.java:775)
at org.eclipse.wst.server.core.internal.Server.publis hImpl(Server.java:2889)
at org.eclipse.wst.server.core.internal.Server$Publis hJob.run(Server.java:337)
at org.eclipse.core.internal.jobs.Worker.run(Worker.j ava:54)
Caused by: weblogic.management.DeploymentException:
at weblogic.application.internal.BaseDeployment.throw AppException(BaseDeployment.java:79)
at weblogic.application.internal.BaseDeployment.prepa re(BaseDeployment.java:186)
at weblogic.application.internal.EarDeployment.prepar e(EarDeployment.java:58)
at weblogic.application.internal.DeploymentStateCheck er.prepare(DeploymentStateChecker.java:154)
at weblogic.deploy.internal.targetserver.AppContainer Invoker.prepare(AppContainerInvoker.java:60)
at weblogic.deploy.internal.targetserver.operations.A ctivateOperation.createAndPrepareContainer(Activat eOperation.java:208)
at weblogic.deploy.internal.targetserver.operations.A ctivateOperation.doPrepare(ActivateOperation.java: 98)
at weblogic.deploy.internal.targetserver.operations.A bstractOperation.prepare(AbstractOperation.java:21 7)
at weblogic.deploy.internal.targetserver.DeploymentMa nager.handleDeploymentPrepare(DeploymentManager.ja va:749)
at weblogic.deploy.internal.targetserver.DeploymentMa nager.prepareDeploymentList(DeploymentManager.java :1216)
at weblogic.deploy.internal.targetserver.DeploymentMa nager.handlePrepare(DeploymentManager.java:250)
at weblogic.deploy.internal.targetserver.DeploymentSe rviceDispatcher.prepare(DeploymentServiceDispatche r.java:160)
at weblogic.deploy.service.internal.targetserver.Depl oymentReceiverCallbackDeliverer.doPrepareCallback( DeploymentReceiverCallbackDeliverer.java:171)
at weblogic.deploy.service.internal.targetserver.Depl oymentReceiverCallbackDeliverer.access$000(Deploym entReceiverCallbackDeliverer.java:13)
at weblogic.deploy.service.internal.targetserver.Depl oymentReceiverCallbackDeliverer$1.run(DeploymentRe ceiverCallbackDeliverer.java:47)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapte rImpl.run(SelfTuningWorkManagerImpl.java:528)
at weblogic.work.ExecuteThread.execute(ExecuteThread. java:207)
at weblogic.work.ExecuteThread.run(ExecuteThread.java :176)
Caused by: java.lang.Throwable: Substituted for missing class Exception [EclipseLink-7169] (Eclipse Persistence Services - 2.1.2.v20101206-r8635) - org.eclipse.persistence.exceptions.ValidationExcep tion
Exception Description: Class [class com.bigrez.domain.Reservation] has two @GeneratedValues: for fields [RESERVATION.ID] and [RESERVATION.CONFIRMNUM]. Only one is allowed.
at org.eclipse.persistence.exceptions.ValidationExcep tion.onlyOneGeneratedValueIsAllowed(ValidationExce ption.java:2068)
at org.eclipse.persistence.internal.jpa.metadata.acce ssors.mappings.BasicAccessor.processGeneratedValue (BasicAccessor.java:424)
at org.eclipse.persistence.internal.jpa.metadata.acce ssors.mappings.BasicAccessor.process(BasicAccessor .java:378)
at org.eclipse.persistence.internal.jpa.metadata.Meta dataDescriptor.processAccessors(MetadataDescriptor .java:1365)
at org.eclipse.persistence.internal.jpa.metadata.acce ssors.classes.ClassAccessor.processAccessors(Class Accessor.java:963)
at org.eclipse.persistence.internal.jpa.metadata.acce ssors.classes.EntityAccessor.processAccessors(Enti tyAccessor.java:876)
at org.eclipse.persistence.internal.jpa.metadata.acce ssors.classes.EntityAccessor.process(EntityAccesso r.java:691)
at org.eclipse.persistence.internal.jpa.metadata.Meta dataProject.processStage2(MetadataProject.java:153 1)
at org.eclipse.persistence.internal.jpa.metadata.Meta dataProcessor.processORMMetadata(MetadataProcessor .java:474)
at org.eclipse.persistence.internal.jpa.deployment.Pe rsistenceUnitProcessor.processORMetadata(Persisten ceUnitProcessor.java:441)
at org.eclipse.persistence.internal.jpa.EntityManager SetupImpl.predeploy(EntityManagerSetupImpl.java:96 8)
at org.eclipse.persistence.jpa.PersistenceProvider.cr eateContainerEntityManagerFactory(PersistenceProvi der.java:205)
at weblogic.deployment.BasePersistenceUnitInfoImpl.in itializeEntityManagerFactory(BasePersistenceUnitIn foImpl.java:393)
at weblogic.deployment.BasePersistenceUnitInfoImpl.in itializeEntityManagerFactory(BasePersistenceUnitIn foImpl.java:386)
at weblogic.deployment.BasePersistenceUnitInfoImpl.<i nit>(BasePersistenceUnitInfoImpl.java:158)
at weblogic.deployment.PersistenceUnitInfoImpl.<init> (PersistenceUnitInfoImpl.java:39)
at weblogic.deployment.AbstractPersistenceUnitRegistr y.storeDescriptors(AbstractPersistenceUnitRegistry .java:349)
at weblogic.deployment.EarPersistenceUnitRegistry.ini tialize(EarPersistenceUnitRegistry.java:72)
at weblogic.application.internal.flow.InitJpaFlow.pre pare(InitJpaFlow.java:38)
at weblogic.application.internal.BaseDeployment$1.nex t(BaseDeployment.java:613)
at weblogic.application.utils.StateMachineDriver.next State(StateMachineDriver.java:52)
at weblogic.application.internal.BaseDeployment.prepa re(BaseDeployment.java:184)
at weblogic.application.internal.EarDeployment.prepar e(EarDeployment.java:58)
at weblogic.application.internal.DeploymentStateCheck er.prepare(DeploymentStateChecker.java:154)
at weblogic.deploy.internal.targetserver.AppContainer Invoker.prepare(AppContainerInvoker.java:60)
at weblogic.deploy.internal.targetserver.operations.A ctivateOperation.createAndPrepareContainer(Activat eOperation.java:207)
at weblogic.deploy.internal.targetserver.operations.A ctivateOperation.doPrepare(ActivateOperation.java: 98)
at weblogic.deploy.internal.targetserver.operations.A bstractOperation.prepare(AbstractOperation.java:21 7)
at weblogic.deploy.internal.targetserver.DeploymentMa nager.handleDeploymentPrepare(DeploymentManager.ja va:747)
at weblogic.deploy.internal.targetserver.DeploymentMa nager.prepareDeploymentList(DeploymentManager.java :1216)
at weblogic.deploy.internal.targetserver.DeploymentMa nager.handlePrepare(DeploymentManager.java:250)
at weblogic.deploy.internal.targetserver.DeploymentSe rviceDispatcher.prepare(DeploymentServiceDispatche r.java:159)
at weblogic.deploy.service.internal.targetserver.Depl oymentReceiverCallbackDeliverer.doPrepareCallback( DeploymentReceiverCallbackDeliverer.java:171)
at weblogic.deploy.service.internal.targetserver.Depl oymentReceiverCallbackDeliverer.access$000(Deploym entReceiverCallbackDeliverer.java:13)
at weblogic.deploy.service.internal.targetserver.Depl oymentReceiverCallbackDeliverer$1.run(DeploymentRe ceiverCallbackDeliverer.java:46)

************************************************** *******************
2. Commented out Annotation on Reservation.confirmnum and uncommented @Prepersist code and redeployed, Result:

java.lang.Exception: Exception received from deployment driver. See Error Log view for more detail.
at oracle.eclipse.tools.weblogic.server.internal.Depl oymentProgressListener.watch(DeploymentProgressLis tener.java:190)
at oracle.eclipse.tools.weblogic.server.internal.WlsJ 2EEDeploymentHelper.deploy(WlsJ2EEDeploymentHelper .java:466)
at oracle.eclipse.tools.weblogic.server.internal.Webl ogicServerBehaviour.publishWeblogicModules(Weblogi cServerBehaviour.java:1420)
at oracle.eclipse.tools.weblogic.server.internal.Webl ogicServerBehaviour.publishToServer(WeblogicServer Behaviour.java:861)
at oracle.eclipse.tools.weblogic.server.internal.Webl ogicServerBehaviour.publishOnce(WeblogicServerBeha viour.java:655)
at oracle.eclipse.tools.weblogic.server.internal.Webl ogicServerBehaviour.publish(WeblogicServerBehaviou r.java:522)
at org.eclipse.wst.server.core.model.ServerBehaviourD elegate.publish(ServerBehaviourDelegate.java:775)
at org.eclipse.wst.server.core.internal.Server.publis hImpl(Server.java:2889)
at org.eclipse.wst.server.core.internal.Server$Publis hJob.run(Server.java:337)
at org.eclipse.core.internal.jobs.Worker.run(Worker.j ava:54)
Caused by: weblogic.application.ModuleException:
at weblogic.servlet.internal.WebAppModule.startContex ts(WebAppModule.java:1510)
at weblogic.servlet.internal.WebAppModule.start(WebAp pModule.java:482)
at weblogic.application.internal.flow.ModuleStateDriv er$3.next(ModuleStateDriver.java:425)
at weblogic.application.utils.StateMachineDriver.next State(StateMachineDriver.java:52)
at weblogic.application.internal.flow.ModuleStateDriv er.start(ModuleStateDriver.java:119)
at weblogic.application.internal.flow.ScopedModuleDri ver.start(ScopedModuleDriver.java:201)
at weblogic.application.internal.flow.ModuleListenerI nvoker.start(ModuleListenerInvoker.java:249)
at weblogic.application.internal.flow.ModuleStateDriv er$3.next(ModuleStateDriver.java:427)
at weblogic.application.utils.StateMachineDriver.next State(StateMachineDriver.java:52)
at weblogic.application.internal.flow.ModuleStateDriv er.start(ModuleStateDriver.java:119)
at weblogic.application.internal.flow.StartModulesFlo w.activate(StartModulesFlow.java:28)
at weblogic.application.internal.BaseDeployment$2.nex t(BaseDeployment.java:637)
at weblogic.application.utils.StateMachineDriver.next State(StateMachineDriver.java:52)
at weblogic.application.internal.BaseDeployment.activ ate(BaseDeployment.java:205)
at weblogic.application.internal.EarDeployment.activa te(EarDeployment.java:58)
at weblogic.application.internal.DeploymentStateCheck er.activate(DeploymentStateChecker.java:161)
at weblogic.deploy.internal.targetserver.AppContainer Invoker.activate(AppContainerInvoker.java:79)
at weblogic.deploy.internal.targetserver.operations.A bstractOperation.activate(AbstractOperation.java:5 69)
at weblogic.deploy.internal.targetserver.operations.A ctivateOperation.activateDeployment(ActivateOperat ion.java:150)
at weblogic.deploy.internal.targetserver.operations.A ctivateOperation.doCommit(ActivateOperation.java:1 16)
at weblogic.deploy.internal.targetserver.operations.A bstractOperation.commit(AbstractOperation.java:323 )
at weblogic.deploy.internal.targetserver.DeploymentMa nager.handleDeploymentCommit(DeploymentManager.jav a:844)
at weblogic.deploy.internal.targetserver.DeploymentMa nager.activateDeploymentList(DeploymentManager.jav a:1253)
at weblogic.deploy.internal.targetserver.DeploymentMa nager.handleCommit(DeploymentManager.java:440)
at weblogic.deploy.internal.targetserver.DeploymentSe rviceDispatcher.commit(DeploymentServiceDispatcher .java:164)
at weblogic.deploy.service.internal.targetserver.Depl oymentReceiverCallbackDeliverer.doCommitCallback(D eploymentReceiverCallbackDeliverer.java:195)
at weblogic.deploy.service.internal.targetserver.Depl oymentReceiverCallbackDeliverer.access$100(Deploym entReceiverCallbackDeliverer.java:13)
at weblogic.deploy.service.internal.targetserver.Depl oymentReceiverCallbackDeliverer$2.run(DeploymentRe ceiverCallbackDeliverer.java:69)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapte rImpl.run(SelfTuningWorkManagerImpl.java:528)
at weblogic.work.ExecuteThread.execute(ExecuteThread. java:207)
at weblogic.work.ExecuteThread.run(ExecuteThread.java :176)
Caused by: javax.naming.NameNotFoundException: While trying to lookup 'bigrez.datasource.nonjta' didn't find subcontext 'bigrez'. Resolved ''; remaining name 'bigrez/datasource/nonjta'
at weblogic.jndi.internal.BasicNamingNode.newNameNotF oundException(BasicNamingNode.java:1139)
at weblogic.jndi.internal.BasicNamingNode.lookupHere( BasicNamingNode.java:247)
at weblogic.jndi.internal.ServerNamingNode.lookupHere (ServerNamingNode.java:182)
at weblogic.jndi.internal.BasicNamingNode.lookup(Basi cNamingNode.java:206)
at weblogic.jndi.internal.WLEventContextImpl.lookup(W LEventContextImpl.java:254)
at weblogic.jndi.internal.WLContextImpl.lookup(WLCont extImpl.java:401)
at javax.naming.InitialContext.lookup(InitialContext. java:396)
at org.eclipse.persistence.sessions.JNDIConnector.con nect(JNDIConnector.java:110)
at org.eclipse.persistence.sessions.JNDIConnector.con nect(JNDIConnector.java:94)
at org.eclipse.persistence.sessions.DatasourceLogin.c onnectToDatasource(DatasourceLogin.java:162)
at org.eclipse.persistence.internal.sessions.Database SessionImpl.loginAndDetectDatasource(DatabaseSessi onImpl.java:579)
at org.eclipse.persistence.internal.jpa.EntityManager FactoryProvider.login(EntityManagerFactoryProvider .java:228)
at org.eclipse.persistence.internal.jpa.EntityManager SetupImpl.deploy(EntityManagerSetupImpl.java:389)
at org.eclipse.persistence.internal.jpa.EntityManager FactoryImpl.getServerSession(EntityManagerFactoryI mpl.java:164)
at org.eclipse.persistence.internal.jpa.EntityManager FactoryImpl.createEntityManagerImpl(EntityManagerF actoryImpl.java:221)
at org.eclipse.persistence.internal.jpa.EntityManager FactoryImpl.createEntityManager(EntityManagerFacto ryImpl.java:209)
at weblogic.deployment.TransactionalEntityManagerProx yImpl.newPersistenceContext(TransactionalEntityMan agerProxyImpl.java:65)
at weblogic.deployment.BasePersistenceContextProxyImp l.getPersistenceContext(BasePersistenceContextProx yImpl.java:170)
at weblogic.deployment.BasePersistenceContextProxyImp l.invoke(BasePersistenceContextProxyImpl.java:101)
at weblogic.deployment.TransactionalEntityManagerProx yImpl.invoke(TransactionalEntityManagerProxyImpl.j ava:77)
at weblogic.deployment.BasePersistenceContextProxyImp l.invoke(BasePersistenceContextProxyImpl.java:87)
at weblogic.deployment.TransactionalEntityManagerProx yImpl.invoke(TransactionalEntityManagerProxyImpl.j ava:18)
at $Proxy103.createNamedQuery(Unknown Source)
at com.bigrez.service.impl.PropertyServicesImpl.getAl lStateCodes(PropertyServicesImpl.java:287)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.bea.core.repackaged.springframework.aop.suppor t.AopUtils.invokeJoinpointUsingReflection(AopUtils .java:310)
at com.bea.core.repackaged.springframework.aop.framew ork.ReflectiveMethodInvocation.invokeJoinpoint(Ref lectiveMethodInvocation.java:182)
at com.bea.core.repackaged.springframework.aop.framew ork.ReflectiveMethodInvocation.proceed(ReflectiveM ethodInvocation.java:149)
at com.bea.core.repackaged.springframework.jee.interc ept.MethodInvocationInvocationContext.proceed(Meth odInvocationInvocationContext.java:104)
at com.bigrez.service.impl.LoggingInterceptor$beaVers ion0_81.audit(LoggingInterceptor.java:47)
at com.bigrez.service.impl.LoggingInterceptor.audit(L oggingInterceptor.java:0)
at com.bigrez.service.impl.LoggingInterceptor_kycj1i_ Impl.audit(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.bea.core.repackaged.springframework.aop.suppor t.AopUtils.invokeJoinpointUsingReflection(AopUtils .java:310)
at com.bea.core.repackaged.springframework.jee.interc ept.JeeInterceptorInterceptor.invoke(JeeIntercepto rInterceptor.java:69)
at com.bea.core.repackaged.springframework.aop.framew ork.ReflectiveMethodInvocation.proceed(ReflectiveM ethodInvocation.java:171)
at com.bea.core.repackaged.springframework.aop.suppor t.DelegatingIntroductionInterceptor.doProceed(Dele gatingIntroductionInterceptor.java:131)
at com.bea.core.repackaged.springframework.aop.suppor t.DelegatingIntroductionInterceptor.invoke(Delegat ingIntroductionInterceptor.java:119)
at com.bea.core.repackaged.springframework.aop.framew ork.ReflectiveMethodInvocation.proceed(ReflectiveM ethodInvocation.java:171)
at com.bea.core.repackaged.springframework.jee.spi.Me thodInvocationVisitorImpl.visit(MethodInvocationVi sitorImpl.java:37)
at weblogic.ejb.container.injection.EnvironmentInterc eptorCallbackImpl.callback(EnvironmentInterceptorC allbackImpl.java:54)
at com.bea.core.repackaged.springframework.jee.spi.En vironmentInterceptor.invoke(EnvironmentInterceptor .java:50)
at com.bea.core.repackaged.springframework.aop.framew ork.ReflectiveMethodInvocation.proceed(ReflectiveM ethodInvocation.java:171)
at com.bea.core.repackaged.springframework.aop.interc eptor.ExposeInvocationInterceptor.invoke(ExposeInv ocationInterceptor.java:89)
at com.bea.core.repackaged.springframework.aop.framew ork.ReflectiveMethodInvocation.proceed(ReflectiveM ethodInvocation.java:171)
at com.bea.core.repackaged.springframework.aop.suppor t.DelegatingIntroductionInterceptor.doProceed(Dele gatingIntroductionInterceptor.java:131)
at com.bea.core.repackaged.springframework.aop.suppor t.DelegatingIntroductionInterceptor.invoke(Delegat ingIntroductionInterceptor.java:119)
at com.bea.core.repackaged.springframework.aop.framew ork.ReflectiveMethodInvocation.proceed(ReflectiveM ethodInvocation.java:171)
at com.bea.core.repackaged.springframework.aop.framew ork.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.j ava:204)
at $Proxy105.getAllStateCodes(Unknown Source)
at com.bigrez.service.impl.PropertyServicesImpl_z078x 2_PropertyServicesImpl$beaVersion0_92.__WL_invoke( Unknown Source)
at com.bigrez.service.impl.PropertyServicesImpl_z078x 2_PropertyServicesImpl.__WL_invoke(Unknown Source)
at weblogic.ejb.container.internal.SessionLocalMethod Invoker.invoke(SessionLocalMethodInvoker.java:39)
at com.bigrez.service.impl.PropertyServicesImpl_z078x 2_PropertyServicesImpl$beaVersion0_92.getAllStateC odes(Unknown Source)
at com.bigrez.service.impl.PropertyServicesImpl_z078x 2_PropertyServicesImpl.getAllStateCodes(Unknown Source)
at com.bigrez.web.InitializationListener$beaVersion0_ 80.performInitialization(InitializationListener.ja va:45)
at com.bigrez.web.InitializationListener.performIniti alization(InitializationListener.java:0)
at com.bigrez.web.InitializationListener.beaAccessper formInitialization(InitializationListener.java:0)
at com.bigrez.web.InitializationListener$beaVersion0_ 80.contextInitialized(InitializationListener.java: 30)
at com.bigrez.web.InitializationListener.contextIniti alized(InitializationListener.java:0)
at weblogic.servlet.internal.EventsManager$FireContex tListenerAction.run(EventsManager.java:481)
at weblogic.security.acl.internal.AuthenticatedSubjec t.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(Se curityManager.java:120)
at weblogic.servlet.internal.EventsManager.notifyCont extCreatedEvent(EventsManager.java:181)
at weblogic.servlet.internal.WebAppServletContext.pre loadResources(WebAppServletContext.java:1872)
at weblogic.servlet.internal.WebAppServletContext.sta rt(WebAppServletContext.java:3153)
at weblogic.servlet.internal.WebAppModule.startContex ts(WebAppModule.java:1508)
at weblogic.servlet.internal.WebAppModule.start(WebAp pModule.java:482)
at weblogic.application.internal.flow.ModuleStateDriv er$3.next(ModuleStateDriver.java:425)
at weblogic.application.utils.StateMachineDriver.next State(StateMachineDriver.java:52)
at weblogic.application.internal.flow.ModuleStateDriv er.start(ModuleStateDriver.java:119)
at weblogic.application.internal.flow.ScopedModuleDri ver.start(ScopedModuleDriver.java:200)
at weblogic.application.internal.flow.ModuleListenerI nvoker.start(ModuleListenerInvoker.java:247)
at weblogic.application.internal.flow.ModuleStateDriv er$3.next(ModuleStateDriver.java:425)
at weblogic.application.utils.StateMachineDriver.next State(StateMachineDriver.java:52)
at weblogic.application.internal.flow.ModuleStateDriv er.start(ModuleStateDriver.java:119)
at weblogic.application.internal.flow.StartModulesFlo w.activate(StartModulesFlow.java:27)
at weblogic.application.internal.BaseDeployment$2.nex t(BaseDeployment.java:636)
at weblogic.application.utils.StateMachineDriver.next State(StateMachineDriver.java:52)
at weblogic.application.internal.BaseDeployment.activ ate(BaseDeployment.java:205)
at weblogic.application.internal.EarDeployment.activa te(EarDeployment.java:58)
at weblogic.application.internal.DeploymentStateCheck er.activate(DeploymentStateChecker.java:161)
at weblogic.deploy.internal.targetserver.AppContainer Invoker.activate(AppContainerInvoker.java:79)
at weblogic.deploy.internal.targetserver.operations.A bstractOperation.activate(AbstractOperation.java:5 69)
at weblogic.deploy.internal.targetserver.operations.A ctivateOperation.activateDeployment(ActivateOperat ion.java:150)
at weblogic.deploy.internal.targetserver.operations.A ctivateOperation.doCommit(ActivateOperation.java:1 16)
at weblogic.deploy.internal.targetserver.operations.A bstractOperation.commit(AbstractOperation.java:323 )
at weblogic.deploy.internal.targetserver.DeploymentMa nager.handleDeploymentCommit(DeploymentManager.jav a:844)
at weblogic.deploy.internal.targetserver.DeploymentMa nager.activateDeploymentList(DeploymentManager.jav a:1253)
at weblogic.deploy.internal.targetserver.DeploymentMa nager.handleCommit(DeploymentManager.java:440)
at weblogic.deploy.internal.targetserver.DeploymentSe rviceDispatcher.commit(DeploymentServiceDispatcher .java:163)
at weblogic.deploy.service.internal.targetserver.Depl oymentReceiverCallbackDeliverer.doCommitCallback(D eploymentReceiverCallbackDeliverer.java:195)
at weblogic.deploy.service.internal.targetserver.Depl oymentReceiverCallbackDeliverer.access$100(Deploym entReceiverCallbackDeliverer.java:13)
at weblogic.deploy.service.internal.targetserver.Depl oymentReceiverCallbackDeliverer$2.run(DeploymentRe ceiverCallbackDeliverer.java:68)

Do all ant builds have to run before a deploy in eclipse?
  #22 (permalink)  
Old December 3rd, 2011, 01:24 PM
Authorized User
Points: 42, Level: 1
Points: 42, Level: 1 Points: 42, Level: 1 Points: 42, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Nov 2009
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Default

You're using eclipselink, so the edit you made for 2. is correct. You should also read pages 260-263 which tells you about required changes to build.xml and persistence.xml.

The error you are getting for 2. indicates that a JNDI look up for a data source failed. Please check the server to which you are deploying has a non-transactional data source bound to the JNDI name "bigrez.datasource.jta".

- Phil
 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Building an Excel like Application yuenli C# 2005 1 June 22nd, 2007 12:57 PM
Building web application using NANT ydevesh NAnt 0 November 17th, 2006 09:30 AM
Book Sample "GeneratedDataGridView" relloz Pro Visual Basic 2005 1 February 3rd, 2006 03:09 AM
codes about this book: Building An ASP.NET Intrane john.shu General .NET 2 November 28th, 2005 09:51 AM
Building School Library Application??? mythinky .NET Web Services 1 March 1st, 2004 06:40 PM



All times are GMT -4. The time now is 12:38 PM.


Powered by vBulletin®
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.