Exception when trying to acess a jsf application

Im using eclipse 3.3 , tomcat 5.5.2x
index.jsp
========
<html>
<body>
<jsp:forward page="faces/ourJsf/enterAge.jsp" />
</body>
</html>
============
enterAge.jsp
=========
<%@ page contentType="text/html; charset=Cp1252" %>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
<html>
     <head>
          <meta http-equiv="Content-Type" content="text/html; charset=Cp1252"/>
          <title>Dog's Life</title>
     </head>
     <body>
          <f:view>
               <h:form>
               <h:outputText value="Enter your age please"/>
<h:inputText value="#{dog.age}" />
<h:commandButton value="Calculate Dog Years" action="#{dog.calcYears}" />
               </h:form>
          </f:view>
     </body>
</html>
=========
faces-config.xml
==========
<?xml version="1.0"?>
<!DOCTYPE faces-config PUBLIC "-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.1//EN" "http://java.sun.com/dtd/web-facesconfig_1_1.dtd">
<faces-config>
     <managed-bean>
          <managed-bean-name>dog</managed-bean-name>
          <managed-bean-class>beans.DogBean</managed-bean-class>
          <managed-bean-scope>session</managed-bean-scope>
     </managed-bean>
     <navigation-rule>
          <from-view-id>/ourJsf/enterAge.jsp</from-view-id>
     </navigation-rule>
     <navigation-rule>
          <from-view-id>/ourJsf/enterAge.jsp</from-view-id>
          <navigation-case>
               <from-outcome>success</from-outcome>
               <to-view-id>/ourJsf/result.jsp</to-view-id>
          </navigation-case>
          <navigation-case>
               <from-outcome>failure</from-outcome>
               <to-view-id>/ourJsf/error.jsp</to-view-id>
          </navigation-case>
     </navigation-rule>
