Classpath problem when deploying a persistence unit (in JBoss)

Hello,
I have a JAR file containing an EJB with a persistence.xml file.
I also have another JAR project containing a persistent annotated POJO class that the persistence unit is supposed to map.
I defined the class in the persistence unit using a class XML element, but because it's in another JAR, the persistence unit implementation cannot find it. I tried to use a jar-file element instead and specify the name of the JAR containing the POJO, and from the log it seems the class is found and identified as persistent, but then the actual mapping operation fails because of the same reason! I also tried to edit the classpath property in the EJB JAR's manifest fileto include the POJO JAR, but that did not help too...
Does anyone know what I'm missing here and how to make the persistence unit succeed in mapping the POJO class?
Thanks.

Ok, some more details regarding the problem:
Here is the persistence unit definition:
<persistence-unit name="NorthwindPU" transaction-type="JTA">
          <provider>org.hibernate.ejb.HibernatePersistence</provider>
          <jta-data-source>jdbc/NorthwindDB</jta-data-source>
          <!-- <class>personal.test.domain_layer.Product</class> -->
          <jar-file>TestProjectPersistence.jar</jar-file>
          <properties>
               <property name="hibernate.transaction.factory_class"
                    value="org.hibernate.transaction.CMTTransactionFactory"/>
               <property name="hibernate.transaction.manager_lookup_class"
                    value="org.hibernate.transaction.JBossTransactionManagerLookup"/>
               <property name="hibernate.dialect" value="org.hibernate.dialect.PostgreSQLDialect"/>
               <property name="hibernate.current_session_context_class" value="jta"/>
          </properties>
</persistence-unit>Here is the stack trace I get when starting the server and deploying the application:
javax.persistence.PersistenceException: [PersistenceUnit: NorthwindPU] class or package not found
     at org.hibernate.ejb.Ejb3Configuration.addNamedAnnotatedClasses(Ejb3Configuration.java:1093)
     at org.hibernate.ejb.Ejb3Configuration.addClassesToSessionFactory(Ejb3Configuration.java:871)
     at org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:758)
     at org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:425)
     at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:131)
     at org.jboss.jpa.deployment.PersistenceUnitDeployment.start(PersistenceUnitDeployment.java:301)
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
     at java.lang.reflect.Method.invoke(Unknown Source)
     at org.jboss.reflect.plugins.introspection.ReflectionUtils.invoke(ReflectionUtils.java:59)
     at org.jboss.reflect.plugins.introspection.ReflectMethodInfoImpl.invoke(ReflectMethodInfoImpl.java:150)
     at org.jboss.joinpoint.plugins.BasicMethodJoinPoint.dispatch(BasicMethodJoinPoint.java:66)
     at org.jboss.kernel.plugins.dependency.KernelControllerContextAction$JoinpointDispatchWrapper.execute(KernelControllerContextAction.java:241)
     at org.jboss.kernel.plugins.dependency.ExecutionWrapper.execute(ExecutionWrapper.java:47)
     at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchExecutionWrapper(KernelControllerContextAction.java:109)
     at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchJoinPoint(KernelControllerContextAction.java:70)
     at org.jboss.kernel.plugins.dependency.LifecycleAction.installActionInternal(LifecycleAction.java:221)
     at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:54)
     at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:42)
     at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)
     at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)
     at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
     at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
     at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)
     at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
     at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)
     at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
     at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:774)
     at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:540)
     at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:121)
     at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:51)
     at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62)
     at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
     at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171)
     at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439)
     at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157)
     at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1178)
     at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1210)
     at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098)
     at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
     at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)
     at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
     at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)
     at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
     at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
     at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
     at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781)
     at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:698)
     at org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(ProfileServiceBootstrap.java:304)
     at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:205)
     at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:405)
     at org.jboss.Main.boot(Main.java:209)
     at org.jboss.Main$1.run(Main.java:547)
     at java.lang.Thread.run(Unknown Source)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

