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 >> 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:
<filter>
<filter-name>Filter1</filter-name>
<filter-class>myfilters.authFilter</filter-class>
</filter>
<filter-mapping>
<filter-name>Filter1</filter-name>
<url-pattern>*.jsp</url-pattern>
</filter-mapping>
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"."

Similar Messages

  • 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 problem during deployment in oracle 10g application server

    java.lang.NoClassDefFoundError: oracle/toplink/sessions/UnitOfWork
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:219)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpApplication.loadServlet(HttpApplication.java:2028)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpApplication.findServlet(HttpApplication.java:4523)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpApplication.getRequestDispatcher(HttpApplication.java:2561)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:640)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:208)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:125)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
         at java.lang.Thread.run(Thread.java:534)
    required urgent help.

    hello,
    when you deploy reports JSPs they still require the reports specific componentes (e.g. TLD file, classes, ...) etc be available. i doubt that's the case in your ear file.
    thanks,
    ph.

  • Problems when deploying a WD-Project of NWDS to CE by using ESWorkpl.

    Hello,
    I am using a CE 7.1 Server. Now I wanted to develop a Demo App. as described in the Book "Java Programming with SAP NetWeaver", published by SAP Press. I have done everything exactly as described in the book, but If i deploy and run the App I get an internal Server Error. I am using the SR of the ES Workplace. The Destinations of HU2 are set. The Stacktrace is the following:
    #1.5 #000C29FCB5CB001E000001DD000013A40090E803E0D0C020#1222942876187#com.sap.engine.services.deploy##com.sap.engine.services.deploy#Administrator#2935##n.a.##c390f1808f9811ddab7c000c29fcb5cb#Thread[RMI/IIOP Worker [2],5,Dedicated_Application_Thread]##0#0#Warning#1#/System/Server/Services/Deploy#Plain###JLinEE validation of application local/ReadPurchaseOrder returned result Messages for application "local/ReadPurchaseOrder" reported by JLinEE checks:
    WARNINGS:
    References Test: There are no matching deploy time references (described in META-INF/SAP_MANIFEST.MF) for the following runtime references [sap.com/tc~je~webservices~api, sap.com/tc~wd~wslib~api, sap.com/tc~je~webservices~lib, sap.com/tc~wd~api] (described in the META-INF/application-j2ee-engine.xml)., file: ReadPurchaseOrder.ear, severity: warning
    #1.5 #000C29FCB5CB001E00000207000013A40090E803E0D0C020#1222942876875#com.sap.engine.services.deploy##com.sap.engine.services.deploy#Administrator#2935##n.a.##c390f1808f9811ddab7c000c29fcb5cb#Thread[RMI/IIOP Worker [2],5,Dedicated_Application_Thread]##0#0#Warning##Plain###
    Warning occurred on server 4078750 during update local/ReadPurchaseOrder : References Test: There are no matching deploy time references (described in META-INF/SAP_MANIFEST.MF) for the following runtime references [sap.com/tc~je~webservices~api, sap.com/tc~wd~wslib~api, sap.com/tc~je~webservices~lib, sap.com/tc~wd~api] (described in the META-INF/application-j2ee-engine.xml)., file: ReadPurchaseOrder.ear, column 0, line 0, severity: warning#
    #1.5 #000C29FCB5CB001D0000012A000013A40090E803E0C734D7#1222942879406#com.sap.tc.webdynpro.sessionmanagement#sap.com/tc~wd~dispwda#com.sap.tc.webdynpro.sessionmanagement.ExceptionHandler.handleThrowable#mko#2098##n.a.##db4f2870905911ddbf69000c29fcb5cb#HTTP Worker [1]##0#0#Error##Java###Exception occured during processing of Web Dynpro application {0}. See exception stacktrace for details.
    [EXCEPTION]
    {1}#2# local/ReadPurchaseOrder/ReadPurchaseOrderApp#java.lang.UnsupportedClassVersionError: Bad version number in .class file
         at java.lang.ClassLoader.defineClass1(Native Method)
         at java.lang.ClassLoader.defineClass(ClassLoader.java:664)
         at com.sap.engine.boot.loader.ResourceMultiParentClassLoader.loadClassLocal(ResourceMultiParentClassLoader.java:198)
         at com.sap.engine.boot.loader.MultiParentClassLoader.findClassInLoaderGraph(MultiParentClassLoader.java:306)
         at com.sap.engine.boot.loader.MultiParentClassLoader.loadClass(MultiParentClassLoader.java:256)
         at com.sap.engine.boot.loader.MultiParentClassLoader.loadClass(MultiParentClassLoader.java:228)
         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:363)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:242)
         at com.sap.tc.webdynpro.progmodel.generation.ControllerHelper.createDelegate(ControllerHelper.java:62)
         at com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent.<init>(DelegatingComponent.java:78)
         at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.init(ClientComponent.java:381)
         at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.init(ClientApplication.java:487)
         at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.doPreprocessing(ClientApplication.java:1228)
         at com.sap.tc.webdynpro.serverimpl.core.sessionctx.AbstractExecutionContextDispatcher.delegateToApplicationDoPreprocessing(AbstractExecutionContextDispatcher.java:150)
         at com.sap.tc.webdynpro.serverimpl.wdc.sessionctx.DispatchHandlerForAppPreprocessing.doService(DispatchHandlerForAppPreprocessing.java:35)
         at com.sap.tc.webdynpro.serverimpl.wdc.sessionctx.AbstractDispatchHandler.service(AbstractDispatchHandler.java:116)
         at com.sap.engine.services.servlets_jsp.server.deploy.impl.module.IRequestDispatcherImpl.dispatch(IRequestDispatcherImpl.java:93)
         at com.sap.tc.webdynpro.serverimpl.wdc.sessionctx.ExecutionContextDispatcher.dispatchToApplicationDoPreprocessing(ExecutionContextDispatcher.java:100)
         at com.sap.tc.webdynpro.serverimpl.core.sessionctx.AbstractExecutionContextDispatcher.dispatch(AbstractExecutionContextDispatcher.java:75)
         at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.dispatch(ApplicationSession.java:507)
         at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.dispatch(ApplicationSession.java:527)
         at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doPreprocessing(ApplicationSession.java:233)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doPreprocessing(ClientSession.java:647)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:225)
         at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:231)
         at com.sap.tc.webdynpro.serverimpl.core.sessionctx.AbstractExecutionContextDispatcher.delegateToRequestManager(AbstractExecutionContextDispatcher.java:205)
         at com.sap.tc.webdynpro.serverimpl.wdc.sessionctx.DispatchHandlerForRequestManager.doService(DispatchHandlerForRequestManager.java:38)
         at com.sap.tc.webdynpro.serverimpl.wdc.sessionctx.AbstractDispatchHandler.service(AbstractDispatchHandler.java:116)
         at com.sap.engine.services.servlets_jsp.server.deploy.impl.module.IRequestDispatcherImpl.dispatch(IRequestDispatcherImpl.java:93)
         at com.sap.tc.webdynpro.serverimpl.wdc.sessionctx.ExecutionContextDispatcher.dispatchToRequestManager(ExecutionContextDispatcher.java:140)
         at com.sap.tc.webdynpro.serverimpl.core.sessionctx.AbstractExecutionContextDispatcher.dispatch(AbstractExecutionContextDispatcher.java:93)
         at com.sap.tc.webdynpro.serverimpl.core.sessionctx.AbstractExecutionContextDispatcher.dispatch(AbstractExecutionContextDispatcher.java:105)
         at com.sap.tc.webdynpro.serverimpl.core.AbstractDispatcherServlet.doContent(AbstractDispatcherServlet.java:87)
         at com.sap.tc.webdynpro.serverimpl.core.AbstractDispatcherServlet.doGet(AbstractDispatcherServlet.java:54)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
         at com.sap.engine.services.servlets_jsp.server.Invokable.invoke(Invokable.java:66)
         at com.sap.engine.services.servlets_jsp.server.Invokable.invoke(Invokable.java:32)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:431)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:289)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:387)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:376)
         at com.sap.engine.services.servlets_jsp.filters.ServletSelector.process(ServletSelector.java:85)
         at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)
         at com.sap.engine.services.servlets_jsp.filters.ApplicationSelector.process(ApplicationSelector.java:160)
         at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)
         at com.sap.engine.services.httpserver.filters.WebContainerInvoker.process(WebContainerInvoker.java:67)
         at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)
         at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)
         at com.sap.engine.services.httpserver.filters.ResponseLogWriter.process(ResponseLogWriter.java:60)
         at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)
         at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)
         at com.sap.engine.services.httpserver.filters.DefineHostFilter.process(DefineHostFilter.java:27)
         at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
         at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)
         at com.sap.engine.services.httpserver.filters.MonitoringFilter.process(MonitoringFilter.java:29)
         at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
         at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)
         at com.sap.engine.services.httpserver.server.Processor.chainedRequest(Processor.java:309)
         at com.sap.engine.services.httpserver.server.Processor$FCAProcessorThread.run(Processor.java:222)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:152)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:247)
    #1.5 #000C29FCB5CB001D0000012C000013A40090E803E0C734D7#1222942879406#com.sap.tc.webdynpro.sessionmanagement#sap.com/tc~wd~dispwda#com.sap.tc.webdynpro.sessionmanagement.ExceptionHandler.handleThrowable#mko#2098##n.a.##db4f2870905911ddbf69000c29fcb5cb#HTTP Worker [1]##0#0#Error#1#/System/UserInterface#Java###Exception occured during processing of Web Dynpro application {0}. For details, check entry {1} in trace.#3# local/ReadPurchaseOrder/ReadPurchaseOrderApp#000C29FCB5CB001D0000012A000013A40090E803E0C734D7#com.sap.tc.webdynpro.sessionmanagement#
    #1.5 #000C29FCB5CB0026000000CC000013A40090E803E0C740AC#1222942880750#com.sap.tc.webdynpro.sessionmanagement#sap.com/tc~wd~dispwda#com.sap.tc.webdynpro.sessionmanagement.ExceptionHandler.handleThrowable#mko#2098##n.a.##db4f2870905911ddbf69000c29fcb5cb#HTTP Worker [4]##0#0#Error##Java###Exception occured during processing of Web Dynpro application {0}. See exception stacktrace for details.
    [EXCEPTION]
    {1}#2# local/ReadPurchaseOrder/ReadPurchaseOrderApp#com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Exception was thrown during destruction of root component of application ApplicationIdentificationHandle(appName=local/ReadPurchaseOrder/com.sap.demo.readpurchaseorderapp.readpurchaseorderapp.ReadPurchaseOrderApp, appId=da8d80f2906b11dd823e000c29fcb5cb, clientWindowId=da8d80f1906b11dd869c000c29fcb5cb, clientSessionId=EiETMra5JX4Gu2lcZdumWYIuXWx3fJ28HAGePD4A_SAP). The causing exception is nested. RID=db61c0e1906b11dd8410000c29fcb5cb
         at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.destroy(ClientApplication.java:618)
         at com.sap.tc.webdynpro.serverimpl.core.sessionctx.AbstractExecutionContextDispatcher.delegateToApplicationDestroy(AbstractExecutionContextDispatcher.java:168)
         at com.sap.tc.webdynpro.serverimpl.wdc.sessionctx.DispatchHandlerForAppDestruction.doService(DispatchHandlerForAppDestruction.java:41)
         at com.sap.tc.webdynpro.serverimpl.wdc.sessionctx.AbstractDispatchHandler.service(AbstractDispatchHandler.java:116)
         at com.sap.engine.services.servlets_jsp.server.deploy.impl.module.IRequestDispatcherImpl.dispatch(IRequestDispatcherImpl.java:93)
         at com.sap.tc.webdynpro.serverimpl.wdc.sessionctx.ExecutionContextDispatcher.dispatchToApplicationDestroy(ExecutionContextDispatcher.java:128)
         at com.sap.tc.webdynpro.serverimpl.core.sessionctx.AbstractExecutionContextDispatcher.dispatch(AbstractExecutionContextDispatcher.java:87)
         at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.dispatch(ApplicationSession.java:507)
         at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.dispatch(ApplicationSession.java:527)
         at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.destroy(ApplicationSession.java:322)
         at com.sap.tc.webdynpro.clientserver.session.ClientWindow.destroyApplicationSession(ClientWindow.java:251)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doDestroyApplication(ClientSession.java:903)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doPostprocessing(ClientSession.java:751)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:242)
         at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:231)
         at com.sap.tc.webdynpro.serverimpl.core.sessionctx.AbstractExecutionContextDispatcher.delegateToRequestManager(AbstractExecutionContextDispatcher.java:205)
         at com.sap.tc.webdynpro.serverimpl.wdc.sessionctx.DispatchHandlerForRequestManager.doService(DispatchHandlerForRequestManager.java:38)
         at com.sap.tc.webdynpro.serverimpl.wdc.sessionctx.AbstractDispatchHandler.service(AbstractDispatchHandler.java:116)
         at com.sap.engine.services.servlets_jsp.server.deploy.impl.module.IRequestDispatcherImpl.dispatch(IRequestDispatcherImpl.java:93)
         at com.sap.tc.webdynpro.serverimpl.wdc.sessionctx.ExecutionContextDispatcher.dispatchToRequestManager(ExecutionContextDispatcher.java:140)
         at com.sap.tc.webdynpro.serverimpl.core.sessionctx.AbstractExecutionContextDispatcher.dispatch(AbstractExecutionContextDispatcher.java:93)
         at com.sap.tc.webdynpro.serverimpl.core.sessionctx.AbstractExecutionContextDispatcher.dispatch(AbstractExecutionContextDispatcher.java:105)
         at com.sap.tc.webdynpro.serverimpl.core.AbstractDispatcherServlet.doContent(AbstractDispatcherServlet.java:87)
         at com.sap.tc.webdynpro.serverimpl.core.AbstractDispatcherServlet.doGet(AbstractDispatcherServlet.java:54)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
         at com.sap.engine.services.servlets_jsp.server.Invokable.invoke(Invokable.java:66)
         at com.sap.engine.services.servlets_jsp.server.Invokable.invoke(Invokable.java:32)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:431)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:289)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:387)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:376)
         at com.sap.engine.services.servlets_jsp.filters.ServletSelector.process(ServletSelector.java:85)
         at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)
         at com.sap.engine.services.servlets_jsp.filters.ApplicationSelector.process(ApplicationSelector.java:160)
         at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)
         at com.sap.engine.services.httpserver.filters.WebContainerInvoker.process(WebContainerInvoker.java:67)
         at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)
         at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)
         at com.sap.engine.services.httpserver.filters.ResponseLogWriter.process(ResponseLogWriter.java:60)
         at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)
         at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)
         at com.sap.engine.services.httpserver.filters.DefineHostFilter.process(DefineHostFilter.java:27)
         at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
         at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)
         at com.sap.engine.services.httpserver.filters.MonitoringFilter.process(MonitoringFilter.java:29)
         at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
         at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)
         at com.sap.engine.services.httpserver.server.Processor.chainedRequest(Processor.java:309)
         at com.sap.engine.services.httpserver.server.Processor$FCAProcessorThread.run(Processor.java:222)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:152)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:247)
    Caused by: java.lang.NullPointerException
         at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.exit(ClientComponent.java:184)
         at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.destroy(ClientApplication.java:616)
         ... 53 more
    #1.5 #000C29FCB5CB0026000000CE000013A40090E803E0C740AC#1222942880750#com.sap.tc.webdynpro.sessionmanagement#sap.com/tc~wd~dispwda#com.sap.tc.webdynpro.sessionmanagement.ExceptionHandler.handleThrowable#mko#2098##n.a.##db4f2870905911ddbf69000c29fcb5cb#HTTP Worker [4]##0#0#Error#1#/System/UserInterface#Java###Exception occured during processing of Web Dynpro application {0}. For details, check entry {1} in trace.#3# local/ReadPurchaseOrder/ReadPurchaseOrderApp#000C29FCB5CB0026000000CC000013A40090E803E0C740AC#com.sap.tc.webdynpro.sessionmanagement#
    Now I have no idea how to solve this problem. In detail I have no idea how to get the named references: sap.com/tcjewebservicesapi, sap.com/tcwdwslibapi, sap.com/tcjewebserviceslib, sap.com/tcwd~api. Can anyone help me?

    HI,
    Problem is wierd.
    but you can try
    As there is problem for getting refernce for
    sap.com/tcjewebservicesapi, sap.com/tcwdwslibapi, sap.com/tcjewebserviceslib, sap.com/tcwd~api
    you can add them as sharing references or service references in your project properties->web dynpro.
    Just for info, you got an exception saying
    java.lang.UnsupportedClassVersionError
    what is JDK version of server and your NWDS CE 7.1.?

  • 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 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 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)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • 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

  • Problems when migrate 6i to 10G

    I try to migrate forms 6i to 10g and found two problems.
    First:
    In code --> message('something'); This didn´t appear in status bar of my browser. Someone know about it?
    I didn´t found nothing here about this.
    Second:
    How can i align my text in buttons vertically? Because i do this when select button (Arrange-->Align Objects-->
    Vertically-->Align Center) and in layout editor appears correct , but when i run this forms, the
    text in this button locate on bottom and not in center.
    if somebody will be able to help, I am thankful very!

    Concerning your second problem...
    It is my understanding the the Arrange-->Align Objects...
    is for aligning objects with other objects, not for text inside the object.
    For buttons, I would think that the default for text inside a button would be vertical and center align. That's the way it looks for me.
    You will get some differences in appearance between the layout editor and what is displayed in your browser because of the differences in envionments. For example, fonts can get mapped differently. You may try changing the font and see if that helps.

  • 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.

  • Problems when deploying an CMP EJB to websphere

    Hi,
    I am trying to deploy my ear file which contains some CMP Entity Beans and a Session Bean on to websphere.
    I have tested my app on JBoss and Weblogic and it works fine. I believe i need some vendor specific info in order to deploy onto WS, but i dont know what it is.
    When i do deploy to WS i get the following error.
    EJB [TestEJB] is misconfigured: no CMP mapping defined by OpenEJB DD.
    Could someone let me know what this info is or where i can get it from.
    Thanks in advance

    For ADF with WebSphere please refer
    http://radio.weblogs.com/0118231/2004/02/27.html#a243
    http://www.oracle.com/webapps/online-help/jdeveloper/10.1.3/state/content/navId.4/navSetId._/vtAnchor.CIHFHDJJ/vtTopicFile.adfdevguide%7Cdeployment_topics%7Ehtm/
    http://download-east.oracle.com/docs/html/B25947_01/deployment_topics012.htm#CIHBEEIJ

  • Problem when deploy adobe interactive form

    Hai all,
    i am new to adobe interactive form designing,
    i had developed a simple adobe form, the following error occured while running the application,
    i had followed the procedure to "Installing a credential for Adobe Document Services"
    Help me to solve this problem
    com.sap.tc.webdynpro.clientserver.adobe.pdfdocument.base.core.PDFDocumentRuntimeException: Failed to  UPDATEDATAINPDF
         at com.sap.tc.webdynpro.clientserver.uielib.adobe.impl.InteractiveForm.afterHandleActionEvent(InteractiveForm.java:396)
         at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.afterApplicationModification(ClientApplication.java:1132)
         at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.afterApplicationModification(ClientComponent.java:887)
         at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doRespond(WindowPhaseModel.java:573)
         at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:152)
         at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:335)
         at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143)
         at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:299)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:711)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:665)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:232)
         at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:152)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doGet(DispatcherServlet.java:46)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    Caused by: com.sap.tc.webdynpro.clientserver.adobe.pdfdocument.base.core.PDFDocumentRuntimeException: PDFDocument Processor failed to process Render Request.
         at com.sap.tc.webdynpro.clientserver.adobe.pdfdocument.base.core.PDFDocumentProcessor.process(PDFDocumentProcessor.java:55)
         at com.sap.tc.webdynpro.clientserver.adobe.pdfdocument.base.core.PDFDocumentInteractiveFormHandlingContext.execute(PDFDocumentInteractiveFormHandlingContext.java:98)
         at com.sap.tc.webdynpro.clientserver.adobe.pdfdocument.base.core.PDFDocumentInteractiveFormHandlingContext.execute(PDFDocumentInteractiveFormHandlingContext.java:121)
         at com.sap.tc.webdynpro.clientserver.uielib.adobe.impl.InteractiveForm.afterHandleActionEvent(InteractiveForm.java:341)
         ... 29 more
    Caused by: com.sap.tc.webdynpro.pdfobject.core.PDFObjectRuntimeException:
    Processing exception during a "UsageRights" operation.
    Request start time: Tue Oct 09 10:51:37 GMT+05:30 2007
    com.adobe.ProcessingError: Not allowed by credential error while applying usage rights to PDF: C:\WINDOWS\Temp\adobewa_J2E_2182850\DM-7168388254160118756.dir\DM-2237897618368579481.tmp
    Specific error information:
    $$$/PDF/PDFCredentialDoesNotSpecifiedUsageRights=credential does not allow setting of specified UB rights
    General error information:
    IDL:com/adobe/document/pdf/NotAllowedByCredential:1.0
    Exception Stack Trace:
    com.adobe.ProcessingError: Not allowed by credential error while applying usage rights to PDF: C:\WINDOWS\Temp\adobewa_J2E_2182850\DM-7168388254160118756.dir\DM-2237897618368579481.tmp
    Specific error information:
    $$$/PDF/PDFCredentialDoesNotSpecifiedUsageRights=credential does not allow setting of specified UB rights
    General error information:
    IDL:com/adobe/document/pdf/NotAllowedByCredential:1.0
         at com.adobe.ads.request.UsageRights.execute(Unknown Source)
         at com.adobe.BaseADSRequest.doWork(Unknown Source)
         at com.adobe.AdobeDocumentServicesWorker.execute(Unknown Source)
         at com.adobe.AdobeDocumentServicesEJB.processRequest(Unknown Source)
         at com.adobe.AdobeDocumentServicesEJB.rpData(Unknown Source)
         at com.adobe.AdobeDocumentServicesLocalLocalObjectImpl0.rpData(AdobeDocumentServicesLocalLocalObjectImpl0.java:120)
         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.sap.engine.services.webservices.runtime.EJBImplementationContainer.invokeMethod(EJBImplementationContainer.java:126)
         at com.sap.engine.services.webservices.runtime.RuntimeProcessor.process(RuntimeProcessor.java:157)
         at com.sap.engine.services.webservices.runtime.RuntimeProcessor.process(RuntimeProcessor.java:79)
         at com.sap.engine.services.webservices.runtime.servlet.ServletDispatcherImpl.doPost(ServletDispatcherImpl.java:92)
         at SoapServlet.doPost(SoapServlet.java:51)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    Caused by: com.adobe.document.pdf.NotAllowedByCredential: IDL:com/adobe/document/pdf/NotAllowedByCredential:1.0
         at com.adobe.document.pdf.NotAllowedByCredentialHelper.read(NotAllowedByCredentialHelper.java:67)
         at com.adobe.document.pdf._PDFDocumentStub.setUsageRights(_PDFDocumentStub.java:286)
         at com.adobe.EJB_PDFAgent.setUsageRights(Unknown Source)
         ... 31 more
         at com.sap.tc.webdynpro.pdfobject.core.PDFObject.doSoapCall(PDFObject.java:387)
         at com.sap.tc.webdynpro.pdfobject.core.PDFObject.render(PDFObject.java:3710)
         at com.sap.tc.webdynpro.clientserver.adobe.pdfdocument.base.core.PDFDocumentRenderHandler.handle(PDFDocumentRenderHandler.java:139)
         at com.sap.tc.webdynpro.clientserver.adobe.pdfdocument.base.core.PDFDocumentProcessor.process(PDFDocumentProcessor.java:52)
         ... 32 more
    Caused by: com.sap.tc.webdynpro.pdfobject.core.PDFObjectRuntimeException:
    Processing exception during a "UsageRights" operation.
    Request start time: Tue Oct 09 10:51:37 GMT+05:30 2007
    com.adobe.ProcessingError: Not allowed by credential error while applying usage rights to PDF: C:\WINDOWS\Temp\adobewa_J2E_2182850\DM-7168388254160118756.dir\DM-2237897618368579481.tmp
    Specific error information:
    $$$/PDF/PDFCredentialDoesNotSpecifiedUsageRights=credential does not allow setting of specified UB rights
    General error information:
    IDL:com/adobe/document/pdf/NotAllowedByCredential:1.0
    Exception Stack Trace:
    com.adobe.ProcessingError: Not allowed by credential error while applying usage rights to PDF: C:\WINDOWS\Temp\adobewa_J2E_2182850\DM-7168388254160118756.dir\DM-2237897618368579481.tmp
    Specific error information:
    $$$/PDF/PDFCredentialDoesNotSpecifiedUsageRights=credential does not allow setting of specified UB rights
    General error information:
    IDL:com/adobe/document/pdf/NotAllowedByCredential:1.0
         at com.adobe.ads.request.UsageRights.execute(Unknown Source)
         at com.adobe.BaseADSRequest.doWork(Unknown Source)
         at com.adobe.AdobeDocumentServicesWorker.execute(Unknown Source)
         at com.adobe.AdobeDocumentServicesEJB.processRequest(Unknown Source)
         at com.adobe.AdobeDocumentServicesEJB.rpData(Unknown Source)
         at com.adobe.AdobeDocumentServicesLocalLocalObjectImpl0.rpData(AdobeDocumentServicesLocalLocalObjectImpl0.java:120)
         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.sap.engine.services.webservices.runtime.EJBImplementationContainer.invokeMethod(EJBImplementationContainer.java:126)
         at com.sap.engine.services.webservices.runtime.RuntimeProcessor.process(RuntimeProcessor.java:157)
         at com.sap.engine.services.webservices.runtime.RuntimeProcessor.process(RuntimeProcessor.java:79)
         at com.sap.engine.services.webservices.runtime.servlet.ServletDispatcherImpl.doPost(ServletDispatcherImpl.java:92)
         at SoapServlet.doPost(SoapServlet.java:51)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    Caused by: com.adobe.document.pdf.NotAllowedByCredential: IDL:com/adobe/document/pdf/NotAllowedByCredential:1.0
         at com.adobe.document.pdf.NotAllowedByCredentialHelper.read(NotAllowedByCredentialHelper.java:67)
         at com.adobe.document.pdf._PDFDocumentStub.setUsageRights(_PDFDocumentStub.java:286)
         at com.adobe.EJB_PDFAgent.setUsageRights(Unknown Source)
         ... 31 more
         at com.sap.tc.webdynpro.pdfobject.core.PDFObject.doSoapCall(PDFObject.java:374)
         ... 35 more

    Hi Siva,
    If you are developig your form using NWDS, make sure about the cardinality of the context parameter - data Source not 0..1 or 0..n.You may refer similar threads (of same kind of error) in this forum..
    Hope this helps. Assuming you have successfully tested, ADS and the credential file at the ABAP stack, by rurnning the respective ABAP reports.
    Thanks and Regards,
    Anto.

  • 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

