I get exception when I display  2 diff portlet apps using JSF technology?

I tried to show different web apps in 2 different porlets but I get exception. Running each of them independently there is no problem but running them together results in following exception. Any ideas?
Nested Exception is java.lang.ClassCastException
     at javax.faces.webapp.UIComponentTag.findComponent(UIComponentTag.java:698)
     at javax.faces.webapp.UIComponentTag.doStartTag(UIComponentTag.java:429)
     at com.sun.faces.taglib.jsf_core.ViewTag.doStartTag(ViewTag.java:105)
     at org.apache.jsp.intro_jsp._jspx_meth_f_view_0(org.apache.jsp.intro_jsp:94)

The logs are by default located in Tomcat/logs and configurable by Tomcat/conf/logging.properties.
Having said that, when I google on [java.lang.NoClassDefFoundError: Could not initialize class org.apache.myfaces.shared_tomahawk.config.MyfacesConfig|http://www.google.com/search?q=java.lang.NoClassDefFoundError%3A+Could+not+initialize+class+org.apache.myfaces.shared_tomahawk.config.MyfacesConfig] then I have the impression that you're using Tomahawk 1.1.7 snapshot and there might be a bug in it. Try using Tomahawk 1.1.6 and see if it works. After all, you may have more luck if you post this issue at their own mailinglist at tomahawk.apache.org.

Similar Messages

  • Getting exception when trying to get taskdetails url using BPM worklist api

    Getting exception when trying to get taskdetails url using BPM worklist api method :
    String url = WorklistUtil.getTaskDisplayURL(
    wfSvcClient,
    ctx,
    task,
    null,
    "worklist",
    parameters);
    Jul 21, 2011 11:24:40 AM oracle.bpel.services.common.ServicesLogger __log
    WARNING: <oracle.bpel.services.workflow.client.worklist.util.TaskFlowPropsUtil.getServerPropertiesFromMbean()> Exception while loading install config file in standalone Error : javax.management.InstanceNotFoundException: com.bea:Name=RuntimeService,Type=weblogic.management.mbeanservers.runtime.RuntimeServiceMBean: com.bea:Name=RuntimeService,Type=weblogic.management.mbeanservers.runtime.RuntimeServiceMBean
    oracle.fabric.common.FabricException: javax.management.InstanceNotFoundException: com.bea:Name=RuntimeService,Type=weblogic.management.mbeanservers.runtime.RuntimeServiceMBean: com.bea:Name=RuntimeService,Type=weblogic.management.mbeanservers.runtime.RuntimeServiceMBean
    at oracle.soa.common.util.PlatformUtils.getServerInfo(PlatformUtils.java:184)
    at oracle.bpel.services.workflow.client.worklist.util.TaskFlowPropsUtil.getServerPropertiesFromMbean(TaskFlowPropsUtil.java:319)
    at oracle.bpel.services.workflow.client.worklist.util.TaskFlowPropsUtil.getServerInfoForWeblogicServer(TaskFlowPropsUtil.java:491)
    at oracle.bpel.services.workflow.client.worklist.util.TaskFlowPropsUtil.getServerInfo(TaskFlowPropsUtil.java:363)
    at oracle.bpel.services.workflow.worklist.api.util.WorklistUtil.getDefaultURLPrefix(WorklistUtil.java:264)
    at oracle.bpel.services.workflow.worklist.api.util.WorklistUtil.getTaskDisplayURL(WorklistUtil.java:353)
    at oracle.bpel.services.workflow.worklist.api.util.WorklistUtil.getTaskDisplayURL(WorklistUtil.java:293)
    at com.test.WorflowServiceClient.main(WorflowServiceClient.java:198)
    Caused by: javax.management.InstanceNotFoundException: com.bea:Name=RuntimeService,Type=weblogic.management.mbeanservers.runtime.RuntimeServiceMBean
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getMBean(DefaultMBeanServerInterceptor.java:1094)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getAttribute(DefaultMBeanServerInterceptor.java:662)
    at com.sun.jmx.mbeanserver.JmxMBeanServer.getAttribute(JmxMBeanServer.java:638)
    at oracle.as.jmx.framework.config.session.ConfigurationMBeanServerImpl.getAttribute(ConfigurationMBeanServerImpl.java:210)
    at oracle.soa.common.util.PlatformUtils.getServerInfo(PlatformUtils.java:78)
    ... 7 more
    Caught workflow exception: null
    Process exited with exit code 0.
    Can anyone please help me

    Actually i'm using Jdeveloper 11.1.1.4 and our requirement is to show list of BPM worklist tasks for the logged in user on the first page and onclick of each task task details page should be opened. I can use Webcenter PS3 worklist taskflow. But i'm not able to customize that taskflow. So, i'm going for Worklist client api.
    I'm able to retrive the taskId,task title and few other details like task payload. But i don't know why the below method is giving exception.
    String url =
    WorklistUtil.getTaskDisplayURL(wfSvcClient,
    ctx, task, null,
    "worklist", parameters);
    And i observed that you have also used the same code for getting Taskdetails url. And one more thing is i'm trying to access BPM worklist which is installed on remote machine.
    Can you tell me what could be the reason for the exception?

  • I keep getting an "Update Failed" message when trying to update my apps using Creative Cloud.

    I keep getting an "Update Failed" message when trying to update my apps using Creative Cloud.

    [ Mac 10.9.3 / Indesign CC update fail / Premiere update fail / Adobe Media Encoder 7.2.2 update fail ]
    Adobe Media Encoder was the problem for me. There's no separate uninstaller for AME. My ID CC and Premiere couldn't be updated (for the AME7.2.2 update as the only change). MCMHMPEGVideoCodec.framework seemed to be the factor.
    I uninstalled Premiere (only), after having manually removed MCMHMPEGVideoCodec.framework from inside AME. After boot I installed it again and voilà, both (ID & Premiere) updates went trough fine. The MCMHMPEGVideoCodec.framework was on place inside AME too.

  • Getting exception when trying to open Alert Configuration in RW

    Hello friends,
    I am getting the following exception when i am trying to open the Alert Configuration/Alert Inbox in RWB.
    Exception:
    com.sap.aii.rwb.exceptions.BuildLandscapeException: No central monitoring server in exchange profile
            at com.sap.aii.rwb.core.MonitoringServer.(MonitoringServer.java:77)
            at com.sap.aii.rwb.agent.server.SLDAgentBean.buildMonitoringServer(SLDAgentBean.java:799)
            at com.sap.aii.rwb.agent.server.SLDAgentBean.getMonitoringServer(SLDAgentBean.java:1462)
            at com.sap.aii.rwb.agent.api.SLDAgentObjectImpl0.getMonitoringServer(SLDAgentObjectImpl0.java:999)
            at com.sap.aii.rwb.agent.api.SLDAgent_Stub.getMonitoringServer(SLDAgent_Stub.java:1931)
            at com.sap.aii.rwb.agent.client.EJBAgent.getMonitoringServer(EJBAgent.java:493)
            at jsp_alert_inbox1204719699497._jspService(jsp_alert_inbox1204719699497.java:28)
            at com.sap.engine.services.servlets_jsp.server.jsp.JspBase.service(JspBase.java:112)
            at com.sap.engine.services.servlets_jsp.server.servlet.JSPServlet.service(JSPServlet.java:544)
            at com.sap.engine.services.servlets_jsp.server.servlet.JSPServlet.service(JSPServlet.java:186)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
            at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.doWork(RequestDispatcherImpl.java:321)
            at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:377)
            at jsp_FC_Secure1204104271605._jspService(jsp_FC_Secure1204104271605.java:24)
            at com.sap.engine.services.servlets_jsp.server.jsp.JspBase.service(JspBase.java:112)
            at com.sap.engine.services.servlets_jsp.server.servlet.JSPServlet.service(JSPServlet.java:544)
            at com.sap.engine.services.servlets_jsp.server.servlet.JSPServlet.service(JSPServlet.java:186)
            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)
    Could you please help me out in solving this problem?
    Thanks & Regards,
    Senthil

    From your error, maybe your profile parameter for alert message server is not properly configured:
    I just came cross a post elaborating alerting configuration from Aashish Sinha, hope it helps,
    Liang
    =====Post from Aashish Sinha=======
    Prerequisites
    The following prerequisites have to be met in order to use the Alert Management (ALM):
    · For using the Alert Inbox (BSP based display program of ALM), the corresponding service has to be activated in the service maintenance transaction SICF. Choose Default_host ? sap ? bc ? bsp ? sap ? alert inbox, and Activate in the context menu.
    · For customizing or administration of the Alert Management the corresponding authorization role has to be assigned. The end users do not need any additional authorization.
    · The central alert server must be maintained as an RFC destination in transaction SM59 in the local system. If there is no suitable user, you have to create a user for the RFC connection in the central alert system in transaction SU01. To make this RFC destination known as the RFC destination of the Alert Management System in the local system, the central alert server must also be selected as the RFC destination in transaction SALRT1 of the local system or in Settings ? RFC-Destination of Alert Server.
    If the central alert server is running on the local system in the same client, you do not have to maintain an RFC destination. In this case, you can simply enter NONE in transaction SALRT1.
    · If external communication types, such as e-mail, SMS, and fax are used, these communication types must be correctly configured in SAPconnect, because the alerts are then sent from the central alert system via SAPconnect.
    Process Flow
    The following describes the process flow from alert configuration (transaction ALRTCATDEF) to alert display and confirmation (for example in the alert inbox transaction ALRTINBOX):
    1. Optional: You can define alert classifications. These are useful to group alert categories. For example, you can create an alert classification CRM that contains alert categories referring to CRM. Alert classifications can now have subclassifications. This enables you to build up your own classification hierarchy. Especially, if you use the Alert Mangement (ALM) extensively, classification and subclassification help you to organize your ALM alert landscape and to have a clear overview.
    2. For different types of alerts you have to define different categories. The category contains various properties and other specifications that define the alerts within that category, for example expiry date, or the escalation recipient. You can define an alert category to suit your business requirements and assign the category to the corresponding classification. For example, for the alert classification CRM you can create the alert categories Contract Cancelled and Decrease in Sales. When the critical situation defined in the alert category arises, the system recognizes this and sends an alert instance of this category to the recipients determined. The alerts can always be found in the display programs configured for the recipient (UWL, application-specific program, or alert inbox). Additionally, the alerts are sent via eventual external communication channels, such as e-mail, sms, or fax.
    3. You have to determine recipients so that the Alert Management knows who the recipients of alerts of a particular category are and that the correct parties are informed.
    4. You can configure the way how alerts are processed. For the general use of the Alert Management you do not have to change the default settings. However, if for example you want to send alerts to third-party systems, or to be able to confirm alerts by SMS/Internet mail, or to have logs written, then you have to configure alert processing.
    5. There is a number of Alert Management administration reports that you must schedule according to your requirements. For example, report RSALERTPROC must be executed in order to enable escalation.
    6. Alerts of a particular category must be triggered by an application at runtime. Triggering alerts can be done in various ways. You can call a function module directly or use middleware components that trigger alerts, such as the Business Object Repository (BOR), Post Processing Framework (PPF), SAP Workflow, or CCMS.
    7. Recipients can view the alerts assigned to them in the UWL of Enteprise Portal, in application-specific display programs, or in the alert inbox. In addition, alerts can be received as e-mail, SMS, or fax, if these external communication channels are configured in SAPconnect.
    8. If the problem causing the alert is solved by a recipient, the recipient can confirm the alert, this means its status is changed and it will not be delivered, escalated, or displayed anymore. Alerts are generally confirmed by the recipient in the display program, such as the UWL or Alert Inbox. However, if an alert is sent by Internet mail or SMS message, it is also possible to confirm it by sending an Internet mail or SMS message back to the SAP system. Alert Management uses inbound processing for this.
    Hope this will help you.
    Regards
    Aashish Sinha
    ============End of the Post=======================

  • HELP!  Exception when Programmatically Adding a Portlet to a Page

    We have been able to programmatically add WSRP Producers and Portlets into the BEA's local registry with WebLogic Portal 8.1 SP3. When we try to programmatically add a portlet to a page from within a JSP portlet we are hitting an issue. We are getting an exception when we try to call the addPlaceable method on the page instance manager. Here's the code snippet I'm using to programmatically add a portlet to a page:
    IPageInstanceManager ipiManager = new PortalCustomizationManagerImpl();
    CustomizationContext customizationContext = new CustomizationContext(ProxyPortletManager.LocaleHelper.findLocale("en"));
    DesktopDefinitionId desktopDefinitionId = new DesktopDefinitionId("portal", new PortalPath("rdec"), new DesktopPath("enterprisePortal"));
    PageInstanceId pageInstanceId = new PageInstanceId(6001);
    PortletDefinitionId portletDefinitionId = new PortletDefinitionId(6002);
    PlaceholderDefinitionId placeholderDefinitionId = new PlaceholderDefinitionId(2001);
    PlaceableInstance placeableInstance = ipiManager.addPlaceable(customizationContext, desktopDefinitionId, pageInstanceId, portletDefinitionId, placeholderDefinitionId, 0);However, I get the following stack trace when the last line executes (ipiManager.addPlaceable):
    Error opening /WEB-INF/views/registry/registry.jsp.
    The source of this error is javax.ejb.EJBException: DataSource [java:comp/env/jdbc/portalFrameworkPool] not found due to
    [javax.naming.NameNotFoundException: While trying to look up comp/env/jdbc/portalFrameworkPool in /app/webapp/portal/38957322.; remaining name 'comp/env/jdbc/portalFrameworkPool']. at com.bea.netuix.application.manager.persistence.jdbc.PortalCustomizationM
    anagerImpl.getDataSource()Ljavax.sql.DataSource;(PortalCustomizationMana
    gerImpl.java:1420) at
    com.bea.netuix.application.manager.persistence.jdbc.PortalCustomizationM
    anagerImpl.getConnection()Ljava.sql.Connection;(PortalCustomizationManag
    erImpl.java:1396) at
    com.bea.netuix.application.manager.persistence.jdbc.PortalCustomizationM
    anagerImpl.getPageInstance(Lcom.bea.netuix.application.manager.Customiza
    tionContext;Lcom.bea.netuix.application.identifier.PageInstanceId;)Lcom.
    bea.netuix.application.instance.PageInstance;(PortalCustomizationManager
    Impl.java:401) at
    com.bea.netuix.application.manager.persistence.jdbc.PortalCustomizationM
    anagerImpl.getPageDefinitionId(Lcom.bea.netuix.application.manager.Custo
    mizationContext;Lcom.bea.netuix.application.identifier.PageInstanceId;)L
    com.bea.netuix.application.identifier.PageDefinitionId;(PortalCustomizat
    ionManagerImpl.java:1438) at
    com.bea.netuix.application.manager.persistence.jdbc.PortalCustomizationM
    anagerImpl.addPlaceable(Lcom.bea.netuix.application.manager.Customizatio
    nContext;Lcom.bea.netuix.application.identifier.DesktopDefinitionId;Lcom
    .bea.netuix.application.identifier.PageInstanceId;Lcom.bea.netuix.applic
    ation.identifier.PlaceableDefinitionId;Lcom.bea.netuix.application.ident
    ifier.PlaceholderDefinitionId;I)Lcom.bea.netuix.application.instance.Pla
    ceableInstance;(PortalCustomizationManagerImpl.java:473) at jsp_servlet._web_45_inf._views._registry.__registry._jspService(Ljavax.s
    ervlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)
    V(registry.jsp:107) at
    weblogic.servlet.jsp.JspBase.service(Ljavax.servlet.ServletRequest;Ljava
    x.servlet.ServletResponse;)V(JspBase.java:33) at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run()L
    java.lang.Object;(ServletStubImpl.java:996) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(Ljavax.servlet.S
    ervletRequest;Ljavax.servlet.ServletResponse;Lweblogic.servlet.internal.
    FilterChainImpl;)V(ServletStubImpl.java:419) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(Ljavax.servlet.S
    ervletRequest;Ljavax.servlet.ServletResponse;Lweblogic.servlet.internal.
    FilterChainImpl;)V(ServletStubImpl.java:463) at weblogic.servlet.internal.TailFilter.doFilter(Ljavax.servlet.ServletRequ
    est;Ljavax.servlet.ServletResponse;Ljavax.servlet.FilterChain;)V(TailFil
    ter.java:28) at
    weblogic.servlet.internal.FilterChainImpl.doFilter(Ljavax.servlet.Servle
    tRequest;Ljavax.servlet.ServletResponse;)V(FilterChainImpl.java:27) at com.bea.p13n.servlets.PortalServletFilter.doFilter(Ljavax.servlet.Servle
    tRequest;Ljavax.servlet.ServletResponse;Ljavax.servlet.FilterChain;)V(Po
    rtalServletFilter.java:351) at
    weblogic.servlet.internal.FilterChainImpl.doFilter(Ljavax.servlet.Servle
    tRequest;Ljavax.servlet.ServletResponse;)V(FilterChainImpl.java:27) at com.bea.wlw.netui.pageflow.PageFlowJspFilter.doFilter(Ljavax.servlet.Ser
    vletRequest;Ljavax.servlet.ServletResponse;Ljavax.servlet.FilterChain;)V
    (PageFlowJspFilter.java:101) at
    weblogic.servlet.internal.FilterChainImpl.doFilter(Ljavax.servlet.Servle
    tRequest;Ljavax.servlet.ServletResponse;)V(FilterChainImpl.java:27) at weblogic.servlet.internal.RequestDispatcherImpl.include(Ljavax.servlet.S
    ervletRequest;Ljavax.servlet.ServletResponse;Z)V(RequestDispatcherImpl.j
    ava:628) at
    weblogic.servlet.internal.RequestDispatcherImpl.include(Ljavax.servlet.S
    ervletRequest;Ljavax.servlet.ServletResponse;)V(RequestDispatcherImpl.ja
    va:412) at
    com.bea.netuix.servlets.controls.content.JspContent.beginRender(Ljava.io
    .Writer;)Z(JspContent.java:483) at
    com.bea.netuix.nf.ControlLifecycle$6.visit(Lcom.bea.netuix.nf.UIControl;
    Ljava.lang.Object;)Z(ControlLifecycle.java:441) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(Lcom.bea.netuix.
    nf.VisitorType;Lcom.bea.netuix.nf.UIControl;Ljava.lang.Object;)V(Control
    TreeWalker.java:433) at
    com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(Lcom.bea.netuix.
    nf.VisitorType;Lcom.bea.netuix.nf.UIControl;Ljava.lang.Object;)V(Control
    TreeWalker.java:443) at
    com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(Lcom.bea.netuix.
    nf.VisitorType;Lcom.bea.netuix.nf.UIControl;Ljava.lang.Object;)V(Control
    TreeWalker.java:443) at
    com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(Lcom.bea.netuix.
    nf.VisitorType;Lcom.bea.netuix.nf.UIControl;Ljava.lang.Object;)V(Control
    TreeWalker.java:443) at
    com.bea.netuix.nf.ControlTreeWalker.walk(Lcom.bea.netuix.nf.VisitorType;
    Lcom.bea.netuix.nf.UIControl;Lcom.bea.netuix.nf.concurrency.ControlTreeW
    alkerPool;)V(ControlTreeWalker.java:175) at com.bea.netuix.nf.ControlTreeWalker.walk(Lcom.bea.netuix.nf.VisitorType;
    Lcom.bea.netuix.nf.UIControl;)V(ControlTreeWalker.java:95) at com.bea.netuix.nf.Lifecycle.run(Lcom.bea.netuix.nf.UIControl;[Lcom.bea.n
    etuix.nf.VisitorType;Lcom.bea.netuix.nf.VisitorMap;)V(Lifecycle.java:388
    ) at com.bea.netuix.nf.UIControl.render()V(UIControl.java:584) at com.bea.netuix.servlets.controls.PresentationContext.render(Ljavax.servl
    et.http.HttpServletRequest;)V(PresentationContext.java:405) at com.bea.netuix.servlets.util.RenderToolkit.renderChild(Lcom.bea.netuix.s
    ervlets.controls.PresentationContext;Ljavax.servlet.http.HttpServletRequ
    est;)V(RenderToolkit.java:123) at
    com.bea.netuix.servlets.jsp.taglib.RenderChild.doStartTag()I(RenderChild
    .java:58) at
    jsp_servlet._framework._skeletons._rdec.__flowlayout._jspService(Ljavax.
    servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;
    )V(flowlayout.jsp:33)Could anyone please help? Thank you.
    - T.C.

    sorry for all the replys (but i keep finding stuff)
    PortalCustomizationManger is an EJB you can't just
    instantiate a new instance
    IPageInstanceManager ipiManager = new
    PortalCustomizationManagerImpl();
    you need to look it up
    String JNDI_NAME =
    ApplicationHelper.getApplicationName() +
    ".BEA_netuix.PortalPresentationManager";
    portalCustomizationManagerHome =
    (PortalCustomizationManagerHome)initialContext.lookup(
    JNDI_NAME);
    portalCustomizationManager =
    portalCustomizationManagerHome.create();No need to apologize for all the replies, they are VERY MUCH appreciated. Thank you.
    I tried your suggestion (although I had to change the JNDI lookup to lookup the PortalCustomizationManager instead of the PortalPresentationManager because of a ClassCastException) and I get a NullPointerException. Here is the code I am using:
    InitialContext initialContext = new InitialContext();
    CustomizationContext customizationContext = new CustomizationContext(ProxyPortletManager.LocaleHelper.findLocale("en"), request);
    DesktopDefinitionId desktopDefinitionId = new DesktopDefinitionId("portal", new PortalPath("rdec"), new DesktopPath("enterprisePortal"));
    PageInstanceId pageInstanceId = new PageInstanceId(6001);
    PortletDefinitionId portletDefinitionId = new PortletDefinitionId(6002);
    PlaceholderDefinitionId placeholderDefinitionId = new PlaceholderDefinitionId(2001);
    PortalCustomizationManagerHome pageDefinitionManagerHome = (PortalCustomizationManagerHome) initialContext.lookup("RDECPortal.BEA_netuix.PortalCustomizationManager");
    PortalCustomizationManager pageDefinitionManager = pageDefinitionManagerHome.create();
    PlaceableInstance placeableInstance = pageDefinitionManager.addPlaceable(customizationContext, desktopDefinitionId, pageInstanceId, portletDefinitionId, placeholderDefinitionId, 0);...and here is the full stack trace I get when the code is executed:
    Error opening /WEB-INF/views/registry/registry.jsp.
    The source of this error is java.rmi.RemoteException: EJB Exception: ; nested exception is: java.lang.NullPointerException at weblogic.ejb20.internal.EJBRuntimeUtils.throwRemoteException(Ljava.lang.String;Ljava.lang.Throwable;)V(EJBRuntimeUtils.java:102) at weblogic.ejb20.internal.BaseEJBHome.handleSystemException(Lweblogic.ejb20.internal.InvocationWrapper;Ljava.lang.Throwable;)V(BaseEJBHome.java:307) at weblogic.ejb20.internal.BaseEJBObject.postInvoke(Lweblogic.ejb20.internal.InvocationWrapper;Ljava.lang.Throwable;)V(BaseEJBObject.java:263) at weblogic.ejb20.internal.StatelessEJBObject.postInvoke(Lweblogic.ejb20.internal.InvocationWrapper;Ljava.lang.Throwable;)V(StatelessEJBObject.java:140) at com.bea.netuix.application.manager.persistence.jdbc.PortalCustomizationManager_z7jdbo_EOImpl.addPlaceable(Lcom.bea.netuix.application.manager.CustomizationContext;Lcom.bea.netuix.application.identifier.DesktopDefinitionId;Lcom.bea.netuix.application.identifier.PageInstanceId;Lcom.bea.netuix.application.identifier.PlaceableDefinitionId;Lcom.bea.netuix.application.identifier.PlaceholderDefinitionId;I)Lcom.bea.netuix.application.instance.PlaceableInstance;(PortalCustomizationManager_z7jdbo_EOImpl.java:1202) at jsp_servlet._web_45_inf._views._registry.__registry._jspService(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)V(registry.jsp:119) at weblogic.servlet.jsp.JspBase.service(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(JspBase.java:33) at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run()Ljava.lang.Object;(ServletStubImpl.java:996) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;Lweblogic.servlet.internal.FilterChainImpl;)V(ServletStubImpl.java:419) at weblogic.servlet.internal.TailFilter.doFilter(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;Ljavax.servlet.FilterChain;)V(TailFilter.java:28) at weblogic.servlet.internal.FilterChainImpl.doFilter(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(FilterChainImpl.java:27) at com.bea.p13n.servlets.PortalServletFilter.doFilter(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;Ljavax.servlet.FilterChain;)V(PortalServletFilter.java:351) at weblogic.servlet.internal.FilterChainImpl.doFilter(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(FilterChainImpl.java:27) at com.bea.wlw.netui.pageflow.PageFlowJspFilter.doFilter(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;Ljavax.servlet.FilterChain;)V(PageFlowJspFilter.java:101) at weblogic.servlet.internal.FilterChainImpl.doFilter(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(FilterChainImpl.java:27) at weblogic.servlet.internal.RequestDispatcherImpl.include(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;Z)V(RequestDispatcherImpl.java:628) at weblogic.servlet.internal.RequestDispatcherImpl.include(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(RequestDispatcherImpl.java:412) at com.bea.netuix.servlets.controls.content.JspContent.beginRender(Ljava.io.Writer;)Z(JspContent.java:483) at com.bea.netuix.nf.ControlLifecycle$6.visit(Lcom.bea.netuix.nf.UIControl;Ljava.lang.Object;)Z(ControlLifecycle.java:441) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(Lcom.bea.netuix.nf.VisitorType;Lcom.bea.netuix.nf.UIControl;Ljava.lang.Object;)V(ControlTreeWalker.java:433) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(Lcom.bea.netuix.nf.VisitorType;Lcom.bea.netuix.nf.UIControl;Ljava.lang.Object;)V(ControlTreeWalker.java:443) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(Lcom.bea.netuix.nf.VisitorType;Lcom.bea.netuix.nf.UIControl;Ljava.lang.Object;)V(ControlTreeWalker.java:443) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(Lcom.bea.netuix.nf.VisitorType;Lcom.bea.netuix.nf.UIControl;Ljava.lang.Object;)V(ControlTreeWalker.java:443) at com.bea.netuix.nf.ControlTreeWalker.walk(Lcom.bea.netuix.nf.VisitorType;Lcom.bea.netuix.nf.UIControl;Lcom.bea.netuix.nf.concurrency.ControlTreeWalkerPool;)V(ControlTreeWalker.java:175) at com.bea.netuix.nf.ControlTreeWalker.walk(Lcom.bea.netuix.nf.VisitorType;Lcom.bea.netuix.nf.UIControl;)V(ControlTreeWalker.java:95) at com.bea.netuix.nf.Lifecycle.run(Lcom.bea.netuix.nf.UIControl;[Lcom.bea.netuix.nf.VisitorType;Lcom.bea.netuix.nf.VisitorMap;)V(Lifecycle.java:388) at com.bea.netuix.nf.UIControl.render()V(UIControl.java:584) at com.bea.netuix.servlets.controls.PresentationContext.render(Ljavax.servlet.http.HttpServletRequest;)V(PresentationContext.java:405) at com.bea.netuix.servlets.util.RenderToolkit.renderChild(Lcom.bea.netuix.servlets.controls.PresentationContext;Ljavax.servlet.http.HttpServletRequest;)V(RenderToolkit.java:123) at com.bea.netuix.servlets.jsp.taglib.RenderChild.doStartTag()I(RenderChild.java:58) at jsp_servlet._framework._skeletons._rdec.__flowlayout._jspService(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)V(flowlayout.jsp:33) at weblogic.servlet.jsp.JspBase.service(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(JspBase.java:33) Caused by: java.lang.NullPointerException at com.bea.netuix.application.manager.persistence.jdbc.PageInstanceDelegate.addPlaceable(Ljava.sql.Connection;Lcom.bea.netuix.application.identifier.DesktopDefinitionId;Ljava.lang.String;Lcom.bea.netuix.application.identifier.PageInstanceId;Lcom.bea.netuix.application.instance.PlaceableInstance;Lcom.bea.netuix.application.identifier.PlaceholderDefinitionId;IZ)Lcom.bea.netuix.application.instance.PlaceableInstance;(PageInstanceDelegate.java:722) at com.bea.netuix.application.manager.persistence.jdbc.PageInstanceDelegate.addPlaceable(Ljava.sql.Connection;Lcom.bea.netuix.application.identifier.DesktopDefinitionId;Ljava.lang.String;Lcom.bea.netuix.application.identifier.PageInstanceId;Lcom.bea.netuix.application.identifier.PlaceableDefinitionId;Lcom.bea.netuix.application.identifier.PlaceholderDefinitionId;I)Lcom.bea.netuix.application.instance.PlaceableInstance;(PageInstanceDelegate.java:669) at com.bea.netuix.application.manager.persistence.jdbc.PortalCustomizationManagerImpl.addPlaceable(Lcom.bea.netuix.application.manager.CustomizationContext;Lcom.bea.netuix.application.identifier.DesktopDefinitionId;Lcom.bea.netuix.application.identifier.PageInstanceId;Lcom.bea.netuix.application.identifier.PlaceableDefinitionId;Lcom.bea.netuix.application.identifier.PlaceholderDefinitionId;I)Lcom.bea.netuix.application.instance.PlaceableInstance;(PortalCustomizationManagerImpl.java:503) at com.bea.netuix.application.manager.persistence.jdbc.PortalCustomizationManager_z7jdbo_EOImpl.addPlaceable(Lcom.bea.netuix.application.manager.CustomizationContext;Lcom.bea.netuix.application.identifier.DesktopDefinitionId;Lcom.bea.netuix.application.identifier.PageInstanceId;Lcom.bea.netuix.application.identifier.PlaceableDefinitionId;Lcom.bea.netuix.application.identifier.PlaceholderDefinitionId;I)Lcom.bea.netuix.application.instance.PlaceableInstance;(PortalCustomizationManager_z7jdbo_EOImpl.java:1192) at jsp_servlet._web_45_inf._views._registry.__registry._jspService(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)V(registry.jsp:119) at weblogic.servlet.jsp.JspBase.service(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(JspBase.java:33) at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run()Ljava.lang.Object;(ServletStubImpl.java:996) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;Lweblogic.servlet.internal.FilterChainImpl;)V(ServletStubImpl.java:419) at weblogic.servlet.internal.TailFilter.doFilter(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;Ljavax.servlet.FilterChain;)V(TailFilter.java:28) at weblogic.servlet.internal.FilterChainImpl.doFilter(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(FilterChainImpl.java:27) at com.bea.p13n.servlets.PortalServletFilter.doFilter(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;Ljavax.servlet.FilterChain;)V(PortalServletFilter.java:351) at weblogic.servlet.internal.FilterChainImpl.doFilter(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(FilterChainImpl.java:27) at com.bea.wlw.netui.pageflow.PageFlowJspFilter.doFilter(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;Ljavax.servlet.FilterChain;)V(PageFlowJspFilter.java:101) at weblogic.servlet.internal.FilterChainImpl.doFilter(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(FilterChainImpl.java:27) at weblogic.servlet.internal.RequestDispatcherImpl.include(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;Z)V(RequestDispatcherImpl.java:628) at weblogic.servlet.internal.RequestDispatcherImpl.include(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(RequestDispatcherImpl.java:412) at com.bea.netuix.servlets.controls.content.JspContent.beginRender(Ljava.io.Writer;)Z(JspContent.java:483) at com.bea.netuix.nf.ControlLifecycle$6.visit(Lcom.bea.netuix.nf.UIControl;Ljava.lang.Object;)Z(ControlLifecycle.java:441) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(Lcom.bea.netuix.nf.VisitorType;Lcom.bea.netuix.nf.UIControl;Ljava.lang.Object;)V(ControlTreeWalker.java:433) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(Lcom.bea.netuix.nf.VisitorType;Lcom.bea.netuix.nf.UIControl;Ljava.lang.Object;)V(ControlTreeWalker.java:443) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(Lcom.bea.netuix.nf.VisitorType;Lcom.bea.netuix.nf.UIControl;Ljava.lang.Object;)V(ControlTreeWalker.java:443) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(Lcom.bea.netuix.nf.VisitorType;Lcom.bea.netuix.nf.UIControl;Ljava.lang.Object;)V(ControlTreeWalker.java:443) at com.bea.netuix.nf.ControlTreeWalker.walk(Lcom.bea.netuix.nf.VisitorType;Lcom.bea.netuix.nf.UIControl;Lcom.bea.netuix.nf.concurrency.ControlTreeWalkerPool;)V(ControlTreeWalker.java:175) at com.bea.netuix.nf.ControlTreeWalker.walk(Lcom.bea.netuix.nf.VisitorType;Lcom.bea.netuix.nf.UIControl;)V(ControlTreeWalker.java:95) at com.bea.netuix.nf.Lifecycle.run(Lcom.bea.netuix.nf.UIControl;[Lcom.bea.netuix.nf.VisitorType;Lcom.bea.netuix.nf.VisitorMap;)V(Lifecycle.java:388) at com.bea.netuix.nf.UIControl.render()V(UIControl.java:584) at com.bea.netuix.servlets.controls.PresentationContext.render(Ljavax.servlet.http.HttpServletRequest;)V(PresentationContext.java:405) at com.bea.netuix.servlets.util.RenderToolkit.renderChild(Lcom.bea.netuix.servlets.controls.PresentationContext;Ljavax.servlet.http.HttpServletRequest;)V(RenderToolkit.java:123) at com.bea.netuix.servlets.jsp.taglib.RenderChild.doStartTag()I(RenderChild.java:58) at jsp_servlet._framework._skeletons._rdec.__flowlayout._jspService(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)V(flowlayout.jsp:33) at weblogic.servlet.jsp.JspBase.service(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(JspBase.java:33) at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run()Ljava.lang.Object;(ServletStubImpl.java:996)
    Any ideas why I'm getting a NPE???  Thanks.
    - T.C.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    

  • Getting exception when connecting to MySQL

    Hi,
    My name is sudheesh and i am working on a j2ee migration project from JBOSS to SAP WAS. I have succeeded defining the data source for connecting the application to MySQL DB.
    But when i tried to connect database using a CMP entity bean, I am getting an error message as given below,
    " <b>javax.transaction.TransactionRolledbackException: com.sap.engine.services.ejb.exceptions.BaseTransactionRolledbackException: Exception in method com.beo.myatlas.integration.beans.user.UserHomeImpl0.findByPrimaryKey(..)"</b>
    As i further went down in the exception trace i found a SQL Exception as given below,
    "<b>java.sql.SQLException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '"MAS_USER" where "USERID" = 'admin'' at line 1</b>"
    But when i used JDBC instaed of Entity bean, i am able to execute the same statement and retrieve the record..
    Please help me ...
    Regards,
    Sudheesh

    Hello  Sudheesh ,
    i am also supporting you. But i think when it comes to CMP (Entity bean), that can support only SAP Certified database. but for BMP it will support all DB , which are providing their JDBC driver.
    MySQL and MaxDB are products of  MySQL AB.
    MaxDB is MySQL AB's SAP-certified database.
    u will get in detail of from this link.
    just refer for details.
    http://dev.mysql.com/doc/refman/5.1/en/maxdb-mysql-differences.html
                                   Regards
                                    Kishor Gopinathan

  • "Getting exception when trying to run a JDBC code"

    Hi,
    I am getting this exception when I try to run the Jdbc code. Can some one sort out what is the problem.
    Exception in thread "main" java.lang.UnsupportedClassVersionError: TestJdbcGrip
    (Unsupported major.minor version 49.0)Regards

    The JDBC jarfile you have is either too new, or too old (less liekely) for you current Java version. Download a newer Java version and try that. If it doesn't work, then download the newer version of the JDBC driver and try it with both of the Java versions (both because if it works with both, then you can continue using whichever one you like).

  • Getting exception when accessing outlook through Redemption COM

    We are accessing outlook through redemption DLL in c#.net. We are using various services like: importing contacts, calendar integration etc.  Sometime we are getting exception from redemption COM like:
    The file abc.ost is in use and cannot be accessed.
    'MyApplication' exited without properly closing your Outlook data file
    Could somebody help us to identify the root cause of this issue?
    Exception details are mentioned below:
    Exception1:
    OutlookServices.OutlookService - System.Runtime.InteropServices.COMException (0x80040119): Error in IMAPISession.OpenEntry: MAPI_E_EXTENDED_ERROR
    Error: 'MyApplication' exited without properly closing your Outlook data file 'C:\Users\abc\AppData\Local\Microsoft\Outlook\[email protected]'. 'MyApplication' must be restarted. If this error message recurs, contact support for 'MyApplication' for assistance.
    at Interop.Redemption.IRDOSession.GetMessageFromID(String EntryIDMessage, Object EntryIDStore, Object Flags)
    Exception2:
    OutlookService - System.Runtime.InteropServices.COMException (0x8004011D): Error in IMAPISession::OpenMsgStore: MAPI_E_FAILONEPROVIDER
    Error: The file C:\Users\abc\AppData\Local\Microsoft\Outlook\[email protected] - abc.ost is in use and cannot be accessed. Close any application that is using this file, and then try again. You might need to restart your computer.
     at Interop.Redemption.IRDOSession.GetDefaultFolder(rdoDefaultFolders FolderType)

    You're more likely to get help on this either directly from the Redemption people or in a .NET group, since you're not using Visual FoxPro.
    Tamar

  • Will the app specific files get deleted when i remove/uninstall an app from iPad

    I mean those files added to an app using iTunes. For example, pdf files added to a reader.
    Do these files get deleted when i delete an app from iPad?

    I've learnt that this data do get deleted along with the app during deletion/uninstallation. Please correct me if I'm wrong.

  • Unable to display Popup page while using JSF Tiles

    Hi All,
    I am using JSF Tiles. In the body page i am trying to open a pop up page through java script. bt i got the 500 internal server error. The popup open properly when there is no html or core jsf tags. can anyone help me abt this problem.
    Thanks.

    For future JSP/Servlet related questions please use the JSP/JSTL forum or the Servlet forum. There are more experts.
    As to your problem: did you read a basic JSP/Servlet book/tutorial? Did you read the [Tomcat documentation|http://tomcat.apache.org/tomcat-6.0-doc/index.html]? Your problem more sounds like you missed something trivial.

  • Force code execute when user closes OOB lightswitch app using the windows close red X

    I've created a lightswitch app using Forms Authentication.  If the user closes the application using the window close red 'X', I need to update a custom user profile table.  Is this possible?

    I use this code and it works!
    I handle the closing event of the user and I break it, execute my code ed after closing the application.
    Under you see the code that I use in my application.vb :
    Public Class Uscita
    ' Dichiara un evento per la classe
    Public Event Event1()
    ' Definisce un metodo per richiamare l'evento
    Sub CausaEvento()
    RaiseEvent Event1()
    End Sub
    End Class
    Protected Sub EsceAPP()
    Dim Obj As New Uscita
    AddHandler Obj.Event1, AddressOf Me.EventoUscita
    ' Provoca l'esecuzione dell'evento
    Obj.CausaEvento()
    End Sub
    Sub Eventouscita()
    Dispatchers.Main.BeginInvoke(Sub()
    RemoveHandler _mainWindowClose.Closing, AddressOf MainWindow_Closing
    System.Windows.Application.Current.MainWindow.Close()
    End Sub)
    End Sub
    Private Sub Application_loggedin()
    Try
    Dispatchers.Main.BeginInvoke(Sub()
    _mainWindowClose = System.Windows.Application.Current.MainWindow
    AddHandler _mainWindowClose.Closing, AddressOf MainWindow_Closing
    End Sub)
    Catch ex As Exception
    MessageBox.Show(ex.Message)
    End Try
    End Sub
    Private Sub MainWindow_Closing(ByVal sender As Object, ByVal e As ClosingEventArgs)
    If MessageBox.Show("Vuoi Veramente uscire?", "Conferma", MessageBoxOption.OkCancel) = Windows.MessageBoxResult.Cancel Then
    'Elimina l'uscita utente
    e.Cancel = True
    Else
    'Interrompe momentaneamente l'uscita dell'utente per eseguire l'aggiornamento della tabella utenti loggati
    e.Cancel = True
    'Aggiorna la tabella utenti loggati ed esce dall'applicativo
    Me.Details.Dispatcher.BeginInvoke(Sub()
    Dim ws = CreateDataWorkspace()
    Dim query = ws.ApplicationData.UtentiLoggatis.Where(Function(c) c.UserName = Me.User.FullName).FirstOrDefault
    query.OnLineImage = MyImageHelper.GetImageByName("RedLight.png")
    query.OnLIne = "OFF"
    query.Logout = Now
    ws.ApplicationData.SaveChanges()
    'Chiama la routine per uscire dall'applicazione
    EsceAPP()
    End Sub)
    End If
    End Sub

  • Getting Error when trying to deploy Portlet Application on WebLogic Server

    Hi,
    We have a WebLogic server installed on a Windows machine. We created a new Domain, extended it with ADF Runtime and with Web Center Framework. It created three servers for us along with the already existing AdminServer, WLS_Portlet, WLS_Spaces, WLS_Service.
    We created a portlet Application on our development machine using JDeveloper. When we run it from JDeveloper it runs as expected without any errors.
    We created a Deployment profile for the application as an EAR file. Then we copied this EAR file over to the machine on which WebLogic server is installed (deployment machine).
    On the Deployments screen of the WebLogic Server Console, we selected "Install", selected the EAR file we had created above, selected "Install as Application" and then selected the WLS_Portlet server on which to install it. Then we just kept clicking Next and Finish.
    The first time we tried it, we got a NoClassDefFound exception for some class like JAXRPCServer. We did some research and found that to fix this issue we can put the containing .jar files of the classes not found into the public_html\WEB-INF\lib folder. We tried this for the above error by placing "wsserver.jar" file into the lib folder. Then we got anothe NoClassDefFound error. We again searched for the containing .jar file and put it into the lib folder. This continued for around ten to twenty errors and now we are stuck at a point where we are not able to find a way out.
    The current error that we are getting is NoClassDefFound: oracle/security/jps/internal/policystore/GranteeFactory. We searched for the containing jar of this class and found it to be jps-internal.jar which is already present in our lib folder. The stack trace of the exception is:
    <Jul 2, 2010 11:23:13 AM GMT+05:30> <Error> <Console> <BEA-240003> <Console encountered the following error weblogic.application.ModuleException: oracle/security/jps/internal/policystore/GranteeFactory
    at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1516)
    at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:486)
    at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
    at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
    at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:201)
    at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:249)
    at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:427)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
    at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
    at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:28)
    at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:1269)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
    at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:409)
    at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:58)
    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:164)
    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:69)
    at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused by: java.lang.NoClassDefFoundError: oracle/security/jps/internal/policystore/GranteeFactory
    at oracle.security.jps.internal.policystore.JavaPolicyProvider.getPermissions(JavaPolicyProvider.java:216)
    at java.security.Policy.initPolicy(Policy.java:299)
    at java.security.Policy.setPolicy(Policy.java:243)
    at oracle.security.jps.internal.jaas.JaasUtil.setPolicyProvider(JaasUtil.java:54)
    at oracle.security.jps.wls.JpsWeblogicFilter.<clinit>(JpsWeblogicFilter.java:47)
    at oracle.security.jps.wls.JpsWlsPlatformFactory.getJpsFilter(JpsWlsPlatformFactory.java:87)
    at oracle.security.jps.ee.http.JpsFilter.<init>(JpsFilter.java:59)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    at java.lang.Class.newInstance0(Class.java:355)
    at java.lang.Class.newInstance(Class.java:308)
    at weblogic.servlet.internal.WebComponentContributor.getNewInstance(WebComponentContributor.java:225)
    at weblogic.servlet.internal.WebComponentContributor.createFilterInstance(WebComponentContributor.java:257)
    at weblogic.servlet.internal.FilterManager.loadFilter(FilterManager.java:94)
    at weblogic.servlet.internal.FilterManager.preloadFilters(FilterManager.java:59)
    at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1867)
    at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3126)
    at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1512)
    at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:486)
    at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
    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:41)
    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:1267)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
    at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:409)
    at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:58)
    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)
    Any help would be appreciated on this since we are stuck at this point and have no idea to get across this hurdle.
    One more thing, this is the first time that we are trying to play with WebLogic or even Java. So, some of our questions or steps performed might seem irrelevant here.
    Thanks,
    Gaurav

    Hi,
    Another update on this issue.
    To remove the error that we were getting (java.lang.LinkageError: Class javax/xml/transform/Source violates loader constraints), we tried some searching around and found out that the way to fix it is to provide correct versions of xalan.jar, xml-apis.jar and xercesImpl.jar. We downloaded the required version from the apache site and added it to our WEB-INF/lib folder in the WAR file.
    Now, we are getting this error:
    XPathFactory#newInstance() failed to create an XPathFactory for the default object model: http://java.sun.com/jaxp/xpath/dom with the XPathFactoryConfigurationException: javax.xml.xpath.XPathFactoryConfigurationException: No XPathFctory implementation found for the object model: http://java.sun.com/jaxp/xpath/dom
    What else we might be missing in our libs or do we need to check some other configurations?
    Any help on this would be much appreciated.
    Thanks,
    Gaurav

  • IMac display getting yellow when external display is attached?

    Hi,
    I have a problem with my IMac (27'' Mid 2010):
    I have an external TV attached via MDP->DVI->HDMI cable. When I turn on the TV, the iMac recognizes it and the iMac display turns blue shortly, then the desktop returns and my TV is ready.
    What I noticed: After the desktop returns, the iMac sometimes suddenly becomes "more yellow". Don't know exactly how to describe it, but I can clearly see how the desktop returns and then suddenly the imac display turns a little yellow, could also be that the display just gets a little darker (although the display brightness is the same as before). it's nothing that really disturbs me, and although I never saw the color return to normal it does (but I think only after rebooting the iMac)
    anything on this? anyone else noticed that?
    Message was edited by: nachdenki

    Hi nachdenki
    I've used both TV's and Monitors with my iMac over the years and that default iMac Profile has always looked yellow in comparison. Try one of those other sRGB, RGB Profiles or create a new Color Profile for the iMac's display.
    http://www.computer-darkroom.com/colorsync-display/colorsync_1.htm
    Dennis

  • Getting exception when trying to send data to a server

    Hi all,
    I am working on to connect to a remote machine sendng data to remote machine and testing whether data is reaching to machine or not..but when i do it i get the following exception
    java.io.EOFException
    at java.io.DataInputStream.readUnsignedShort(Unknown Source)
    at java.io.DataInputStream.readUTF(Unknown Source)
    at java.io.DataInputStream.readUTF(Unknown Source)
    at Client.main(Client.java:37)
    and this is my code
    import java.net.*;
    import java.io.*;
    public class Client {
    public static void main(String[] args) {
    int serverPort = 8080; // make sure you give the port number on which the server is listening. 
    String address = "remotehost"; // this is the IP address of the server  computer.
      try { 
    Socket socket = new Socket(address, serverPort); // create a socket with the server's IP address and server's port. 
    System.out.println("Yes! I just got hold of the program.");
    // Get the input and output streams of the socket, so that you can receive and send data to the client. 
    InputStream sin = socket.getInputStream(); 
    OutputStream sout = socket.getOutputStream();
    // Just converting them to different streams, so that string handling becomes easier.
    DataInputStream in = new DataInputStream(sin);
    DataOutputStream out = new DataOutputStream(sout);
    // Create a stream to read from the keyboard. 
    BufferedReader keyboard = new BufferedReader(new InputStreamReader(System.in));
    String line = null; 
    System.out.println("Type in something and press enter. Will send it to the server and tell ya what it thinks."); 
    System.out.println();
    while(true) {
    line = keyboard.readLine(); // wait for the user to type in something and press enter.
    System.out.println("Sending this line to the server...");
    out.writeUTF(line); // send the above line to the server.
    out.flush(); // flush the stream to ensure that the data reaches the other end. 
    line = in.readUTF(); // wait for the server to send a line of text.
    System.out.println(" : " + line);
    System.out.println(); 
      } catch(IOException e) if any knows what's the problem please help me..
    Thanks

    We'll need a little more info. If you're doing anything like the following then there's a problem:
    File f = new File("demo.txt");
    The problem is that the demo.txt file is not in the current directory - it's in the rmi\compute directory.
    This should work but it's not recommended:
    File f = new File("c:\\rmi\\compute\\demo.txt");
    You should substitue File.separator for the "\\" chars.

  • Getting exception when trying to debug TimerJob

    After attaching TimerJob with OWSTIMER.exe to debug when I clicked Run Now for my timerjob from job defination page then below exception occured -
    System.ServiceModel.EndpointNotFoundException was unhandled
      Message=Could not connect to http://localhost:5725/ResourceManagementService/MEX. TCP error code 10061: No connection could be made because the target machine actively refused it 127.0.0.1:5725. 
      Source=mscorlib
      StackTrace:
        Server stack trace: 
           at System.ServiceModel.Channels.HttpOutput.WebRequestHttpOutput.GetOutputStream()
           at System.ServiceModel.Channels.HttpOutput.Send(TimeSpan timeout)
           at System.ServiceModel.Channels.HttpChannelFactory.HttpRequestChannel.HttpChannelRequest.SendRequest(Message message, TimeSpan timeout)
           at System.ServiceModel.Channels.RequestChannel.Request(Message message, TimeSpan timeout)
           at System.ServiceModel.Dispatcher.RequestChannelBinder.Request(Message message, TimeSpan timeout)
           at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
           at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
           at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)
        Exception rethrown at [0]: 
           at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
           at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
           at System.ServiceModel.Description.IMetadataExchange.Get(Message request)
           at Microsoft.ResourceManagement.WebServices.MetadataClient.Get(Message request)
           at Microsoft.ResourceManagement.WebServices.MetadataClient.Get(String dialect, String identifier)
           at Microsoft.ResourceManagement.WebServices.Client.ResourceManagementClient.GetSchema()
           at Microsoft.ResourceManagement.WebServices.Client.ResourceManagementClient.SchemaManagerImplementation.RefreshSchema()
           at Microsoft.ResourceManagement.WebServices.Client.ResourceManagementClient.SchemaManagerImplementation.get_Instance()
           at Microsoft.ResourceManagement.WebServices.Client.ResourceManagementClient.SchemaManagerImplementation.Initialize(Object state)
           at System.Threading.ExecutionContext.runTryCode(Object userData)
           at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
           at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
           at System.Threading._ThreadPoolWaitCallback.PerformWaitCallbackInternal(_ThreadPoolWaitCallback tpWaitCallBack)
           at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback(Object state)
      InnerException: System.Net.WebException
           Message=Unable to connect to the remote server
           Source=System
           StackTrace:
                at System.Net.HttpWebRequest.GetRequestStream(TransportContext& context)
                at System.Net.HttpWebRequest.GetRequestStream()
                at System.ServiceModel.Channels.HttpOutput.WebRequestHttpOutput.GetOutputStream()
           InnerException: System.Net.Sockets.SocketException
                Message=No connection could be made because the target machine actively refused it 127.0.0.1:5725
                Source=System
                ErrorCode=10061
                NativeErrorCode=10061
                StackTrace:
                     at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
                     at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Int32
    timeout, Exception& exception)
                InnerException: 
    How to avoid this and what is going wrong.. Please help..
    Rushikesh_Khadtare

    Hi,
    Please try to preserve the appropriate UPS databases, tear down the UPS service application instance for SP1 application, and then rebuild the UPS service application afterwards.
    Here is a blog with the detailed troubleshooting steps for your reference:
    http://sharepointinterface.com/2011/07/05/crashing-owstimer-exe-after-sharepoint-2010-sp1-installation/
    Best Regards
    Dennis Guo
    TechNet Community Support

Maybe you are looking for

  • How to display dynamic text in flash CS5....

    i am using flash cs5...i created a game but when i m running it...it is  showing a message saying "Fonts should be embedded for any text that may be edited at runtime, other than text with the "Use Device Fonts"" and i am not getting my dynamic text

  • Shared Library with Home Sharing off??

    I am using itunes with 2 different macs (most recent mac pro and most recent MBP). My MBP has the library I am sharing, which I use to play it on my Mac Pro. So when I have home sharing on, I see the little house icon, with my library from my laptop

  • Planned update has been changed from 2.3.4 to 2.3.5

     As the 2.3.4 beta ended over a month ago, they began the 2.3.5 Gingerbread beta tests, which was leaked earlier within a week this time unlike previous leaks. (keep in mind you receive no updates during the phases on leaks, take risks and void warre

  • Issue management during implementation

    Hello! We are planning to use issue management in blueprinting and config phases in our rollout. We have SM 7.0 SPS16 with Workcenters configured. In Solar01/02 when I create an issue at a relevant project structure node I get the window " Issue Main

  • Can't charge phone battery in car

    I'm having problems charging my phone thru my cars lighter socket, aftermarket stereo and an aftermarket usb socket I installed. All of these devices charge my daughters Motorola cell phone with the same cord. Am I doing something wrong? I previously