Similar Messages

  • Sessions problem when deploying to AS 10g (10.1.2.0.2)

    Hello,
    I have a very simple Web Application where I have isolated an issue I have found. The application works fine when executed in JDeveloper 10g (10.1.2.2) but it does not work when deployed in the AS 10g (10.1.2.0.2). My Platform is Windows XP Professional x64.
    The application has been created in JDeveloper (New &gt;&gt; Web Project) and contains:
    - a simple jsp page (main.jsp) displaying a dummy message,
    - a simple filter class (authFilter.java) which only has the following code in the doFilter method:
    HttpServletRequest hreq = (HttpServletRequest)request;
    System.out.println("*** session id = " + hreq.getSession().getId());
    System.out.println("*** requested session id = " + hreq.getRequestedSessionId());
    - a web deployment descriptor (web.xml) where the reference to the filter has been added:
    &lt;filter&gt;
    &lt;filter-name&gt;Filter1&lt;/filter-name&gt;
    &lt;filter-class&gt;myfilters.authFilter&lt;/filter-class&gt;
    &lt;/filter&gt;
    &lt;filter-mapping&gt;
    &lt;filter-name&gt;Filter1&lt;/filter-name&gt;
    &lt;url-pattern&gt;*.jsp&lt;/url-pattern&gt;
    &lt;/filter-mapping&gt;
    When running this inside JDeveloper, the output is the following:
    08/12/09 17:54:03 *** session id = ac1663b9231c2936edded7df423f9161c223ee0d4246
    08/12/09 17:54:03 *** requested session id = null
    08/12/09 17:54:08 *** session id = ac1663b9231c2936edded7df423f9161c223ee0d4246
    08/12/09 17:54:08 *** requested session id = ac1663b9231c2936edded7df423f9161c223ee0d4246
    08/12/09 17:54:10 *** session id = ac1663b9231c2936edded7df423f9161c223ee0d4246
    08/12/09 17:54:10 *** requested session id = ac1663b9231c2936edded7df423f9161c223ee0d4246
    Each time I reload the page in the browser I get two messages where the session id and the requested session id are equal and the same.
    However, when running the application inside the AS, the output is the following (taken from the opmn/logs/OC4J~my_component~default_island~1):
    08/12/09 17:56:58 *** session id = ac16322030d6da9410e6348449449a4cf1f0e65956cf
    08/12/09 17:56:58 *** requested session id = null
    08/12/09 17:57:01 *** session id = ac16322030d6bc42fa22332e41818aa6ece1fd371361
    08/12/09 17:57:01 *** requested session id = null
    08/12/09 17:57:02 *** session id = ac16322030d60895af4c8cc44aef9ff6e6e3b3fd2e04
    08/12/09 17:57:02 *** requested session id = null
    That is, each time the page is reloaded, a new session is created.
    This problem is actually blocking me since I would like to use the session to store some data used for authentication in the filter (dynamic credentials). As a new session is being created for each access, the data stored in the session is lost and users cannot log on the application.
    Thank you in advance,
    Jorge.
    Edited by: Jorge Pacios on 10-dic-2008 0:31
    Platform information added.

    It couldn't be such difficult.
    I have the jar's, the drivers in, the jdbc url connection as
    url="jdbc:oracle:thin:[USERNAME/PASSWORD]@IP:PORT:SID"/>
    Also I can connect via sqlplus with this string conn.
    The main error I get is
    "Cannot lookup jdbc datasource.
    The process domain was unable to lookup the TX datasource "jdbc/BPELServerDataSource"."

  • Problems when deploying web service onto Weblogic 12c

    Hello everybody:
    Created a web service with MyEclipse 8.5; when deploying onto Weblogic I'm facing this next problem:
    Nov 3, 2012 7:44:40 AM com.sun.xml.ws.transport.http.servlet.WSServletDelegate destroy
    INFO: WSSERVLET15: JAX-WS servlet destroyed
    Nov 3, 2012 7:44:40 AM com.sun.xml.ws.transport.http.servlet.WSServletContextListener contextDestroyed
    INFO: WSSERVLET13: JAX-WS context listener destroyed
    <Nov 3, 2012 7:44:40 AM CST> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1351950260963' for task '0'. Error is: 'weblogic.application.ModuleException: [HTTP:101216]Servlet: "com.sun.xml.ws.tx.webservice.member.at.CompletionCoordinatorPortTypeImpl" failed to preload on startup in Web application: "WSConsultaTrabajadorCurp".
    javax.xml.ws.WebServiceException: [failed to localize] WSP_1018_POLICY_EXCEPTION_WHILE_FINISHING_PARSING_WSDL()
    at com.sun.xml.ws.policy.jaxws.PolicyWSDLParserExtension.finished(PolicyWSDLParserExtension.java:1052)
    at com.sun.xml.ws.wsdl.parser.DelegatingParserExtension.finished(DelegatingParserExtension.java:183)
    at com.sun.xml.ws.wsdl.parser.WSDLParserExtensionFacade.finished(WSDLParserExtensionFacade.java:328)
    at com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.parse(RuntimeWSDLParser.java:242)
    at com.sun.xml.ws.server.EndpointFactory.getWSDLPort(EndpointFactory.java:550)
    at com.sun.xml.ws.server.EndpointFactory.createEndpoint(EndpointFactory.java:188)
    at com.sun.xml.ws.api.server.WSEndpoint.create(WSEndpoint.java:496)
    at com.sun.xml.ws.api.server.WSEndpoint.create(WSEndpoint.java:539)
    at weblogic.wsee.jaxws.JAXWSDeployedServlet.getEndpoint(JAXWSDeployedServlet.java:183)
    at weblogic.wsee.jaxws.JAXWSServlet.registerEndpoint(JAXWSServlet.java:135)
    at weblogic.wsee.jaxws.JAXWSServlet.init(JAXWSServlet.java:64)
    at weblogic.wsee.jaxws.JAXWSDeployedServlet.init(JAXWSDeployedServlet.java:54)
    at javax.servlet.GenericServlet.init(GenericServlet.java:241)
    at weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:283)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
    at weblogic.servlet.internal.StubSecurityHelper.createServlet(StubSecurityHelper.java:64)
    at weblogic.servlet.internal.StubLifecycleHelper.createOneInstance(StubLifecycleHelper.java:58)
    at weblogic.servlet.internal.StubLifecycleHelper.<init>(StubLifecycleHelper.java:48)
    at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:539)
    at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:1985)
    at weblogic.servlet.internal.WebAppServletContext.loadServletsOnStartup(WebAppServletContext.java:1959)
    at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1878)
    at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3153)
    at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1508)
    at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:482)
    at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
    at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
    at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
    at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:247)
    at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
    at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
    at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27)
    at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:636)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
    at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:205)
    at weblogic.application.internal.SingleModuleDeployment.activate(SingleModuleDeployment.java:43)
    at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
    at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
    at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:569)
    at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:150)
    at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:116)
    at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:323)
    at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:844)
    at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1253)
    at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:440)
    at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:163)
    at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:195)
    at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:13)
    at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:68)
    at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Caused by: com.sun.xml.ws.policy.PolicyException: [failed to localize] WSP_1014_POLICY_REFERENCE_DOES_NOT_EXIST(zip:C:/oracle/middleware/user_projects/domains/d_wsacceder/servers/AdminServer/tmp/_WL_user/_appsdir_WSConsultaTrabajadorCurp_dir/1f06hn/war/WEB-INF/lib/webservices-rt.jar!/WEB-INF/wsdl/wsat.wsdl#Addressing_policy)
    at com.sun.xml.ws.policy.jaxws.BuilderHandler.getPolicies(BuilderHandler.java:93)
    at com.sun.xml.ws.policy.jaxws.BuilderHandler.getPolicySubjects(BuilderHandler.java:103)
    at com.sun.xml.ws.policy.jaxws.BuilderHandlerEndpointScope.doPopulate(BuilderHandlerEndpointScope.java:67)
    at com.sun.xml.ws.policy.jaxws.BuilderHandler.populate(BuilderHandler.java:75)
    at com.sun.xml.ws.policy.jaxws.PolicyMapBuilder.getNewPolicyMap(PolicyMapBuilder.java:103)
    at com.sun.xml.ws.policy.jaxws.PolicyMapBuilder.getPolicyMap(PolicyMapBuilder.java:85)
    at com.sun.xml.ws.policy.jaxws.PolicyWSDLParserExtension.finished(PolicyWSDLParserExtension.java:1048)
    ... 54 more
    weblogic.application.ModuleException: [HTTP:101216]Servlet: "com.sun.xml.ws.tx.webservice.member.at.CompletionCoordinatorPortTypeImpl" failed to preload on startup in Web application: "WSConsultaTrabajadorCurp".
    javax.xml.ws.WebServiceException: [failed to localize] WSP_1018_POLICY_EXCEPTION_WHILE_FINISHING_PARSING_WSDL()
    at com.sun.xml.ws.policy.jaxws.PolicyWSDLParserExtension.finished(PolicyWSDLParserExtension.java:1052)
    at com.sun.xml.ws.wsdl.parser.DelegatingParserExtension.finished(DelegatingParserExtension.java:183)
    at com.sun.xml.ws.wsdl.parser.WSDLParserExtensionFacade.finished(WSDLParserExtensionFacade.java:328)
    at com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.parse(RuntimeWSDLParser.java:242)
    at com.sun.xml.ws.server.EndpointFactory.getWSDLPort(EndpointFactory.java:550)
    at com.sun.xml.ws.server.EndpointFactory.createEndpoint(EndpointFactory.java:188)
    at com.sun.xml.ws.api.server.WSEndpoint.create(WSEndpoint.java:496)
    at com.sun.xml.ws.api.server.WSEndpoint.create(WSEndpoint.java:539)
    at weblogic.wsee.jaxws.JAXWSDeployedServlet.getEndpoint(JAXWSDeployedServlet.java:183)
    at weblogic.wsee.jaxws.JAXWSServlet.registerEndpoint(JAXWSServlet.java:135)
    at weblogic.wsee.jaxws.JAXWSServlet.init(JAXWSServlet.java:64)
    at weblogic.wsee.jaxws.JAXWSDeployedServlet.init(JAXWSDeployedServlet.java:54)
    at javax.servlet.GenericServlet.init(GenericServlet.java:241)
    at weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:283)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
    at weblogic.servlet.internal.StubSecurityHelper.createServlet(StubSecurityHelper.java:64)
    at weblogic.servlet.internal.StubLifecycleHelper.createOneInstance(StubLifecycleHelper.java:58)
    at weblogic.servlet.internal.StubLifecycleHelper.<init>(StubLifecycleHelper.java:48)
    at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:539)
    at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:1985)
    at weblogic.servlet.internal.WebAppServletContext.loadServletsOnStartup(WebAppServletContext.java:1959)
    at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1878)
    at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3153)
    at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1508)
    at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:482)
    at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
    at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
    at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
    at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:247)
    at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
    at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
    at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27)
    at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:636)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
    at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:205)
    at weblogic.application.internal.SingleModuleDeployment.activate(SingleModuleDeployment.java:43)
    at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
    at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
    at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:569)
    at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:150)
    at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:116)
    at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:323)
    at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:844)
    at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1253)
    at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:440)
    at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:163)
    at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:195)
    at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:13)
    at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:68)
    at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Caused by: com.sun.xml.ws.policy.PolicyException: [failed to localize] WSP_1014_POLICY_REFERENCE_DOES_NOT_EXIST(zip:C:/oracle/middleware/user_projects/domains/d_wsacceder/servers/AdminServer/tmp/_WL_user/_appsdir_WSConsultaTrabajadorCurp_dir/1f06hn/war/WEB-INF/lib/webservices-rt.jar!/WEB-INF/wsdl/wsat.wsdl#Addressing_policy)
    at com.sun.xml.ws.policy.jaxws.BuilderHandler.getPolicies(BuilderHandler.java:93)
    at com.sun.xml.ws.policy.jaxws.BuilderHandler.getPolicySubjects(BuilderHandler.java:103)
    at com.sun.xml.ws.policy.jaxws.BuilderHandlerEndpointScope.doPopulate(BuilderHandlerEndpointScope.java:67)
    at com.sun.xml.ws.policy.jaxws.BuilderHandler.populate(BuilderHandler.java:75)
    at com.sun.xml.ws.policy.jaxws.PolicyMapBuilder.getNewPolicyMap(PolicyMapBuilder.java:103)
    at com.sun.xml.ws.policy.jaxws.PolicyMapBuilder.getPolicyMap(PolicyMapBuilder.java:85)
    at com.sun.xml.ws.policy.jaxws.PolicyWSDLParserExtension.finished(PolicyWSDLParserExtension.java:1048)
    ... 54 more
    at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1510)
    at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:482)
    at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
    at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
    Truncated. see log file for complete stacktrace
    Caused By: com.sun.xml.ws.policy.PolicyException: [failed to localize] WSP_1014_POLICY_REFERENCE_DOES_NOT_EXIST(zip:C:/oracle/middleware/user_projects/domains/d_wsacceder/servers/AdminServer/tmp/_WL_user/_appsdir_WSConsultaTrabajadorCurp_dir/1f06hn/war/WEB-INF/lib/webservices-rt.jar!/WEB-INF/wsdl/wsat.wsdl#Addressing_policy)
    at com.sun.xml.ws.policy.jaxws.BuilderHandler.getPolicies(BuilderHandler.java:93)
    at com.sun.xml.ws.policy.jaxws.BuilderHandler.getPolicySubjects(BuilderHandler.java:103)
    at com.sun.xml.ws.policy.jaxws.BuilderHandlerEndpointScope.doPopulate(BuilderHandlerEndpointScope.java:67)
    at com.sun.xml.ws.policy.jaxws.BuilderHandler.populate(BuilderHandler.java:75)
    at com.sun.xml.ws.policy.jaxws.PolicyMapBuilder.getNewPolicyMap(PolicyMapBuilder.java:103)
    Truncated. see log file for complete stacktrace
    >
    <Nov 3, 2012 7:44:40 AM CST> <Error> <Deployer> <BEA-149202> <Encountered an exception while attempting to commit the 1 task for the application '_appsdir_WSConsultaTrabajadorCurp_dir'.>
    <Nov 3, 2012 7:44:40 AM CST> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for application '_appsdir_WSConsultaTrabajadorCurp_dir'.>
    <Nov 3, 2012 7:44:40 AM CST> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
    weblogic.application.ModuleException: [HTTP:101216]Servlet: "com.sun.xml.ws.tx.webservice.member.at.CompletionCoordinatorPortTypeImpl" failed to preload on startup in Web application: "WSConsultaTrabajadorCurp".
    javax.xml.ws.WebServiceException: [failed to localize] WSP_1018_POLICY_EXCEPTION_WHILE_FINISHING_PARSING_WSDL()
    at com.sun.xml.ws.policy.jaxws.PolicyWSDLParserExtension.finished(PolicyWSDLParserExtension.java:1052)
    at com.sun.xml.ws.wsdl.parser.DelegatingParserExtension.finished(DelegatingParserExtension.java:183)
    at com.sun.xml.ws.wsdl.parser.WSDLParserExtensionFacade.finished(WSDLParserExtensionFacade.java:328)
    at com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.parse(RuntimeWSDLParser.java:242)
    at com.sun.xml.ws.server.EndpointFactory.getWSDLPort(EndpointFactory.java:550)
    at com.sun.xml.ws.server.EndpointFactory.createEndpoint(EndpointFactory.java:188)
    at com.sun.xml.ws.api.server.WSEndpoint.create(WSEndpoint.java:496)
    at com.sun.xml.ws.api.server.WSEndpoint.create(WSEndpoint.java:539)
    at weblogic.wsee.jaxws.JAXWSDeployedServlet.getEndpoint(JAXWSDeployedServlet.java:183)
    at weblogic.wsee.jaxws.JAXWSServlet.registerEndpoint(JAXWSServlet.java:135)
    at weblogic.wsee.jaxws.JAXWSServlet.init(JAXWSServlet.java:64)
    at weblogic.wsee.jaxws.JAXWSDeployedServlet.init(JAXWSDeployedServlet.java:54)
    at javax.servlet.GenericServlet.init(GenericServlet.java:241)
    at weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:283)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
    at weblogic.servlet.internal.StubSecurityHelper.createServlet(StubSecurityHelper.java:64)
    at weblogic.servlet.internal.StubLifecycleHelper.createOneInstance(StubLifecycleHelper.java:58)
    at weblogic.servlet.internal.StubLifecycleHelper.<init>(StubLifecycleHelper.java:48)
    at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:539)
    at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:1985)
    at weblogic.servlet.internal.WebAppServletContext.loadServletsOnStartup(WebAppServletContext.java:1959)
    at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1878)
    at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3153)
    at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1508)
    at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:482)
    at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
    at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
    at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
    at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:247)
    at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
    at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
    at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27)
    at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:636)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
    at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:205)
    at weblogic.application.internal.SingleModuleDeployment.activate(SingleModuleDeployment.java:43)
    at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
    at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
    at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:569)
    at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:150)
    at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:116)
    at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:323)
    at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:844)
    at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1253)
    at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:440)
    at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:163)
    at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:195)
    at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:13)
    at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:68)
    at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Caused by: com.sun.xml.ws.policy.PolicyException: [failed to localize] WSP_1014_POLICY_REFERENCE_DOES_NOT_EXIST(zip:C:/oracle/middleware/user_projects/domains/d_wsacceder/servers/AdminServer/tmp/_WL_user/_appsdir_WSConsultaTrabajadorCurp_dir/1f06hn/war/WEB-INF/lib/webservices-rt.jar!/WEB-INF/wsdl/wsat.wsdl#Addressing_policy)
    at com.sun.xml.ws.policy.jaxws.BuilderHandler.getPolicies(BuilderHandler.java:93)
    at com.sun.xml.ws.policy.jaxws.BuilderHandler.getPolicySubjects(BuilderHandler.java:103)
    at com.sun.xml.ws.policy.jaxws.BuilderHandlerEndpointScope.doPopulate(BuilderHandlerEndpointScope.java:67)
    at com.sun.xml.ws.policy.jaxws.BuilderHandler.populate(BuilderHandler.java:75)
    at com.sun.xml.ws.policy.jaxws.PolicyMapBuilder.getNewPolicyMap(PolicyMapBuilder.java:103)
    at com.sun.xml.ws.policy.jaxws.PolicyMapBuilder.getPolicyMap(PolicyMapBuilder.java:85)
    at com.sun.xml.ws.policy.jaxws.PolicyWSDLParserExtension.finished(PolicyWSDLParserExtension.java:1048)
    ... 54 more
    :com.sun.xml.ws.policy.PolicyException:[failed to localize] WSP_1014_POLICY_REFERENCE_DOES_NOT_EXIST(zip:C:/oracle/middleware/user_projects/domains/d_wsacceder/servers/AdminServer/tmp/_WL_user/_appsdir_WSConsultaTrabajadorCurp_dir/1f06hn/war/WEB-INF/lib/webservices-rt.jar!/WEB-INF/wsdl/wsat.wsdl#Addressing_policy)
    at com.sun.xml.ws.policy.jaxws.BuilderHandler.getPolicies(BuilderHandler.java:93)
    at com.sun.xml.ws.policy.jaxws.BuilderHandler.getPolicySubjects(BuilderHandler.java:103)
    at com.sun.xml.ws.policy.jaxws.BuilderHandlerEndpointScope.doPopulate(BuilderHandlerEndpointScope.java:67)
    at com.sun.xml.ws.policy.jaxws.BuilderHandler.populate(BuilderHandler.java:75)
    at com.sun.xml.ws.policy.jaxws.PolicyMapBuilder.getNewPolicyMap(PolicyMapBuilder.java:103)
    Truncated. see log file for complete stacktrace
    It seems it is looking for the file; it is in the specified path so I cannot figure out what's wrong. No reference about the problem found over internet. Same web service deploys without problem on Tomcat, but by requirement, needed to deploy onto Weblogic 10g or above. Any help?
    Thanks in advance.

    how did you configured this ws-policy file?
    are you using any @Policy annotations?
    Regards,
    Sunil P

  • Big problems when deploying cs6 via Jamf Casper

    Hi Everyone, Has anyone else come accross a similare issue?
    I manage casper for a large organisation and we are trying to roll out cs6 to the mac users.
    There are 3 flavours of cs6 being pushed out Design &Web Premium, Master collection and photoshop extended.  All macs are on 10.6.8 and a small handfull are on Lion. All macs have at least the cs5.5 version of this product installed, some also still have the cs4 version ( kept for backwards compatible work)
    I prepared the packages with AEMEE and uploaded both the install and uninstall for each flavour.
    When deploying design and web premium I have no issues it runs smooth and installs every time. I do this via a policy using the every15 trigger.
    When I deploy master collection or photoshop extended I get mixed results. On some machines it runs fine and installs but on most it fails. Casper gets to 97% then waits then fails.
    I get the following log from the install.
    /usr/sbin/jamf is version 8.52
    Executing Policy Deploy CS6 Master Collection...
    Downloading BOM for cs6 master collection WT_Install.pkg...
    Downloading Components of http://casper.wellcomeit.com:80/Casper/Packages//cs6 master collection WT_Install.pkg...
    Installing cs6 master collection WT_Install.pkg...
    Installation failed. The installer reported: 2012-07-23 17:13:17.733 installer[64015:312b] PackageKit: *** Missing bundle identifier: /Library/Receipts/AppleMobileDeviceSupport.pkg
    2012-07-23 17:13:17.837 installer[64015:312b] PackageKit: *** Missing bundle identifier: /Library/Receipts/Flip4Mac QuickTime Components.pkg
    2012-07-23 17:13:17.839 installer[64015:312b] PackageKit: *** Missing bundle identifier: /Library/Receipts/Flip4Mac Web Plugins.pkg
    2012-07-23 17:13:18.266 installer[64015:312b] PackageKit: *** Missing bundle identifier: /Library/Receipts/iTunesAccess.pkg
    2012-07-23 17:13:18.267 installer[64015:312b] PackageKit: *** Missing bundle identifier: /Library/Receipts/iTunesX.pkg
    2012-07-23 17:13:18.937 installer[64015:312b] PackageKit: *** Missing bundle identifier: /Library/Receipts/Office2011_en_dock.pkg
    2012-07-23 17:13:18.976 installer[64015:312b] PackageKit: *** Missing bundle identifier: /Library/Receipts/Office2011_en_launch.pkg
    2012-07-23 17:13:19.241 installer[64015:312b] PackageKit: *** Missing bundle identifier: /Library/Receipts/Office2011_en_quit.pkg
    2012-07-23 17:13:19.441 installer[64015:312b] PackageKit: *** Missing bundle identifier: /Library/Receipts/PPD_Installer_RI1482E3L.pkg
    installer: Package name is Adobe Setup
    installer: Installing at base path /
    installer: The install failed (The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.)
    Running Recon...
    Gathering Application Usage Information...
    Finding Extension Attributes...
    I have tried using afp not http and have made sure in the aemee package that ignor conflicts is checked and air installers is diabled. The box in casper admin for this must be installed to the boot volume at imaging time is also checked.
    On the problem machines I have tried running the aemee packages locally and they fail as well.
    Im very confused by it all and at  the stage of pulling my hair out ( whats left of it!)
    Sorry for the long post, I thought more info would be better
    Daniel

    Daniel,
    I hope I have replied before you have pulled all your hair out
    Can you supply us with the logs from the client machine ? There is two I would like to see <product_name><time_stamp>.log which can be found in
    /Library/Logs/Adobe/Installers/
    and also
    oobelib.log Location /tmp
    You can mail me at [email protected]
    Cheers
    Karl
    CS Enterprise Systems Engineer

  • Problem when deploying EAR

    I am getting the following exception stack dump when deploying to version 10.1.2.0.2 App Server. This is on Solaris 10. The EAR file is one previously deployed successfully on an older box. I still can look at the old box for some comparison but stiil can't identify my problem. The data source is one that has also been working fine. Any suggestions?
    Thanks,
    Here's my exception dump:
    Deployment failed: Nested exception
    Resolution:
    Base Exception:
    java.rmi.RemoteException
    deploy failed!: ; nested exception is:
    oracle.oc4j.admin.internal.DeployerException: Error initializing ejb-module; Exception Error in application dd1000dev: Error loading package at
    file:/space/u01/orahome/OraHome_1/j2ee/dd1000dev/applications/dd1000dev/DD1K-EJB.jar,
    Error compiling /space/u01/orahome/OraHome_1/j2ee/dd1000dev/applications/dd1000dev/DD1K-EJB.jar: Error finding a suitable DataSource: SQL Error opening DataSource: Io exception: The Network Adapter could not establish the connection; nested exception is: java.sql.SQLException: Io exception: The Network
    Adapter could not establish the connection; nested exception is:
    java.sql.SQLException: Io exception: The Network Adapter could not establish the connection. deploy failed!: ; nested exception is:
    oracle.oc4j.admin.internal.DeployerException: Error initializing ejb-module; Exception Error in
    application dd1000dev: Error loading package at file:/space/u01/orahome/OraHome_1/j2ee/dd1000dev/applications/dd1000dev/DD1K-EJB.jar, Error compiling /space/u01/orahome/OraHome_1/j2ee/dd1000dev/applications/dd1000dev/DD1K-EJB.jar: Error finding a suitable DataSource: SQL Error opening DataSource: Io exception: The Network Adapter could not establish the connection;

    hi user620270
    You write : "The data source is one that has also been working fine.".
    Where was it working fine, on "version 10.1.2.0.2 App Server" or "on an older box"?
    If it was on "version 10.1.2.0.2 App Server", how did you verify that?
    (tip : You can use "Your Control Panel" to make your name visible in forum posts.)
    regards
    Jan Vervecken

  • Classpath problems when generating deployment xml

    Hi,
    I am new to using Toplink (9.0.4), but not new to CMP. I'm using the Toplink Mapping Workbench and have created my CMP Entity. I right-click on my project and export the Java Source. Everything (homes, local, remote) generates successfully. I then try to export the project deployment XML. However, I get a classpath error stating that it can't find my bean classes. My classpath is set to the area where the Java/Class files are. Do I have to compile my generated classes before creating the deployment XML? It appears as if I do because it works when I compile first, then generate the deployment XML. Is this the correct way to use the tool (generate Java, compile, generate XML)?
    Also, Is there a way this can all be generated via Ant (i.e. something similar to EJBGen)?
    Thanks,
    Mike

    Generating Java using the Mapping Workbench is good only for the initial Java Objects.
    After the initial Java Objects has been generated TopLink recommend to generate / modify Java Objects using IDE -&gt; compile -&gt; And in the Mapping Workbench 'Add or Refresh classes' -&gt; Map -&gt; generate XML is the right way of using TopLink.

  • NullPointerException problem when  deploying hello1 example.

    I am running Sun AppServer Edition 8.0 on Windows 2000 platform. When I
    executed asant build command, Build Successful message was displayed.
    To configure the Web application, I followed the steps outlined on how
    to package the application using the deploytool in Chapter 3 of the
    tutorial. Again I used the steps outlined on how to deploy the
    packaged web module using the deploytool to deploy the application
    on the Sun AppServer. However the deployment failed with
    NullPointerException message.
    Here is a listing of the error message:
    DetailsTimestamp:Nov 30, 2004 08:13:41.174
    Log Level: WARNING
    Logger:javax.enterprise.system.tools.admin
    Name-Value Pairs:_ThreadID=11;
    Record Number:106
    Message ID:ADM1026
    Complete Message
    Redeployment failed - Detailed Message:java.lang.NullPointerException     at
    com.sun.enterprise.admin.mbeans.ApplicationsConfigMBean.getHostName(ApplicationsConfigMBean.java:3045)     at
    com.sun.enterprise.admin.mbeans.ApplicationsConfigMBean.setHostAndPort(ApplicationsConfigMBean.java:3038)     at
    com.sun.enterprise.admin.mbeans.ApplicationsConfigMBean.deploy(ApplicationsConfigMBean.java:274)     at
    sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)     at
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)     at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)     at
    java.lang.reflect.Method.invoke(Method.java:324)     at
    com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:287)     at
    com.sun.enterprise.admin.config.BaseConfigMBean.invoke(BaseConfigMBean.java:280)     at
    com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:221)     at
    com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:228)     at
    com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:823)     at
    com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:792)     at
    sun.reflect.GeneratedMethodAccessor56.invoke(Unknown Source)     at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)     at
    java.lang.reflect.Method.invoke(Method.java:324)     at
    com.sun.enterprise.admin.util.proxy.ProxyClass.invoke(ProxyClass.java:54)     at $Proxy1.invoke(Unknown Source)     at
    com.sun.enterprise.admin.server.core.jmx.SunoneInterceptor.invoke(SunoneInterceptor.java:282)     at
    com.sun.enterprise.admin.jmx.remote.server.callers.InvokeCaller.call(InvokeCaller.java:38)     at
    com.sun.enterprise.admin.jmx.remote.server.MBeanServerRequestHandler.handle(MBeanServerRequestHandler.java:92)     at
    com.sun.enterprise.admin.jmx.remote.server.servlet.RemoteJmxConnectorServlet.processRequest(RemoteJmxConnectorServlet.java:
    69)     at
    com.sun.enterprise.admin.jmx.remote.server.servlet.RemoteJmxConnectorServlet.doPost(RemoteJmxConnectorServlet.java:94)     at
    javax.servlet.http.HttpServlet.service(HttpServlet.java:768)     at
    javax.servlet.http.HttpServlet.service(HttpServlet.java:861)     at sun.reflect.GeneratedMethodAccessor60.invoke(Unknown
    Source)     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)     at
    java.lang.reflect.Method.invoke(Method.java:324)     at
    org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:289)     at
    java.security.AccessController.doPrivileged(Native Method)     at
    javax.security.auth.Subject.doAsPrivileged(Subject.java:500)     at
    org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:311)     at
    org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:205)     at
    org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:283)     at
    org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:102)     at
    org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:192)     at
    java.security.AccessController.doPrivileged(Native Method)     at
    org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)     at
    org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:263)     at
    org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:156)     at
    org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:569)     at
    org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:261)     at
    org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:215)     at
    org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:156)     at
    org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:583)     at
    org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:154)     at
    org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:569)     at
    org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:200)     at
    org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:156)     at
    org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:180)     at
    org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:154)     at
    org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:582)     at
    org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:154)     at
    com.sun.enterprise.webservice.EjbWebServiceValve.invoke(EjbWebServiceValve.java:134)     at
    org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:154)     at
    com.sun.enterprise.security.web.SingleSignOn.invoke(SingleSignOn.java:254)     at
    org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:154)     at
    com.sun.enterprise.web.VirtualServerValve.invoke(VirtualServerValve.java:209)     at
    org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:154)     at
    org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:569)     at
    org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:161)     at
    org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:156)     at
    com.sun.enterprise.web.VirtualServerMappingValve.invoke(VirtualServerMappingValve.java:166)     at
    org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:154)     at
    org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:569)     at
    org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:979)     at
    org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:211)     at
    org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:692)     at
    org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:647)     at
    org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:589)     at
    org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:691)     at
    java.lang.Thread.run(Thread.java:534)
    Here is the output from asant listprops command.
    Buildfile: build.xml
    listprops:
    [echo] Path information
    [echo] j2ee.home = C:/Sun/AppServer
    [echo] env.Path = .;
    c:\oracle\ora92\bin;
    c:\oracle\ora92\sqlj\bin;
    C:\Program Files\Oracle\jre\1.3.1\bin;
    C:\Program Files\Oracle\jre\1.1.8\bin;
    C:\Ant\apache-ant-1.6.2\bin;
    C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C:\Program Files\Microsoft SQL
    Server\80\Tools\Binn\;
    c:\mysql\bin;
    c:\j2sdk1.4.2_06\bin;
    c:\Sun\AppServer\bin;
    c:\Sun\AppServer\bin;c:\Sun\AppServer\jdk\bin;
    C:\Documents and Settings\sam darko\jwsdp-1.1\jwsdp-shared\bin;
    C:\Program Files\Microsoft Visual Studio\Common\Tools\WinNT;
    C:\Program Files\Microsoft Visual Studio\Common\MSDev98\Bin;C:\Program Files\Microsoft Visual
    Studio\Common\Tools;
    C:\Program Files\Microsoft Visual Studio\VC98\bin;
    C:\Program Files\MSXML 4.0;
    C:\Ant\apache-ant-1.6.2\bin;
    c:\mysql\bin;
    c:\bea\weblogic81\server\bin;
    C:\;
    C:\ERCDTMP;C:\ERCDTMP\BIN;C:\ERCDTMP\TOOLS\PT1
    [echo] env.PATH = ${env.PATH}
    [echo] Classpath information
    [echo] classpath = .;
    c:\Sun\AppServer\lib\j2ee.jar;
    c:\Sun\AppServer\jdk\lib\tools.jar;
    C:\Program Files\Altova\xmlspy\XMLSpyInterface.jar;
    c:\bea\weblogic81\server\lib\weblogic_sp.jar;
    c:\bea\weblogic81\server\lib\weblogic.jar;
    C:\jakarta-struts-1.1\lib\struts.jar;
    c:\JSTL1.1\jstl-1.1.2\lib\jstl.jar;
    c:\JSTL1.1\jstl-1.1.2\lib\standard.jar
    [echo] Admin information
    [echo] admin.password = ${admin.password}
    [echo] admin.host = localhost
    [echo] admin.user = admin
    [echo] admin.port = 4848
    [echo] https.port = 8090
    [echo] Domain information
    [echo] domain.resources = "domain.resources"
    [echo] domain.resources.port = 8091
    [echo] Database information
    [echo] db.root = C:/Sun/AppServer/pointbase
    [echo] db.driver = com.pointbase.jdbc.jdbcUniversalDriver
    [echo] db.host = localhost
    [echo] db.port = 9092
    [echo] db.sid = sun-appserv-samples
    [echo] db.url = jdbc:pointbase:server://localhost:9092/sun-appserv-samples
    [echo] db.user = pbpublic
    [echo] db.pwd = pbpublic
    [echo] url.prop = DatabaseName
    [echo] ds.class = com.pointbase.jdbc.jdbcDataSource
    [echo] db.jvmargs = -ms16m -mx32m
    BUILD SUCCESSFUL
    Total time: 5 seconds

    I just ran the hello1 example on a Win2K system from the command line without seeing the problems that you encountered. I am running a later version of the Application Server than you are (8.1 PE vs. 8.0) and am using the tutorial sources that were designed to be used with that version of the tutorial:
    - Use Update 3 version of the tutorial with Application Server 8.1
    - Use Update 2 version of the tutorial with Application Server 8.0 Update 1
    I haven't tried it with deploytool yet, but built, packaged, and deployed using the asant instructions, as follows.
    1. Start the Application Server.
    2. In a terminal window, change to the j2eetutorial14/examples/web/hello1 directory.
    3. Build the example: asant build
    4. Package the example: asant create-war
    5. Deploy the example: asant deploy-war
    6. In your browser, go to http://localhost:8080/hello1and enter your name.
    If you do this do you see the same problem? If you do, where do you encounter that problem? On deployment?
    In the meantime, I'll try to package and deploy with deploytool and report back with my results.
    Hope this helps.
    ~Eric

  • Problem when deploying Crystal Report application on weblogic 10.3

    I created a Crystal Report application, using Eclipse ,
    but when i tried to run the correspondant EAR on Weblogic 10.3
    i encountered this exception , i guess it is a missing JAR but i didn't know which one :
    Error 500--Internal Server Error
    com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: Could not initialize class org.apache.commons.configuration.ConfigurationUtils---- Error code:-2147467259 Error code name:failed
         at com.businessobjects.sdk.erom.jrc.ReportAgentFactory.createAgent(SourceFile:54)
         at com.crystaldecisions.proxy.remoteagent.RemoteAgent$a.(SourceFile:703)
         at com.crystaldecisions.proxy.remoteagent.RemoteAgent.a(SourceFile:662)
         at com.crystaldecisions.proxy.remoteagent.RemoteAgent.a(SourceFile:632)
         at com.crystaldecisions.sdk.occa.report.application.ClientDocument.if(SourceFile:504)
         at com.crystaldecisions.sdk.occa.report.application.ClientDocument.open(SourceFile:669)
         at com.crystaldecisions.reports.reportengineinterface.JPEReportSourceFactory.createReportSource(SourceFile:77)
         at com.businessobjects.report.web.b.a.ac(SourceFile:681)
         at com.crystaldecisions.report.web.viewer.ReportServerControl.getReportSource(SourceFile:182)
         at com.crystaldecisions.report.web.viewer.taglib.ReportServerControlTag.int(SourceFile:100)
         at com.crystaldecisions.report.web.viewer.taglib.ReportServerControlTag.doEndTag(SourceFile:76)
         at jsp_servlet.__crystalreport1_45_viewer._jsp__tag0(__crystalreport1_45_viewer.java:129)
         at jsp_servlet.__crystalreport1_45_viewer._jspService(__crystalreport1_45_viewer.java:75)
         at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
         at weblogic.servlet.internal.ServletStubImpl.onAddToMapException(ServletStubImpl.java:408)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:318)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3498)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(Unknown Source)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2180)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2086)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1406)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused by: java.lang.NoClassDefFoundError: Could not initialize class org.apache.commons.configuration.ConfigurationUtils
         at org.apache.commons.configuration.AbstractFileConfiguration.setURL(AbstractFileConfiguration.java:642)
         at org.apache.commons.configuration.AbstractHierarchicalFileConfiguration.setURL(AbstractHierarchicalFileConfiguration.java:222)
         at org.apache.commons.configuration.XMLConfiguration.(XMLConfiguration.java:171)
         at com.crystaldecisions.reports.common.engine.config.apache.CrystalConfigurationImpl.pushXmlConfiguration(Unknown Source)
         at com.crystaldecisions.reports.common.engine.config.MultiThreadedConfig.pushXmlConfiguration(Unknown Source)
         at com.crystaldecisions.reports.common.engine.Engine.configure(Unknown Source)
         at com.crystaldecisions.reports.common.engine.Engine.getConfigurationManager(Unknown Source)
         at com.businessobjects.reports.sdk.a.a(SourceFile:68)
         at com.businessobjects.reports.sdk.a.do(SourceFile:106)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.n(SourceFile:2687)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.i(SourceFile:2807)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.connect(SourceFile:296)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.(SourceFile:216)
         at com.businessobjects.sdk.erom.jrc.a.(SourceFile:43)
         at com.businessobjects.sdk.erom.jrc.ReportAgentFactory.createAgent(SourceFile:46)
         ... 27 more
    ***************************************************************

    Hi ,
    I succesfully added the jar to the classpath but i got the same error ( the first one),
    i wonder if it is a problem due to the connection with the remote database because of those 3 lines :
    Caused by: java.lang.NoClassDefFoundError: Could not initialize class org.apache.commons.configuration.ConfigurationUtils
         at org.apache.commons.configuration.AbstractFileConfiguration.setURL(AbstractFileConfiguration.java:642)
         at org.apache.commons.configuration.AbstractHierarchicalFileConfiguration.setURL(AbstractHierarchicalFileConfiguration.java:222)
         at org.apache.commons.configuration.XMLConfiguration.(XMLConfiguration.java:171)
    here is the full log :
    +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    [weblogic.servlet.internal.WebAppServletContext@1aee513 - appName: 'FinalEAREssai', name: 'EssaiEarCR', context-path: '/EssaiEarCR', spec-version: '2.5', request: weblogic.servlet.internal.ServletRequestImpl@1302951[ GET /EssaiEarCR/CrystalReport1-viewer.jsp HTTP/1.1 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.9.0.14) Gecko/2009082707 Firefox/3.0.14 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Accept-Language: fr Accept-Encoding: gzip,deflate Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7 Keep-Alive: 300 Connection: keep-alive Cookie: ADMINCONSOLESESSION=MG10Kq5JT9LkDTXqKJMGRJQBJbKZ1ryfT4g5TJGGpltbST3Gjphq!40961007; JSESSIONID=Q2x0Kq6Lv5QT082psRwrmRpfNfnqPDRdF8tsMg9Czb5vQTPh9ZKH!40961007 ]] Root cause of ServletException. com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: Could not initialize class org.apache.commons.configuration.ConfigurationUtils---- Error code:-2147467259 Error code name:failed at com.businessobjects.sdk.erom.jrc.ReportAgentFactory.createAgent(SourceFile:54) at com.crystaldecisions.proxy.remoteagent.RemoteAgent$a.<init>(SourceFile:703) at com.crystaldecisions.proxy.remoteagent.RemoteAgent.a(SourceFile:662) at com.crystaldecisions.proxy.remoteagent.RemoteAgent.a(SourceFile:632) at com.crystaldecisions.sdk.occa.report.application.ClientDocument.if(SourceFile:504) at com.crystaldecisions.sdk.occa.report.application.ClientDocument.open(SourceFile:669) at com.crystaldecisions.reports.reportengineinterface.JPEReportSourceFactory.createReportSource(SourceFile:77) at com.businessobjects.report.web.b.a.ac(SourceFile:681) at com.crystaldecisions.report.web.viewer.ReportServerControl.getReportSource(SourceFile:182) at com.crystaldecisions.report.web.viewer.taglib.ReportServerControlTag.int(SourceFile:100) at com.crystaldecisions.report.web.viewer.taglib.ReportServerControlTag.doEndTag(SourceFile:76) at jsp_servlet.__crystalreport1_45_viewer._jsp__tag0(__crystalreport1_45_viewer.java:129) at jsp_servlet.__crystalreport1_45_viewer._jspService(__crystalreport1_45_viewer.java:75) at weblogic.servlet.jsp.JspBase.service(JspBase.java:34) at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227) at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3498) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(Unknown Source) at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2180) at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2086) at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1406) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201) at weblogic.work.ExecuteThread.run(ExecuteThread.java:173) java.lang.NoClassDefFoundError: Could not initialize class org.apache.commons.configuration.ConfigurationUtils at org.apache.commons.configuration.AbstractFileConfiguration.setURL(AbstractFileConfiguration.java:642) at org.apache.commons.configuration.AbstractHierarchicalFileConfiguration.setURL(AbstractHierarchicalFileConfiguration.java:222) at org.apache.commons.configuration.XMLConfiguration.<init>(XMLConfiguration.java:171) at com.crystaldecisions.reports.common.engine.config.apache.CrystalConfigurationImpl.pushXmlConfiguration(Unknown Source) at com.crystaldecisions.reports.common.engine.config.MultiThreadedConfig.pushXmlConfiguration(Unknown Source) at com.crystaldecisions.reports.common.engine.Engine.configure(Unknown Source) at com.crystaldecisions.reports.common.engine.Engine.getConfigurationManager(Unknown Source) at com.businessobjects.reports.sdk.a.a(SourceFile:68) at com.businessobjects.reports.sdk.a.do(SourceFile:106) at com.businessobjects.reports.sdk.JRCCommunicationAdapter.n(SourceFile:2687) at com.businessobjects.reports.sdk.JRCCommunicationAdapter.i(SourceFile:2807) at com.businessobjects.reports.sdk.JRCCommunicationAdapter.connect(SourceFile:296) at com.businessobjects.reports.sdk.JRCCommunicationAdapter.<init>(SourceFile:216) at com.businessobjects.sdk.erom.jrc.a.<init>(SourceFile:43) at com.businessobjects.sdk.erom.jrc.ReportAgentFactory.createAgent(SourceFile:46) at com.crystaldecisions.proxy.remoteagent.RemoteAgent$a.<init>(SourceFile:703) at com.crystaldecisions.proxy.remoteagent.RemoteAgent.a(SourceFile:662) at com.crystaldecisions.proxy.remoteagent.RemoteAgent.a(SourceFile:632) at com.crystaldecisions.sdk.occa.report.application.ClientDocument.if(SourceFile:504) at com.crystaldecisions.sdk.occa.report.application.ClientDocument.open(SourceFile:669) at com.crystaldecisions.reports.reportengineinterface.JPEReportSourceFactory.createReportSource(SourceFile:77) at com.businessobjects.report.web.b.a.ac(SourceFile:681) at com.crystaldecisions.report.web.viewer.ReportServerControl.getReportSource(SourceFile:182) at com.crystaldecisions.report.web.viewer.taglib.ReportServerControlTag.int(SourceFile:100) at com.crystaldecisions.report.web.viewer.taglib.ReportServerControlTag.doEndTag(SourceFile:76) at jsp_servlet.__crystalreport1_45_viewer._jsp__tag0(__crystalreport1_45_viewer.java:129) at jsp_servlet.__crystalreport1_45_viewer._jspService(__crystalreport1_45_viewer.java:75) at weblogic.servlet.jsp.JspBase.service(JspBase.java:34) at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227) at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3498) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(Unknown Source) at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2180) at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2086) at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1406) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201) at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    thanks Vijay for you help

  • EJB classpath problem when refering a DAO in library jar file

    Hi
    When I tried to deploy an EJB jar file in 10g which references the DAO for getting database[SQL Server2000] query results.Its not retriving data nor throwing any exceptions.Other DAO business methods which do not access database are working well.
    When I tried to import the DAO inside a JSP and calling the DAO data access method which is working fine. Even I have set the resource-ref [datasource JNDI Name] in ejb-jar.xml files for the EJB beans, but its not referencing. If you have any ideas, how to resolve this problem, please forward me your suggestion.
    Thanks in Advance
    Best Regards
    Venugopal Balu

    Hi
    When I tried to deploy an EJB jar file in 10g which references the DAO for getting database[SQL Server2000] query results.Its not retriving data nor throwing any exceptions.Other DAO business methods which do not access database are working well.
    When I tried to import the DAO inside a JSP and calling the DAO data access method which is working fine. Even I have set the resource-ref [datasource JNDI Name] in ejb-jar.xml files for the EJB beans, but its not referencing. If you have any ideas, how to resolve this problem, please forward me your suggestion.
    Thanks in Advance
    Best Regards
    Venugopal Balu

  • Problem when deploying CRXIr2 + VS2005

    Post Author: Aksu
    CA Forum: Deployment
    I have a problem with report loading when I have deployed windows project. Everything is working fine in "development environment". I deploy the project with MS-installer and CRXIr2 merge module (CrystalReports11_5_NET_2005.msm) included. All properties in the module are set to 1 - so everything should be installed.With deployed project (in my release testing pc) I always get error when showing reportviewer:"Failed to load database information. Error in File C:\WINDOWS\TEMP\MyReport{32693324-9D11-4173-9069-82B872C1138D}.rpt: Failed to load database information." If I copy dll's from my development PC (whole directory "C:\Program Files\Business Objects\Common\3.5") to "release testing pc". Everything starts to work fine!!! Is there some dll's missing from the merged module or do I have some wrong attributes in report object or dataset???  I using dataset to "populate" the report like this:----
    DataSet dset = null; // I get the data with adapter and "custom made" sql-clause SqlDataAdapter adapter = new SqlDataAdapter( sql, conn.mSysConn );int chunkRows = adapter.Fill( dset );// setting formulas etc....reportDoc.SetDataSource(dset.Tables&#91;0&#93;); // Always one tableviewer.ReportSource = reportDoc; -
    When i set the source to viewer it has ConnectionInfo:ServerName "NewDataSet"Type "CRQE"ATTRIBUTES:    "Database DLL" = "crdb_adoplus.dll"    "QE_DatabaseName" = ""    "QE_DatabaseType" = "ADO.NET (xml)"    "QE_LogonProperties" = "ADO.NET Dataset Object" & "InternalConnectionID"    "QE_ServerDescription" = "NewDataset"    "QE_SQLDB" = false    "SSO Enabled" = false   Could someone please help me ? I've been banging my head to desk for two days now :S...

    Post Author: Aksu
    CA Forum: Deployment
    I was able to narrow the problem so, that if I copy file crdb_xml.dll (C:\Program Files\Business Objects\Common\3.5\bin) from my "development pc" to the  "release testing pc" (which only has dll's from merge module) - everything starts to work just fine!!! WHY IN THE WORLD THIS DLL IS MISSING FROM THE MERGE MODULE ????

  • Classpath problems when importing my classes

    I'm using a tutorial with sample programs dealing with bank accounts.
    I get this error:
    InterestBearingAccount.java [9:1] '.' expected
    import Account;
    ^
    1 error
    Errors compiling InterestBearingAccount.
    The Account class already exists in the current directory. I've tried everything as far as setting the classpath variable (nothing, just a period, period & slash, the actual complete path for the current directory, nothing works!!!!!). I also tried using -classpath (.) and the end of my javac command and that seemed to not work at all.
    The Java Coffee Break tutorial have some already compiled (*.class) files and they run fine. My *.java files are identical. In fact, I cut and pasted them so I know it's not a typo.
    My path is set to include the jdk1.4.0\bin directory and I've only begun to have problems now that I need to import existing classes into the programs.
    I should mention that I get the same error using Forte environment or doing it at the command prompt window. Please help.

    Thanks ATMGUY. I commented out the import statements in both InterestBearingAccount and AccountDemo and it worked fine. I guess the author of that tutorial was obviously not working with jdk 1.4.
    As far as using packages, com.kusek.bank would make a good package name then??
    The statement:
    package com.kusek.bank; OR a shorter version package kusek.bank;
    should be added to all three classes and no import statements would then be necessary, right??
    I just remember reading that it should be something unique as a good habit to get into.
    I'm trying to learn enough to make a useful GUI program for a special project so I probably should be using packages anyway when I get to that point.
    My programming backround is limited to procredural languages Basic, QBasic, Pascal, and Fortran and I find myself still wanting to think in those terms. I have read several web sites and worked through some basic examples but I still have much to learn. I once I can grasp how to write OOP style it would be nice to look at code for a somewhat detailed application (like a store checkout app) and have every line explained as to why it's there. I can see where it makes sense to have your GUI classes predefined (Swing), File I/O, serial port communications, and even things like this InterestBearingAccount example that extends from the Account class utilizing its basic attributes but overriding the constructors for the additional parameters (interest calculation) that are passed. How to take a common problem and go about creating a solution is what I need to see being done to help me.
    My telemetry project uses VHF radios with packet radio modems to monitor two diesel engines and turn one off if the other turns off. The modems have built in A/D data gathering and can also output control signals, they just need to be told what to do. I can manually use a Windows Hyperterminal session and type in "connect Engine1" and use commands to determine the A/D inputs "analog". The modems have built in end-to-end acknowledgement so the only think I need is an application than can be setup to run in the Startup folder to handle this. It would use a timer class to "poll" engine1 every 5-10 minutes and if it has stopped (based on the response of the "analog" command) I would "disconnect" from engine1 and "connect" to engine2 and send a "ctrl B off" or something similar. The standard responses from the modem should allow me just to send and recieve STRING data to and from the serial port and parse them as needed. I need at least this much but it shouldn't be too much harder to develop a way to reset the system(reverse of this) when that is required. I could also read a water pressure value at one of the locations and display that on the screen along with the current status of the engines (using values obtained from the "analog" command on the modems).
    The hardest part of OOP programming seems to be knowing what classes are already out there and knowing how to find them or apply them. I hope Swing has classes that provide for displaying values on the Windows taskbar (my motherboard monitor freeware displays temperature readings down on the taskbar). I appreciate all the help given here. It's almost like having a private tutor.
    randy

  • URGENT: Substitution Problem when deployed in Server

    Hello:
    I am facing a strange problem in student system self-service application customization in oxford university.
    I have create a new XxigsPersProgAttemptVO extending PersProgAttemptVO and done the substitution. When run the the page though JDev it was showing the substituted values.
    I have deployed the JPX and VO xml, classes into the server.
    and bounced the apache.
    When i run the application it's throwing following error
    oracle.apps.fnd.framework.OAException: oracle.jbo.NoDefException: JBO-25002: Definition AttendanceTypeDesc of type Attribute not found
    When i view the About this page Business components list, i couldn't find XxigsPersProgAttemptVO VO object.
    But when i run the same page through JDEV, it's shows me my custom VO and substituded VO and extended EO.
    which was right and page was working fine.
    and when i run
    jdr_utils.PRINTDOCUMENT('/oracle/apps/igs/person/components/server/customizations/site/0/PersProgAttemptVO',1000);
    it's showed me
    .........RESULT:
    <?xml version='1.0' encoding='UTF-8'?>
    <customization xmlns="http://xmlns.oracle.com/jrad" xmlns:ui="http://xmlns.oracle.com/uix/ui" xmlns:oa="http://xmlns.oracle.com/oa" xmlns:user="http://xmlns.oracle.com/user" version="9.0.3.8.13_1550" xml:lang="en-US" customizes="/oracle/apps/igs/person/components/server/PersProgAttemptVO">
    <replace with="/oracle/apps/xxigs/person/components/server/XxigsPersProgAttemptVO"/>
    </customization>
    which was also right
    then why i am getting the error in server and why the substitution is not taking in server.
    Can any one help me in this regard pls?
    Many Thanks in advance
    Thanks and Regards,
    Gupta

    just want to add few things
    I am substituting the VO which was used in subtab
    I just found an article in Metalink for the similar issue and found as a bug in OAPageBean.java.
    Metalink Doc ID: 418682.1
    Symptoms
    In Oracle Applications 11i, after extending any framework page by doing VO (View Object) substitution for any VO that is found in subtab in any region in the page either by adding a new attribute to the VO or changing any clause in the VO query such as adding condition for the WHERE clause.
    Then deploying the extension to the server successfully, and after that going to the extended page to check the substitution by pressing on (About this page) , and the result will be that you will be not able to see the new substituted VOs.
    Or in case of adding a new attribute to the VO, you will get a framework exception saying that the "new attribute" is not found.
    Cause
    This is caused by the following INTERNAL bug that is not published through Metalink to customers, and it is reported on R12 and backported to R11i :
    Bug 4970554 - VO SUBSTITUTION NOT WORKING
    Which say that: any substituted View Object used inside a SubTab Layout is not working because of a defect in the code of file (OAPageBean.java) for any version prior to (115.545.115104.3) in Oracle Applications 11i
    Please let me know if you have any ideas
    Thanks and Regards,
    Gupta

  • Problem when deploy my servlet

    I have developed a simple servlet.
    There are some code to do file operation in
    my program. When I use JDeveloper to develop
    and test, it works well. This is just because
    the file it need just locates in the current
    directory.
    But after I deploying it, it can't access
    that file any more. Now I just
    wonder how could I tell it where to get
    the file, just write the absolute file path,
    or could I set some envirenment variables.
    Platform: win2k server
    Thanks
    null

    It could be that you haven't set the classpath correctly in the runtime environment, or it could be that you didn't package all of the files you needed when you deployed your servlet.
    The online documentation explains how to deploy a servlet. In JDev 3.1, you'll find this information under:
    User Guides
    -> Developing Applications
    -> Developing Web Applications
    -> Developing Java Servlets
    -> Deploying Java Servlets
    Blaise

  • Problem when deploying on tomcat two applications with same appmodule name

    We have deployed two different adf-uix applications to a tomcat application server.
    Each of the two applications has one application module, the two application modules have the same name. This seems to cause a conflict between the two applications.
    After starting the application server, we can run first the application 'A' and then the application 'B' or viceversa, every time the first application works and the second doesn't. When running the second application we get messages like 'table or view doesn't exist'.
    Having the application modules with different names seems to solve the problem, but it seems not so easy to change the application module name on an existing and rather complex application.
    Any suggestion? Please help.
    Thanks, Mauro

    I had the same problem and the only way to solve it was to change the app module name.

  • JBO-33001 bc4j.xcfg CLASSPATH problem in deployed java web service

    Hi
    I have deployed a web service that uses a simple java class to update some BC4J EO's.
    I have included the deployed jar files in the OC4J Classpath.
    I have also deployed the web service to the application server.
    I then call the web service from BPEL.
    During the web service call, I'm getting the following exception:
    exception on JaxRpc invoke:
    start fault message:
    oracle.jbo.ConfigException: JBO-33001: Cannot find the configuration file /cb/test/peoplebc/common/bc4j.xcfg in the classpath at oracle.jbo.client.Configuration.loadFromClassPath(Configuration.java:367)
    I've checked that the file is deployed in the MiddleTier jar file, so not sure what to do.
    Any ideas most appreciated.
    Cheers
    Chris

    Hi,
    This may sound a bit stupid, but as a quick and dirty solution i just copied the common directory with the bc4j.xcfg file where it is looking for it. This makes it at least work. Any updates to the xcfg file done will of course not be reflected.
    Regards, G

Maybe you are looking for

  • Order category BF not getting deleted in APO

    Hi Experts, I have a situation where the material is already deleted in ECC (hence no longer existing), but the product is existing in APO and we need to delete this in APO. To do this, we need to delete the dependent orders for that product/location

  • Error message in windows vista 64 bit

    fireworks unexpectedly quit in windows vista

  • How to log into gmail with default Mail app

    So my gmail has a 2 step verification option to have it more secure, but the default mail app on my iphone 5S does not give me the option to give a second verification so I can't log in. They continuously say my password is incorrect because of this.

  • Z1c not compatible with SE earphones?

    Yesterday i buy z1 Compact. But my original headphones from SE Arc S didn't work. Phone writes, that he didn't support that earphones. OK, I just another conected phones from SE (not Sony), but they work, just wolume is not laudly. Shauld I'ill buy a

  • Different Export / Publish Dialog for combined Export/Publish Service Provider

    Hi, I'm writing a Export/Publish Service Provider that supports Publish and Export (supportsIncrementalPublish= true). So, there is only on sectionsForBottomOfDialog() which is used for both Export and Publish. This is nice since most of the setting