</faces-config>
================
a portion of my web.xml
=============
<!-- Extensions Filter -->
<filter>
<filter-name>extensionsFilter</filter-name>
<filter-class>org.apache.myfaces.webapp.filter.ExtensionsFilter</filter-class>
<init-param>
<param-name>uploadMaxFileSize</param-name>
<param-value>100m</param-value>
<description>Set the size limit for uploaded files.
Format: 10 - 10 bytes
10k - 10 KB
10m - 10 MB
1g - 1 GB
</description>
</init-param>
<init-param>
<param-name>uploadThresholdSize</param-name>
<param-value>100k</param-value>
<description>Set the threshold size - files
below this limit are stored in memory, files above
this limit are stored on disk.
Format: 10 - 10 bytes
10k - 10 KB
10m - 10 MB
1g - 1 GB
</description>
</init-param>
<!-- <init-param>
<param-name>uploadRepositoryPath</param-name>
<param-value>/temp</param-value>
<description>Set the path where the intermediary files will be stored.
</description>
</init-param>-->
</filter>
<filter-mapping>
<filter-name>extensionsFilter</filter-name>
<url-pattern>*.jsf</url-pattern>
</filter-mapping>
<filter-mapping>
<filter-name>extensionsFilter</filter-name>
<url-pattern>/faces/*</url-pattern>
</filter-mapping>
<!-- Faces Servlet -->
<servlet>
<servlet-name>Faces Servlet</servlet-name>
<servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<!-- Faces Servlet Mapping -->
<!-- virtual path mapping -->
<!-- virtual path mapping (uncommented by LG )-->
<servlet-mapping>
<servlet-name>Faces Servlet</servlet-name>
<url-pattern>/faces/*</url-pattern>
</servlet-mapping>
<!-- extension mapping -->
<servlet-mapping>
<servlet-name>Faces Servlet</servlet-name>
<url-pattern>*.jsf</url-pattern>
</servlet-mapping>
<!-- Welcome files -->
<welcome-file-list>
<welcome-file>index.jsp</welcome-file>
<welcome-file>index.html</welcome-file>
</welcome-file-list>
</web-app>
=============
i'm getting an exception when i call my application :
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException
     org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:476)
     org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:371)
     org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:315)
     org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
     javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
root cause
javax.servlet.ServletException
     javax.faces.webapp.FacesServlet.service(FacesServlet.java:156)
     org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:691)
     org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:661)
     org.apache.jsp.index_jsp._jspService(index_jsp.java:46)
     org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
     javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
     org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:328)
     org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:315)
     org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
     javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
root cause
java.lang.NullPointerException
     org.apache.myfaces.application.jsp.JspStateManagerImpl.restoreTreeStructure(JspStateManagerImpl.java:240)
     org.apache.myfaces.application.jsp.JspStateManagerImpl.restoreView(JspStateManagerImpl.java:283)
     org.apache.myfaces.application.jsp.JspViewHandlerImpl.restoreView(JspViewHandlerImpl.java:255)
     org.apache.myfaces.lifecycle.LifecycleImpl.restoreView(LifecycleImpl.java:141)
     org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:66)
     javax.faces.webapp.FacesServlet.service(FacesServlet.java:137)
     org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:691)
     org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:661)
     org.apache.jsp.index_jsp._jspService(index_jsp.java:46)
     org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
     javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
     org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:328)
     org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:315)
     org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
     javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
note The full stack trace of the root cause is available in the Apache Tomcat/5.5.23 logs.
Apache Tomcat/5.5.23
Thank yoiu guys for helping me : this my very first jsf application

Hello,
Like you said it was the problem with url.
The webservice I used is actually running on the local machine (where the NetWeaver developer studio is installed); so in the url I had specified localhost. But I deployed the application on another server(SAP J2EE Engine). That is why it didn't work. On changing the url as required, the application is working fine.
Thanks !
Regards,
Loveline.

Similar Messages

  • Exception when trying to run an Web Application that uses a Web service

    Hello All,
    I get an exception when trying to run an Web Application that uses a Web service. The web application is a WebDynpro Application.(an application similar to the one "Using an Email Web Service in Web Dynpro" in the tutorial section of Web Dynpro but using a different web service)
    The exception is
    <b>Service call exception; nested exception is: com.sap.engine.services.webservices.jaxrpc.exceptions.InvalidResponseCodeException: Invalid Response Code: (404) Not Found.</b>
    Could anyone give me an idea on what might be the problem ?
    Regards,
    Loveline.

    Hello,
    Like you said it was the problem with url.
    The webservice I used is actually running on the local machine (where the NetWeaver developer studio is installed); so in the url I had specified localhost. But I deployed the application on another server(SAP J2EE Engine). That is why it didn't work. On changing the url as required, the application is working fine.
    Thanks !
    Regards,
    Loveline.

  • DataSource CORP_LDAP: Naming exception when trying to create principal

    Using NetWeaver 6.40 SP 15.
    I have configured the UME to use writable LDAP and database. Specifically, for LDAP I'm using the Sun One Directory Server. I'm able to authenticate using one of the LDAP users using a Web Dynpro app.
    When I try to create a user through the NWA web app, I simply get a "Could not create user" error in the application. In the server instance "security.log" I found the following:
    Date : 03/08/2006
    Time : 16:22:59:248
    Message : DataSource CORP_LDAP: Naming exception when trying to create principal ***************************************************************************
    com.sap.security.core.persistence.imp.PrincipalDatabagMaint Wed Mar 08 16:22:59 CST 2006
    UniqueID: USER.CORP_LDAP.testuser
    Type: USER
    Home data source: CORP_LDAP
    Private id part: testuser
    "com.sap.security.core.usermanagement"|->"uniquename" (no time limit)="testuser"
    "com.sap.security.core.usermanagement"|->"department" (no time limit)="CI&T"
    "com.sap.security.core.usermanagement"|->"PRINCIPAL_CREATION_DATE" (no time limit)="0001141856579248"
    "com.sap.security.core.usermanagement"|->"firstname" (no time limit)="user"
    "com.sap.security.core.usermanagement"|->"lastname" (no time limit)="test"
    "com.sap.security.core.usermanagement"|->"PRINCIPAL_TYPE_ATTRIBUTE" (no time limit)="USER"
    "com.sap.security.core.usermanagement"|->"email" (no time limit)="[email protected]"
    "com.sap.security.core.usermanagement"|->"company" (no time limit)=""
    "com.sap.security.core.usermanagement"|->"accessibilitylevel" (no time limit)="0"
    Severity : Error
    Category : /System/Security/Usermanagement
    Location : com.sap.security.core.persistence
    Application : sap.com/com.sap.security.core.admin
    Thread : SAPEngine_Application_Thread[impl:3]_22
    Datasource : 1141856104605:C:\usr\sap\J2E\JC00\j2ee\cluster\server0\log\system\security.log
    Message ID : 000D60DD8A4D00540000001C0000136000040E8333C9FD7C
    Source Name : /System/Security/Usermanagement
    Argument Objs : CORP_LDAP,***************************************************************************
    com.sap.security.core.persistence.imp.PrincipalDatabagMaint Wed Mar 08 16:22:59 CST 2006
    UniqueID: USER.CORP_LDAP.testuser
    Type: USER
    Home data source: CORP_LDAP
    Private id part: testuser
    "com.sap.security.core.usermanagement"|->"uniquename" (no time limit)="testuser"
    "com.sap.security.core.usermanagement"|->"department" (no time limit)="CI&T"
    "com.sap.security.core.usermanagement"|->"PRINCIPAL_CREATION_DATE" (no time limit)="0001141856579248"
    "com.sap.security.core.usermanagement"|->"firstname" (no time limit)="user"
    "com.sap.security.core.usermanagement"|->"lastname" (no time limit)="test"
    "com.sap.security.core.usermanagement"|->"PRINCIPAL_TYPE_ATTRIBUTE" (no time limit)="USER"
    "com.sap.security.core.usermanagement"|->"email" (no time limit)="[email protected]"
    "com.sap.security.core.usermanagement"|->"company" (no time limit)=""
    "com.sap.security.core.usermanagement"|->"accessibilitylevel" (no time limit)="0"
    Arguments : CORP_LDAP,***************************************************************************
    com.sap.security.core.persistence.imp.PrincipalDatabagMaint Wed Mar 08 16:22:59 CST 2006
    UniqueID: USER.CORP_LDAP.testuser
    Type: USER
    Home data source: CORP_LDAP
    Private id part: testuser
    "com.sap.security.core.usermanagement"|->"uniquename" (no time limit)="testuser"
    "com.sap.security.core.usermanagement"|->"department" (no time limit)="CI&T"
    "com.sap.security.core.usermanagement"|->"PRINCIPAL_CREATION_DATE" (no time limit)="0001141856579248"
    "com.sap.security.core.usermanagement"|->"firstname" (no time limit)="user"
    "com.sap.security.core.usermanagement"|->"lastname" (no time limit)="test"
    "com.sap.security.core.usermanagement"|->"PRINCIPAL_TYPE_ATTRIBUTE" (no time limit)="USER"
    "com.sap.security.core.usermanagement"|->"email" (no time limit)="[email protected]"
    "com.sap.security.core.usermanagement"|->"company" (no time limit)=""
    "com.sap.security.core.usermanagement"|->"accessibilitylevel" (no time limit)="0"
    Dsr Component : <masked id>_J2E_7234450
    Dsr Transaction : 79521ee0aef011da9168000d60dd8a4d
    Dsr User : Administrator
    Indent : 0
    Level : 0
    Message Code :
    Message Type : 1
    Relatives : com.sap.security.core.persistence
    Resource Bundlename :
    Session : 200
    Source : /System/Security/Usermanagement
    ThreadObject : SAPEngine_Application_Thread[impl:3]_22
    Transaction :
    User : Administrator
    Where can I find the initial NamingException?

    Hi All,
    Thanks for your replies and SORRY for my late response.
    Now, what I actually want is that though my UME is connected to LDAP i want to the portal admin to be able to create users in the portal DB. I checked my UME configuration and it says
    Microsoft ADS (Deep Hheirarchy) + Database
    and the name of the configuration file is
    dataSourceConfiguration_ads_deep_writeable_db.xml
    Now I could not understand why I am not able to create users in the DB?
    Does the portal has any restriction like at any given point of time only one of the user stores can be active? Doesnt the portal allow both the user stores to be active at a time?
    regards,
    PK

  • Caught Exception when trying to create pool Object

    Hi All,
    When a stateless session bean is looking up the entity bean following 'could not create pool object' exception is throwing.
    [14/Jan/2003:09:12:50] SEVERE ( 1048): EJB5070: Exception creating stateless session bean : [java.lang.reflect.InvocationTargetException]
    [14/Jan/2003:09:12:50] SEVERE ( 1048): EJB5017: Exception while running preinvoke : ejbName = [ConfigSessionBean]
    [14/Jan/2003:09:12:50] SEVERE ( 1048):
    javax.ejb.EJBException: nested exception is: java.lang.RuntimeException: c
    java.lang.RuntimeException: Caught Exception when trying to create pool Object
    at com.sun.ejb.containers.util.pool.NonBlockingPool.getObject(Unknown Source)
    at com.sun.ejb.containers.StatelessSessionContainer.getContext(Unknown Source)
    at com.sun.ejb.containers.BaseContainer.preInvoke(Unknown Source)
    at com.siptech.pdf.ejb.config.session.ConfigSessionBean_EJBObjectImpl.getAllModules(ConfigSessionBean_EJBObjectImpl.java:255)
    at com.siptech.pdf.ejb.config.session._ConfigSessionBean_EJBObjectImpl_Tie._invoke(Unknown Source)
    at com.sun.corba.ee.internal.POA.GenericPOAServerSC.dispatchToServant(Unknown Source)
    at com.sun.corba.ee.internal.POA.GenericPOAServerSC.internalDispatch(Unknown Source)
    at com.sun.corba.ee.internal.POA.GenericPOAServerSC.dispatch(Unknown Source)
    at com.sun.corba.ee.internal.iiop.ORB.process(Unknown Source)
    at com.sun.corba.ee.internal.iiop.RequestProcessor.process(Unknown Source)
    at com.iplanet.ias.corba.ee.internal.iiop.ServicableWrapper.service(Unknown Source)
    at com.iplanet.ias.util.threadpool.FastThreadPool$ThreadPoolThread.run(Unknown Source)
    at java.lang.Thread.run(Thread.java:536)
    Caused by: javax.ejb.EJBException: nested exception is: javax.ejb.CreateException: Could not create stateless EJB:
    java.lang.reflect.InvocationTargetException
    at com.sun.ejb.containers.StatelessSessionContainer$SessionContextFactory.create(Unknown Source)
    ... 13 more
    javax.ejb.EJBException: nested exception is: java.lang.RuntimeException: Caught Exception when trying to create pool Object
    at com.sun.ejb.containers.StatelessSessionContainer.getContext(Unknown Source)
    at com.sun.ejb.containers.BaseContainer.preInvoke(Unknown Source)
    at com.siptech.pdf.ejb.config.session.ConfigSessionBean_EJBObjectImpl.getAllModules(ConfigSessionBean_EJBObjectImpl.java:255)
    at com.siptech.pdf.ejb.config.session._ConfigSessionBean_EJBObjectImpl_Tie._invoke(Unknown Source)
    at com.sun.corba.ee.internal.POA.GenericPOAServerSC.dispatchToServant(Unknown Source)
    at com.sun.corba.ee.internal.POA.GenericPOAServerSC.internalDispatch(Unknown Source)
    at com.sun.corba.ee.internal.POA.GenericPOAServerSC.dispatch(Unknown Source)
    at com.sun.corba.ee.internal.iiop.ORB.process(Unknown Source)
    at com.sun.corba.ee.internal.iiop.RequestProcessor.process(Unknown Source)
    at com.iplanet.ias.corba.ee.internal.iiop.ServicableWrapper.service(Unknown Source)
    at com.iplanet.ias.util.threadpool.FastThreadPool$ThreadPoolThread.run(Unknown Source)
    at java.lang.Thread.run(Thread.java:536)
    I have also specified the following properties in the sunejbjar.xml for the session bean.
    <ejb>
    <bean-pool>
    <steady-pool-size>2</steady-pool-size>
    <resize-quantity>5</resize-quantity>
    <max-pool-size>200</max-pool-size>
    <pool-idle-timeout-in-seconds>3600</pool-idle-timeout-in-seconds>
    </bean-pool>
    </ejb>
    --Muthu.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    

    Muthu,
    To find out whether the problem is with container setting or with your application, can you create a simple stateless session bean and check if it works fine. If it works fine send me ejb-jar.xml and sun-ejb-jar.xml for your application.
    Deepak

  • Exception when trying to create pool Object

    I've been trying to get the forte 4.0ee ProductRichClient example for container managed beans to work.
    After the deployment to Sun One I got following exception when I'm using the client:
    18.10.2002 10:56:20 com.iplanet.ias.appclient.Main <init>
    INFO:
    ---------AppClient Container--------
    18.10.2002 10:56:20 com.iplanet.ias.appclient.Main setTagetServerProperties
    INFO: ACC001:Using ClientContainer file: [C:\Sun\AppServer7\appserv\domains\domain1\server1\config\sun-acc.xml].
    18.10.2002 10:56:20 com.iplanet.ias.appclient.Main <init>
    INFO: ACC014: ORB host name: [NOD]
    18.10.2002 10:56:20 com.iplanet.ias.appclient.Main <init>
    INFO: ACC013: ORB port number: [3700]
    18.10.2002 10:56:21 com.sun.enterprise.appclient.AppContainer preInvoke
    INFO: ACC007: Initiating Login ...
    18.10.2002 10:56:21 com.iplanet.ias.appclient.Main <init>
    INFO: ACC009: Load Application Class: [CMPClient.SwingClient]
    18.10.2002 10:56:23 com.iplanet.ias.appclient.Main <init>
    INFO: Application main() finished normally
    java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
    java.rmi.RemoteException: nested exception is: java.lang.RuntimeException: Caught Exception when trying to create pool Object ; nested exception is:
    java.lang.RuntimeException: Caught Exception when trying to create pool Object
    at com.sun.corba.ee.internal.iiop.ShutdownUtilDelegate.mapSystemException(Unknown Source)
    at javax.rmi.CORBA.Util.mapSystemException(Util.java:65)
    at CMPServer._ProductHome_Stub.create(Unknown Source)
    at CMPClient.SwingClient.AddRow_ButtonActionPerformed(SwingClient.java:127)
    at CMPClient.SwingClient.access$100(SwingClient.java:24)
    at CMPClient.SwingClient$2.actionPerformed(SwingClient.java:89)
    at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1767)
    at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1820)
    at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:419)
    at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:257)
    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:258)
    at java.awt.Component.processMouseEvent(Component.java:5021)
    at java.awt.Component.processEvent(Component.java:4818)
    at java.awt.Container.processEvent(Container.java:1525)
    at java.awt.Component.dispatchEventImpl(Component.java:3526)
    at java.awt.Container.dispatchEventImpl(Container.java:1582)
    at java.awt.Component.dispatchEvent(Component.java:3367)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3359)
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3074)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3004)
    at java.awt.Container.dispatchEventImpl(Container.java:1568)
    at java.awt.Window.dispatchEventImpl(Window.java:1581)
    at java.awt.Component.dispatchEvent(Component.java:3367)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:445)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:191)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:144)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:130)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:98)
    Caused by: java.rmi.RemoteException: nested exception is: java.lang.RuntimeException: Caught Exception when trying to create pool Object ; nested exception is:
    java.lang.RuntimeException: Caught Exception when trying to create pool Object
    at com.sun.enterprise.iiop.POAProtocolMgr.mapException(Unknown Source)
    at com.sun.ejb.containers.BaseContainer.postInvoke(Unknown Source)
    at CMPServer.ProductEJB2024414397_ConcreteImpl_RemoteHomeImpl.create(ProductEJB2024414397_ConcreteImpl_RemoteHomeImpl.java:33)
    at CMPServer._ProductEJB2024414397_ConcreteImpl_RemoteHomeImpl_Tie._invoke(Unknown Source)
    at com.sun.corba.ee.internal.POA.GenericPOAServerSC.dispatchToServant(Unknown Source)
    at com.sun.corba.ee.internal.POA.GenericPOAServerSC.internalDispatch(Unknown Source)
    at com.sun.corba.ee.internal.POA.GenericPOAServerSC.dispatch(Unknown Source)
    at com.sun.corba.ee.internal.iiop.ORB.process(Unknown Source)
    at com.sun.corba.ee.internal.iiop.RequestProcessor.process(Unknown Source)
    at com.iplanet.ias.corba.ee.internal.iiop.ServicableWrapper.service(Unknown Source)
    at com.iplanet.ias.util.threadpool.FastThreadPool$ThreadPoolThread.run(Unknown Source)
    at java.lang.Thread.run(Thread.java:536)
    Caused by: java.lang.RuntimeException: Caught Exception when trying to create pool Object
    at com.sun.ejb.containers.util.pool.NonBlockingPool.getObject(Unknown Source)
    at com.sun.ejb.containers.util.pool.NonBlockingPool.getObject(Unknown Source)
    at com.sun.ejb.containers.EntityContainer.getPooledEJB(Unknown Source)
    at com.sun.ejb.containers.EntityContainer.getContext(Unknown Source)
    at com.sun.ejb.containers.BaseContainer.preInvoke(Unknown Source)
    at CMPServer.ProductEJB2024414397_ConcreteImpl_RemoteHomeImpl.create(ProductEJB2024414397_ConcreteImpl_RemoteHomeImpl.java:25)
    ... 9 more
    Caused by: javax.ejb.EJBException: nested exception is: java.lang.NullPointerException
    at com.sun.ejb.containers.EntityContainer$EntityContextFactory.create(Unknown Source)
    ... 15 more
    Any thoughts on why this exception is being thrown?
    Thanks for any help!
    Richard

    this sample has been tested by the SunONE TOOLs QA
    and is working. Please check your deployment descriptors
    and use the cmp samples which come with S1AS to see if your
    descriptors are correct.

  • Page/JNI: Exception when trying to connect in 1,page/ContentFetcher InterruptedIOExce

    We have upgraded to fro m 3.0.8 portal 3.0.9.8.2 9iAS 1.0.2.2 on database 8.1.7
    the system is very fast and run for sometime but after a while we see the following errors in Jserv.log file.
    this error causes the whole system to hang and we have to restart apache/jserv.
    Any light on this issue will be helpful and very much appreciated.
    thanks,
    Sunil Bontha
    25/07/2001 14:07:51:388 CEST] Viewer/oracle.discoiv.Disco4iv: init
    [25/07/2001 14:07:51:388 CEST] Viewer/oracle.discoiv.Disco4iv: Initializing Discoverer 4i Viewer (4.1.37.82)
    [25/07/2001 14:09:15:219 CEST] page/oracle.webdb.page.ParallelServlet: init
    [25/07/2001 14:09:15:249 CEST] page/JNI: Cache is enabled.
    [25/07/2001 14:09:15:299 CEST] page/Starting a pool of 25 handlers.
    [25/07/2001 14:09:43:820 CEST] page/JNI: Exception when trying to connect in 1.
    [25/07/2001 14:09:43:830 CEST] page/Timeout occurred, label=145 url=http://www.myserver.com/pls/pmsportal30/!PMSPORTAL30.wwpro_app_provider.execute_portlet [25/07/2001 14:09:43:830 CEST] page/ContentFetcher InterruptedIOException Caught, Fetcher Timedout name=content-fetcher23
    [25/07/2001 14:09:43:840 CEST] page/JNI: Exception when trying to connect in 1.
    [25/07/2001 14:09:43:840 CEST] page/Timeout occurred, label=293 url=http://www.myserver.com/pls/pmsportal30/!PMSPORTAL30.wwpro_app_provider.execute_portlet [25/07/2001 14:09:43:840 CEST] page/ContentFetcher InterruptedIOException Caught, Fetcher Timedout name=content-fetcher22
    [25/07/2001 14:09:53:864 CEST] page/JNI: Exception when trying to connect in 1.

    Hi Avi,
    My application is a standalone application trying to access MBeans present in oc4j.
    I tried
    using the code
    props.put(Context.INITIAL_CONTEXT_FACTORY ,"oracle.j2ee.rmi.RMIInitialContextFactory");
    obj = (ManagementHome) ctx.lookup("ejb/mgmt/MEJB");
    but i am getting the following error.
    javax.naming.NameNotFoundException: ejb/mgmt/MEJB not found
    at com.evermind.server.rmi.RMIClientContext.lookup(RMIClientContext.java
    :45)
    at javax.naming.InitialContext.lookup(InitialContext.java:351)
    at TestMBean.doSomething(TestMBean.java:90)
    at TestMBean.main(TestMBean.java:237)
    java.lang.NullPointerException
    at TestMBean.doSomething(TestMBean.java:107)
    at TestMBean.main(TestMBean.java:237)
    Regards
    Siva

  • Exception when trying to run OneEJBHotelSample

    I get the following exception when trying to run the one ejb hotel sample,
    any clues as to what is wrong??
    java.lang.IncompatibleClassChangeError: Unimplemented interface method
    at javax.naming.spi.NamingManager.getURLObject(Compiled Code)
    at javax.naming.spi.NamingManager.getURLContext(Compiled Code)
    at javax.naming.InitialContext.getURLOrDefaultInitCtx(Compiled Code)
    at javax.naming.InitialContext.lookup(Compiled Code)
    at client.JavaGUIClient.EJBHotelSample.getHotelSystemBean(Compiled Code)
    at client.JavaGUIClient.EJBHotelSample.main(Compiled Code)
    null

    Hello,
    Like you said it was the problem with url.
    The webservice I used is actually running on the local machine (where the NetWeaver developer studio is installed); so in the url I had specified localhost. But I deployed the application on another server(SAP J2EE Engine). That is why it didn't work. On changing the url as required, the application is working fine.
    Thanks !
    Regards,
    Loveline.

  • "Se ha producido algún error al intentar instalar esta aplicación" error when trying to install a .air application

    Hello,
    I'm having an issue when trying to install Warcraft Logs application:
    Warcraft Logs - Combat Analysis for Warcraft
    https://www.warcraftlogs.com/client/warcraftlogs.air
    I successfully install Adobe AIR, version 17.0.0.144 (and I'm using Windows 7 64 bits), without any problem (well, that's what I suppose), this is the Install.log from the Adobe AIR:
    [2015-04-19:19:27:30] Runtime Installer begin with version 17.0.0.144 on Windows 7 x86
    [2015-04-19:19:27:30] Commandline is:
    [2015-04-19:19:27:30] No installed runtime detected
    [2015-04-19:19:27:32] Relaunching with elevation
    [2015-04-19:19:27:32] Launching subprocess with commandline c:\users\alberto\appdata\local\temp\air276b.tmp\adobe air installer.exe -ei
    [2015-04-19:19:27:32] Runtime Installer begin with version 17.0.0.144 on Windows 7 x86
    [2015-04-19:19:27:32] Commandline is: -stdio \\.\pipe\AIR_5800_0 -ei
    [2015-04-19:19:27:32] No installed runtime detected
    [2015-04-19:19:27:32] Starting silent runtime install. Installing runtime version 17.0.0.144
    [2015-04-19:19:27:32] Installing msi at c:\users\alberto\appdata\local\temp\air276b.tmp\setup.msi with guid {34927EBC-98D4-4D53-98BE-510DF5999F50}
    [2015-04-19:19:27:33] Runtime Installer end with exit code 0
    [2015-04-19:19:27:34] Elevated install completed
    [2015-04-19:19:27:35] Launching subprocess with commandline c:\Program Files (x86)\Common Files\Adobe AIR\Versions\1.0\Resources\Adobe AIR Updater -installupdatecheck
    [2015-04-19:19:27:35] Runtime Installer end with exit code 0
    [2015-04-19:19:27:35] Runtime Installer begin with version 17.0.0.144 on Windows 7 x86
    [2015-04-19:19:27:35] Commandline is: -installupdatecheck
    [2015-04-19:19:27:35] Installed runtime (17.0.0.144) located at c:\Program Files (x86)\Common Files\Adobe AIR
    [2015-04-19:19:27:35] Performing pingback request
    [2015-04-19:19:27:36] Pingback request completed with HTTP status 200
    [2015-04-19:19:27:36] Starting runtime background update check
    [2015-04-19:19:27:36] Begin Background update download from http://airdownload.adobe.com/air/3/background/windows/x86/patch/17.0.0.144/update
    [2015-04-19:19:27:36] Unpackaging http://airdownload.adobe.com/air/3/background/windows/x86/patch/17.0.0.144/update to C:\Users\Alberto\AppData\Roaming\Adobe\AIR\Updater\Background
    [2015-04-19:19:27:36] Runtime update not available
    [2015-04-19:19:27:36] Unpackaging cancelled
    [2015-04-19:19:27:36] Runtime Installer end with exit code 0
    Afterwards, I try to install the warcraftlogs.air application, and when I execute the program I get the following error:
    Se ha producido algún error al intentar instalar esta aplicación. Instale la versión más reciente de Adobe AIR desde http://www.adobe.com/go/getair_es y vuelva a intentarlo.
    Translated it should be something like this (this is not the official English message):
    Some error has occurred while trying to install this application. Install the latest Adobe AIR version from http://www.adobe.com/go/getair_es and try again.
    I've tried to search anything related, because I can't find that exact error message in any Adobe troubleshooting page, but everything I can find is a really old version issue, or something I've tried without success (trying to install everything running as administrator, also via cmd.exe ran as administrator, installing an older version, uninstalling and installing 100 times Adobe AIR, etc.).
    I've also searched (but not asked) in Warcraft Logs forums for any solution, but I couldn't find anything related either.
    Any help would be appreciated.
    Thank you in advance and best regards! ^^

    Inesipinesii please remove your current installation of the Adobe Download Assistant from your Applications folder.  You will then be able to reinstall the Adobe Download Assistant and begin the download process for Photoshop Elements 11.  You can find more information at http://helpx.adobe.com/creative-suite/kb/troubleshoot-download-assistant.html#main_Known_i ssues.

  • HT1918 When trying to download the free applications from itunes app store its asking about billing information

    When trying to download the free applications from itunes app store its asking about billing information.
    Billing popup will display and navigating to billing detail page.

    Unless the instructions on this page are followed when creating an account : http://support.apple.com/kb/HT2534
    then credit card details will need to be entered before the account can be used to download any item (free or paid-for) from the store.
    If you are being prompted to review the account then you could see if this post by mountaingoatgirl lets you do so without needing to enter credit card details : https://discussions.apple.com/message/24303054
    If not then you will need to enter credit card details - you should be able to remove the card after entering it

  • Getting an error when trying to shut down R12 application.

    when trying to shut down R12 application getting the below mentioned error.
    adstpall.sh: Database connection could not be established. Either the database is down or the APPS credentials supplied are wrong.
    As per previous thread checked the database and its listener is up and running. Also , Application listener is up and running.
    Kindly revert at the earliest.
    Regards,
    Fahim.

    Hi,
    Database and listener are up and running...
    Exact error message : Invalid Application Username, Password Or Database "Username:APPLSYSPUB"
    error in the log file :
    Errors in file /t06/app/oratest/diag/rdbms/test/TEST/trace/TEST_arc1_18889.trc:
    ORA-19815: WARNING: db_recovery_file_dest_size of 75161927680 bytes is 99.67% used, and has 251000320 remaining bytes available.
    You have following choices to free up space from recovery area:
    1. Consider changing RMAN RETENTION POLICY. If you are using Data Guard,
    then consider changing RMAN ARCHIVELOG DELETION POLICY.
    2. Back up files to tertiary device such as tape using RMAN
    BACKUP RECOVERY AREA command.
    3. Add disk space and increase db_recovery_file_dest_size parameter to
    reflect the new space.
    4. Delete unnecessary files using RMAN DELETE command. If an operating
    system command was used to delete files, then use RMAN CROSSCHECK and
    DELETE EXPIRED commands.
    Regards,
    Fahim.

  • Error when trying to acess SCVMM Admin Console

    Hello everyone,
    I had to install SCVMM 2008 R2 in a server that also contains TFS 2013 and SQL Server to manager virtual machines in MTest Manager.
    During the very first acess to SCVMM 2008 i had the following message:
    Unable to connect to the VMM database.
    Ensure that the SQL Server is running and configured correctly.
    ID: 2601
    Details: SQL error code: 4060
    Then, i've set NT
    AUTHORITY\SYSTEM as dbo of VirtualManagerDB( bd created during installation of SCVMM), but now
    i had the following message:
    You cannot contact the Virtual Machine Manager
    server. The credentials provided have insufficient privileges on TFS-TIER.
    Ensure that your account has access to the Virtual
    Machine Manager server TFS-TIER, and then try the operation again.
    ID: 1605
    Can anyone help me? thanks!

    Hello,
    Could you examine these requirements first?
    http://technet.microsoft.com/en-us/library/cc764220.aspx
    Examine SQL Server error log to make sure the login failed error is associated with the NT AUTHORITY\SYSTEM login. Share with any error
    numbers related to login failed messages.
    You can also try adding as sysadmin the login used by SCVMM on SQL Server to see what happen.
    https://social.msdn.microsoft.com/Forums/sqlserver/en-US/c280e0c8-9a5f-4a47-91d5-17e0d2e04180/error-when-trying-to-acess-scvmm-admin-console?forum=sqlkjmanageability
    Hope this helps.
    Regards,
    Alberto Morillo
    SQLCoffee.com

  • Does apple iTunes pre authorize your debit card when trying to download a free application?

    Does apple iTunes pre authorize your debit card when trying to download a free application?

    This has been a constant gripe of mine. No, Apple doesn't pre-authorise for free apps, but your account must be "ok" to download a free app.
    I use a pre-paid debit card for all my online purchases, simply to ensure nobody gets more than they're entitled to. But the only issue I've ever had is with Apple's pre-authorisation. Generally when purchasing an app, I'll check the balance on my card first to ensure I've enough. But inevitably Apple will pre-authorise €1.98. This sometimes has the effect of setting the debit card account into the red when Apple attempts to take the amount for the app. So I'm left with an app I haven't paid for (no issue there) and 2 unpaids on the card. The problem is that when my kids come to me looking for yet another free app, I can't download because my Apple account is not in order. A real pain.
    The solution though is simple. Set up another account without a card and use that to download free apps until such time as I'm ready to put money on the debit card and sort out the account.
    Basically, Apple shoots itself in the foot with constant pre-authorisations.
    I've been onto support several times about this, but they seem to give stock answers tha don't address the issue. Oh we'll.

  • A failure was reported when trying to invoke a service application: EndpointFailure

    Event logs getting spammed with this - can't find anything specific on the internet:
    A failure was reported when trying to invoke a service application: EndpointFailure
    Process Name: OWSTIMER
    Process ID: 6316
    AppDomain Name: DefaultDomain
    AppDomain ID: 1
    Service Application Uri: urn:schemas-microsoft-com:sharepoint:service:ba2301f4153b44a584c0065555ff67b5#authority=urn:uuid:02089d3f1be64db184670ab3f4060abc&authority=https://rsacdfsp02:32844/Topology/topology.svc
    Active Endpoints: 3
    Failed Endpoints:1
    Affected Endpoint: http://<server>:32843/ba2301f4153b44a584c0065555ff67b5/SearchService.svc
    When I browse to the Affected Endpoint (SearchService.svc) I get the below:
    This is a Windows© Communication Foundation service.
    Metadata publishing for this service is currently disabled
    If you have access to the service, you can enable metadata publishing by completing the following steps to modify your web or application configuration file:
    1. Create the following service behavior configuration, or add the <serviceMetadata> element to an existing service behavior configuration:

    Hi,
    refer the below article
     although articled focused on the App Management service application, endpoint failures can occur for just about any SharePoint service application and these steps should be applicable for those as well.
    http://blogs.msdn.com/b/sharepoint_strategery/archive/2013/01/29/troubleshooting-app-management-wcf-end-point-failures.aspx
    Regards
    Whenever you see a reply and if you think is helpful,Vote As Helpful! And whenever you see a reply being an answer to the question of the thread, click Mark As Answer

  • Underflow Exception when trying to bind small double to BINARY_DOUBLE

    I get exception when trying to insert small double value (1.0E-131) into BINARY_DOUBLE column via jdbc.
    The exception I get:
    Exception in thread "main" java.sql.SQLException: Underflow Exception trying to bind 1.0000000000000001E-131
    at oracle.jdbc.driver.DoubleBinder.bind(OraclePreparedStatement.java:13856)
    at oracle.jdbc.driver.OraclePreparedStatement.setupBindBuffers(OraclePreparedStatement.java:2866)
    at oracle.jdbc.driver.OraclePreparedStatement.processCompletedBindRow(OraclePreparedStatement.java:2151)
    at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3280)
    at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:3390)
    at dbAccess.main(dbAccess.java:18)
    According to oracle documentation the smallest positive number the BINARY_DOUBLE column can store is 2.22507485850720E-308.
    I'm using oracle 10g r2 and thin jdbc driver.
    Any ideas?

    That is expected since a double is converted to a Oracle NUMBER before passing it to the database and Oracle NUMBER does not support 1.0e-131, the range is 1E-130 .. 10E125.
    Look at the SQL output below,
    SQL> select to_char(to_number(1.0e-131)) from dual;
    T
    0
    SQL> select to_char(to_number(1.0e-130)) from dual;
    TO_CHAR(TO_NUMBER(1.0E-130))
    1.000000000000000000000000000000000E-130
    ==
    Use oracle.sql.BINARY_DOUBLE for numbers like this.
    eg:
    preparedStatement.setBINARY_DOUBLE(1, new oracle.sql.BINARY_DOUBLE(1.0e-131));
    ==
    hope this helps.
    Ashok

  • Action aborted with error 500.when trying to deploy a Planning application

    I am trying to deploy the SampAp sample application that comes with the Planning 9.3.1 installation. I have installed and configured everything successfully and have created, deployed, and uploaded the HFM sample applications just fine, but I am having trouble when trying to deploy the Planning application with the following detail.
    Detail : Initiating Product Action...
    Inspecting Deployment History...
    Generating Headers and Callback Information...
    Generating Application Data...
    Preparing Product Request...
    Posting Product Request...
    Product Response:500...
    Action aborted.

    Falls into the issue desribed in http://support.microsoft.com/kb/918040
    Try mitigatign using the workaround section
    Arthur My Blog

Maybe you are looking for

  • I just upgraded to Firefox 8 from 3.6 and now my websites don't stay logged in upon closing, how can I change that?

    The window popped up about clearing settings or whatever upon closing the browser and I said yes and don't ask again without realizing what I was doing. I completely uninstalled Firefox since then but it hasn't fixed.

  • Prime Infrastructure 2.0 - Alert on Switch Config Change

    We are in the process of testing out Prime Infrastructure 2.0, is there a way to get an alert when a device's configuration has changed, and send out what has changed in email? I have scheduled Config Archiving for all of my devices, and i can see th

  • JSP Taglib for RSS

    Just wondering if anyone else is having better luck - been working thru: http://developer.java.sun.com/developer/technicalArticles/javaserverpages/rss_utilities/ Each time I try and parse an RSS file I get the following trace: <rss> <channel> <title>

  • More Language support in Story.

    Ok so i am from israel and i want to create a script, but there are NO scriptwriting programs for hebrew at all. so i saw story is a great program, so maybe you can integrate hebrew. please. . oh and i have free edition.

  • Nokia Asha 501 software update

    When will be nokia asha501 software update in bangladesh ? And what's the new.... By the way its already available in other's country... Please answered me....