Maybe you are looking for

  • Why  Does iMOVIE Crash When I Start To Import A Video?

    I'm running iMovie 6.0.3 and every time I start to import video from my camcorder it crashes. This problem started about a year ago. Why can't MAC make anything that just keeps working? So why is it doing this now? Sometimes if I start playing the vi

  • SAP standard report to show Inter Company transactions

    Basically, we have two companies that are buying and selling between each other. One of the companies is a subsidery of the other. So, the parent(x) can sell or buy from it's sub(Y) and visa versa. At the end of the period, we need to consolidate bot

  • Decimation( Does decimation.vi have a low pass filter?)

    Hello,     I have a question regarding decimation function (decimation(continuous).vi) in labview. Does it have a low pass filter to take care of aliasing, if yes is it a zero phase filter. Basically I am looking for some thing which can decimate 20K

  • Finder periodically using waaayyyyy too much memory

    Since upgrading to 10.5.8 the Finder strikes me as being a bit odd at times. Sometimes it is using a lot of cpu cycles such as 50-80% for no apparent reason that I can find – not copying anything, etc. In trying to sus this out when I notice my machi

  • How do you share thousands of pictures with text and captions outside of PSE?  (PSE 4)

    One of my dad's retirement passions is family genealogy and old family pictures.  Several years ago I gave my family PSE 4.0 for Christmas so that we could each have backup copies of our dad's pictures.  Usually once per year, I made backup copies of