Java.util.MissingResourceException: Can't find resource for bundle java.ut

Hi,
I am using a resource bundle and reading a properties file. This is working fine for the existing one. I am getting the exception after I add the new keys in the properties file and run my application.
Can anyone point my error?

AnanSmriti wrote:
Hi,
I appreciate your response. I am using eclipse and I have compiled the classes and copied the properties files and saved in the respective package and finally prepared a jar. Only this added key is not found. The remaining keys are workingThen you haven't done it correctly. If you are actually referencing the correct properties file in the code, and the correct properties file exists in the jarfile, then it will work. If not, not. That's all there is to it.

Similar Messages

  • File upload in KM throws a system exception: java.util.MissingResourceException: Can't find resource for bundle java.util.PropertyResourceBundle, key xtlt_Required

    Hi All,
    We are on Netweaver 7.01 SP14. (well I understand we are way behind patch levels, but a simple file upload should be working ?/)
    We are trying to upload (HTML &/ Image) a file in one of the KM's public folder.
    As and when we select folder and click on upload we get the below message:
    Below is the error trace details:
    Full Message Text
    com.sapportals.wdf.WdfException
    at com.sapportals.wcm.control.edit.ResourceUploadControl.render(ResourceUploadControl.java:688)
    at com.sapportals.wdf.layout.HorizontalLayout.renderControls(HorizontalLayout.java:42)
    at com.sapportals.wdf.stack.Pane.render(Pane.java:155)
    at com.sapportals.wdf.stack.PaneStack.render(PaneStack.java:73)
    at com.sapportals.wdf.layout.HorizontalLayout.renderPanes(HorizontalLayout.java:73)
    at com.sapportals.wdf.stack.Pane.render(Pane.java:158)
    at com.sapportals.wdf.stack.PaneStack.render(PaneStack.java:73)
    at com.sapportals.wdf.layout.HorizontalLayout.renderPanes(HorizontalLayout.java:73)
    at com.sapportals.wdf.stack.Pane.render(Pane.java:158)
    at com.sapportals.wdf.stack.PaneStack.render(PaneStack.java:73)
    at com.sapportals.wdf.layout.HorizontalLayout.renderPanes(HorizontalLayout.java:73)
    at com.sapportals.wdf.stack.Pane.render(Pane.java:158)
    at com.sapportals.wdf.stack.PaneStack.render(PaneStack.java:73)
    at com.sapportals.wdf.WdfCompositeController.internalRender(WdfCompositeController.java:709)
    at com.sapportals.wdf.WdfCompositeController.buildComposition(WdfCompositeController.java:674)
    at com.sapportals.htmlb.AbstractCompositeComponent.preRender(AbstractCompositeComponent.java:33)
    at com.sapportals.htmlb.Container.preRender(Container.java:120)
    at com.sapportals.htmlb.Container.preRender(Container.java:120)
    at com.sapportals.htmlb.Container.preRender(Container.java:120)
    at com.sapportals.portal.htmlb.PrtContext.render(PrtContext.java:408)
    at com.sapportals.htmlb.page.DynPage.doOutput(DynPage.java:238)
    at com.sapportals.wcm.portal.component.base.KMControllerDynPage.doOutput(KMControllerDynPage.java:134)
    at com.sapportals.htmlb.page.PageProcessor.handleRequest(PageProcessor.java:133)
    at com.sapportals.portal.htmlb.page.PageProcessorComponent.doContent(PageProcessorComponent.java:134)
    at com.sapportals.wcm.portal.component.base.ControllerComponent.doContent(ControllerComponent.java:88)
    at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
    at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
    at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
    at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215)
    at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:645)
    at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
    at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753)
    at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:249)
    at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:557)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:430)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1064)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
    at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
    at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
    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:104)
    at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)
    --- Nested WDF Exception -----------------------
    java.util.MissingResourceException: Can't find resource for bundle java.util.PropertyResourceBundle, key xtlt_Required
    at java.util.ResourceBundle.getObject(ResourceBundle.java:327)
    at java.util.ResourceBundle.getObject(ResourceBundle.java:324)
    at java.util.ResourceBundle.getString(ResourceBundle.java:287)
    at com.sapportals.wcm.util.resource.ResourceBundles.getString(ResourceBundles.java:55)
    at com.sapportals.wcm.control.base.WcmBaseControl.getBaseBundleString(WcmBaseControl.java:150)
    at com.sapportals.wcm.control.base.WcmBaseControl.getBaseBundleString(WcmBaseControl.java:176)
    at com.sapportals.wcm.control.edit.ResourceUploadControl.renderUploadFileContent(ResourceUploadControl.java:773)
    at com.sapportals.wcm.control.edit.ResourceUploadControl.render(ResourceUploadControl.java:655)
    at com.sapportals.wdf.layout.HorizontalLayout.renderControls(HorizontalLayout.java:42)
    at com.sapportals.wdf.stack.Pane.render(Pane.java:155)
    at com.sapportals.wdf.stack.PaneStack.render(PaneStack.java:73)
    at com.sapportals.wdf.layout.HorizontalLayout.renderPanes(HorizontalLayout.java:73)
    at com.sapportals.wdf.stack.Pane.render(Pane.java:158)
    at com.sapportals.wdf.stack.PaneStack.render(PaneStack.java:73)
    at com.sapportals.wdf.layout.HorizontalLayout.renderPanes(HorizontalLayout.java:73)
    at com.sapportals.wdf.stack.Pane.render(Pane.java:158)
    at com.sapportals.wdf.stack.PaneStack.render(PaneStack.java:73)
    at com.sapportals.wdf.layout.HorizontalLayout.renderPanes(HorizontalLayout.java:73)
    at com.sapportals.wdf.stack.Pane.render(Pane.java:158)
    at com.sapportals.wdf.stack.PaneStack.render(PaneStack.java:73)
    at com.sapportals.wdf.WdfCompositeController.internalRender(WdfCompositeController.java:709)
    at com.sapportals.wdf.WdfCompositeController.buildComposition(WdfCompositeController.java:674)
    at com.sapportals.htmlb.AbstractCompositeComponent.preRender(AbstractCompositeComponent.java:33)
    at com.sapportals.htmlb.Container.preRender(Container.java:120)
    at com.sapportals.htmlb.Container.preRender(Container.java:120)
    at com.sapportals.htmlb.Container.preRender(Container.java:120)
    at com.sapportals.portal.htmlb.PrtContext.render(PrtContext.java:408)
    at com.sapportals.htmlb.page.DynPage.doOutput(DynPage.java:238)
    at com.sapportals.wcm.portal.component.base.KMControllerDynPage.doOutput(KMControllerDynPage.java:134)
    at com.sapportals.htmlb.page.PageProcessor.handleRequest(PageProcessor.java:133)
    at com.sapportals.portal.htmlb.page.PageProcessorComponent.doContent(PageProcessorComponent.java:134)
    at com.sapportals.wcm.portal.component.base.ControllerComponent.doContent(ControllerComponent.java:88)
    at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
    at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
    at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
    at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215)
    at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:645)
    at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
    at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753)
    at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:249)
    at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:557)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:430)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1064)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
    at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
    at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
    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:104)
    at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176) 

    Hi Vijay,
    Thanks for the quick reply.
    I have gone through the notes 1535201  & now on 1606563  after your advise.
    Both the notes says the fix is available on 7.01 after SP 07 and we are on SP 14 already.
    Also just in case I did checked with our basis and they confirmed we are a head and we have the above notes in our release already.
    Unfortunately the notes are not the solution to the investigation till date.
    Thanks,
    Sai

  • Receive error on sparc2.6, w/4.1sp9 sjava resource bundle not found-using default:java.util.MissingResourceException:Can't find resource for base name res.s java, locale en meaning?  Thanks.

     

    This can happen after modifying the calendar properties and not reloading the application. Try reloading or restarting the application. This could also mean the Calendar.properties file has been moved, deleted, or become corrupted. A default properties file can be found at:
    "Tomcat-install-dir"\webapps\"your-web-application"\WEB-INF\classes\defaultPropFile\. Copy this file to: "Tomcat-install-dir"\webapps\"your-web-application"\WEB-INF\classes\. Stop and restart the web server. From a browser, run "hostname"/"your-web-application"/src/setupCalendar.jsp.

  • Can't find resource for bundle java.util.PropertyResourceBundle, key Summar

    While invoking a specific reprot file using JRC API, i am getting the below exception. Can you anybody tell me what jar file or properties files are requried to be placed in the lib folder? I can send the total stack trace if requried.
    - Failed to load the resource 'SummaryOnNonRecurringField' from the bundle java.util.PropertyResourceBundle@5e9d7a.
    java.util.MissingResourceException: Can't find resource for bundle java.util.PropertyResourceBundle, key SummaryOnNonRecurringField
         at java.util.ResourceBundle.getObject(ResourceBundle.java:314)
         at java.util.ResourceBundle.getObject(ResourceBundle.java:311)
         at java.util.ResourceBundle.getString(ResourceBundle.java:274)
         at com.crystaldecisions.reports.common.CrystalResources.loadString(Unknown Source)
         at com.crystaldecisions.reports.common.CrystalResources.loadMessage(Unknown Source)
         at com.crystaldecisions.reports.common.CrystalException.a(Unknown Source)
         at com.crystaldecisions.reports.common.CrystalException.getLocalizedMessage(Unknown Source)
         at com.crystaldecisions.reports.common.CrystalException.getMessage(Unknown Source)
         at java.lang.Throwable.getLocalizedMessage(Throwable.java:266)

    Hello Srinivasa,
    -Have you used any database connectivity for your report (like JDBC or ODBC)? Does your report work fine from designer ?
    -The reason you are getting this error might be that the u201Cojdbc14.jaru201D or the JDBC driver type jar file you are using might not be present in the u201CCRConfig.xmlu201D class path location.
    -For resolving this error message, please add the u201Cojdbc14.jaru201D to the CRConfig.xml file class path present in the folder u201CC:\Program Files\Common Files\Business Objects\3.0\javau201D for CR XI.
    -Also, please make sure whether you have copied the JDBC driver to the WEB-INF\lib folder.
    -Apart from this.please make sure that you have copied all the JAR files from business objects lib folder inside lib folder of your application.
    Thanks,
    Chinmay

  • Can't find resource for bundle com.plumtree.portlet.util.PortletResourceBundle

    Hi,
    I'm trying to integrate Business Objects XI portlets and I received this error:
    An error has occuredCan't find resource for bundle com.plumtree.portlet.util.PortletResourceBundle, key jsp.ExplorerView.CorporateDocuments Can't find resource for bundle com.plumtree.portlet.util.PortletResourceBundle, key jsp.ExplorerView.CorporateDocuments java.util.MissingResourceException: Can't find resource for bundle com.plumtree.portlet.util.PortletResourceBundle, key jsp.ExplorerView.CorporateDocuments at java.util.ResourceBundle.getObject(ResourceBundle.java:314) at java.util.ResourceBundle.getString(ResourceBundle.java:274) at com.businessobjects.portlets.jsr168.enterprise.common.ExplorerHelper.getResourceString(Unknown Source) at jsp_servlet._jsp.__errormessage._jspService(__errormessage.java:206) at weblogic.servlet.jsp.JspBase.service(JspBase.java:33) at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:996) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:315) at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:622) at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:412) at com.plumtree.portlet.impl.PortletRequestDispatcherImpl.include(PortletRequestDispatcherImpl.java:118) at com.businessobjects.portlets.jsr168.enterprise.explore.Explorer.doView(Unknown Source) at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:235) at javax.portlet.GenericPortlet.render(GenericPortlet.java:163) at com.plumtree.portlet.servlet.PortletServlet.service(PortletServlet.java:277) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:996) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:315) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6452) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118) at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3661) at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2630) at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219) at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178) Does anybody know what could be wrong? What am I missing?Thanks a lot!Claudia

    hi Clinton,
    I'm using the last version available in the Product center (I think it is 1.03).
    The portlet.xml file is the one that comes with the BO portlets (see below).
    Thanks a lot!
    <?xml version="1.0" encoding="UTF-8"?>
    <portlet-app xmlns="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd"
    version="1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd"
    id="BusinessObjects Enterprise Portlets">
    <!-- id attribute is added for IBM WSRP , it will be deleted in the feature after IBM release its WPS -->
    <portlet>
    <portlet-name>BOPortlet</portlet-name>
    <display-name xml:lang="en">ListPortlet</display-name>
    <portlet-class>com.businessobjects.portlets.jsr168.enterprise.explore.Explorer</portlet-class>
    <!-- jsp URL starts-->
    <init-param>
    <name>Help Path</name>
    <value>/jsp/help/</value>
    </init-param>
    <!-- jsp URL ends-->
    <!-- General Appearance settings -->
    <init-param>
    <name>Show toolbar in footer</name>
    <value>true</value>
    </init-param>
    <init-param>
    <name>Show unavailable documents</name>
    <value>true</value>
    </init-param>
    <init-param>
    <name>Allow subscription</name>
    <value>true</value>
    </init-param>
    <init-param>
    <name>Allow searching</name>
    <value>true</value>
    </init-param>
    <init-param>
    <name>Rows per page</name>
    <value>50</value>
    </init-param>
    <init-param>
    <name>Row separator</name>
    <value>lines</value>
    </init-param>
    <init-param>
    <name>Separator_Color_Front</name>
    <value>#FFFFFF</value>
    </init-param>
    <init-param>
    <name>Separator_Color_Back</name>
    <value>#F0F8FF</value>
    </init-param>
    <init-param>
    <name>Selected row bgcolor</name>
    <value>#4682B4</value>
    </init-param>
    <init-param>
    <name>Allow Paging</name>
    <value>true</value>
    </init-param>
    <!-- Navigation settings -->
    <init-param>
    <name>Custom sub-location</name>
    <value>23</value>
    </init-param>
    <init-param>
    <name>Remember active location for user</name>
    <value>false</value>
    </init-param>
    <init-param>
    <name>ActiveLocation</name>
    <value>23</value>
    </init-param>
    <init-param>
    <name>Open document in new window</name>
    <value>true</value>
    </init-param>
    <init-param>
    <name>ShowNavigationDropDown</name>
    <value>true</value>
    </init-param>
    <init-param>
    <name>Allow Personal Inbox access</name>
    <value>true</value>
    </init-param>
    <init-param>
    <name>Allow Personal Documents access</name>
    <value>true</value>
    </init-param>
    <init-param>
    <name>Allow Personal Categories access</name>
    <value>true</value>
    </init-param>
    <init-param>
    <name>Allow Corporate Documents access</name>
    <value>true</value>
    </init-param>
    <init-param>
    <name>Allow Corporate Categories access</name>
    <value>true</value>
    </init-param>
    <!-- Columns settings -->
    <init-param>
    <name>Show Alerts</name>
    <value>true</value>
    </init-param>
    <init-param>
    <name>Show Type</name>
    <value>true</value>
    </init-param>
    <init-param>
    <name>Show From</name>
    <value>true</value>
    </init-param>
    <init-param>
    <name>Show Updated</name>
    <value>true</value>
    </init-param>
    <init-param>
    <name>Show Availability</name>
    <value>true</value>
    </init-param>
    <init-param>
    <name>Show Folder</name>
    <value>true</value>
    </init-param>
    <init-param>
    <name>Show Category</name>
    <value>true</value>
    </init-param>
    <init-param>
    <name>Show Keyword</name>
    <value>true</value>
    </init-param>
    <init-param>
    <name>Show Author</name>
    <value>true</value>
    </init-param>
    <!-- Logging settings -->
    <init-param>
    <name>Logging</name>
    <value>none</value>
    </init-param>
    <init-param>
    <name>Enable Logging</name>
    <value>true</value>
    </init-param>
    <expiration-cache>0</expiration-cache>
    <supports>
    <mime-type>text/html</mime-type>
    <portlet-mode>view</portlet-mode>
    <portlet-mode>edit</portlet-mode>
    <portlet-mode>help</portlet-mode>
    </supports>
    <supported-locale>en</supported-locale>
    <supported-locale>fr</supported-locale>
    <supported-locale>ja</supported-locale>
    <supported-locale>zh_CN</supported-locale>
    <supported-locale>es</supported-locale>
    <supported-locale>it</supported-locale>
    <supported-locale>zh_TW</supported-locale>
    <supported-locale>ko</supported-locale>
    <supported-locale>de</supported-locale>
    <supported-locale>nl</supported-locale>
    <resource-bundle>com.businessobjects.portlets.jsr168.enterprise.common.Strings</resource-bundle>
    <portlet-info>
    <title>BOPortlet</title>
    </portlet-info>
    <portlet-preferences>
    <preference>
    <name>Submit on Click</name>
    <value></value>
    <read-only>false</read-only>
    </preference>
    <preference>
    <name>Show toolbar in footer</name>
    <read-only>false</read-only>
    </preference>
    <preference>
    <name>Show unavailable documents</name>
    <read-only>false</read-only>
    </preference>
    <preference>
    <name>Allow subscription</name>
    <read-only>false</read-only>
    </preference>
    <preference>
    <name>Allow searching</name>
    <read-only>false</read-only>
    </preference>
    </portlet-preferences>
    </portlet>
    </portlet-app>

  • Can't find resource for bundle

    hi
    i'm trying to develop connection pool and get this exception:
    ResourceBundle='com.sap.engine.frame.KernelResourceBundle', ID='empty message exce.', Arguments: ['java.lang.ClassCastException']--> : Can't find resource for bundle java.util.PropertyResourceBundle, key empty message exce.     
    can anyone help?
    thanks.

    Hi,
       See the following threads:
    Re: Canu0092t find bundle for base name com.sap.jdo.common.Bundle
    /message/1424336#1424336 [original link is broken]
    /message/1701220#1701220 [original link is broken]
    can't find type Resource
    java.util.MissingResourceException: Can't find bundle for base name com/sa
    Getting the Exception "Missing resource exception"
    Kind Regards,
    S.Saravanan.

  • Java.util.MissingResourceException: Can't find bundl :ERROR plz Help

    hey guys am trying to connect to my data base and view data toa jsp page but i got this error :
    Exception report
    message
    descriptionThe server encountered an internal error () that prevented it from fulfilling this request.
    exception
    org.apache.jasper.JasperException: java.util.MissingResourceException: Can't find bundle for base name DataBase, locale en_US
    root cause
    java.util.MissingResourceException: Can't find bundle for base name DataBase, locale en_US
    note The full stack traces of the exception and its root causes are available in the Sun Java System Application Server 9.1 logs.
    here is the code database _proper
    drivername=oracle.jdbc.driver.OracleDriver
    dataSourceName=jdbc/orcl/WOH
    dsLookupPrefix=WOH.getstring("dslookupprefix");
    user=SYSTEM
    password=SYSTEM
    location=192.168.1.3
    port=1521
    sid=ORCL
    and here is the Dao connection class
    package version.dao;
    import java.util.*;
    //to provide JDBC classes
    import java.sql.*;
    * @author freddy
    public class DAODirect {
    * Insert the type's description here.
    * Creation date: (12/25/2006 12:13:56 PM)
    * @author: Administrator
         private Connection connection = null;
         private Statement statement = null;
         private String driverName =null;// "oracle.jdbc.driver.OracleDriver";//null;
         private String url =null;//"jdbc:oracle:thin:scott/tiger@localhost:1521:ORCL";//null;
         private ResultSet rs = null;
         private String columnNames[];
         private int columnCount;
         private Object[] record;
         * PFSDataBase constructor comment.
         public DAODirect() {
              super();
              ResourceBundle database = ResourceBundle.getBundle("DataBase");
    //1 get the driver name
              driverName = database.getString("drivername");
              String user = database.getString("user");
              String password = database.getString("password");
              String location = database.getString("location");
              String port = database.getString("port");
              String sid = database.getString("sid");
    //String dataSourceName=database.getString("dataSourceName");
    //2- get the Connection url
              url =
                   "jdbc:oracle:thin:"
                        + user
                        + "/"
                        + password
                        + "@"
                        + location
                        + ":"
                        + port
                        + ":"
                        + sid;
              System.out.println("++++++++"+url);
    System.out.println("++++++++"+url);
         public void closeStatement() {
              try {
                   if (statement != null) {
                        statement.close();
                        statement = null;
              } catch (Exception e) {
         public void commitDB() throws Exception{
              connection.commit();     
         public boolean connect() throws Exception {
              try {
                   if (connection == null) {
    //1- loading of JDBC Drivers
                        Class.forName(driverName);
                        System.out.println(url);
    //this line =conn = DriverManager.getConnection(
    // "jdbc:oracle:thin:@noizmaker:1521:osiris",
    // "scott", "tiger");
    //2- Establish Connection
                        connection = DriverManager.getConnection(url);
                        return true;
                   } else {
                        throw (
                             new Exception("connection is not disconnected, you have to disconnect this connection before reconnecting it again"));
              } catch (SQLException e) {
                   e.printStackTrace();
                   throw (new Exception("Unable to connect to database,Error Loading Driver"));
         public void createStatement() throws Exception {
              if (statement != null) {
                   closeStatement();
              if (connection == null) {
                   throw (new Exception("database is not connected"));
              statement = connection.createStatement();//3-bulit_in funnction that create and send sql statment
         public void disconnect() throws Exception {
              if (connection != null) {
                   try {
                        connection.close();
                        connection = null;
                   } catch (Exception e) {
                   //isConnected = false;
              } else {
                   throw (new Exception("can not disconnect database"));
    // ResultSet is: A table of data representing a database result set, which is usually generated by executing a statement that queries the database
         public ResultSet execute(String query) throws Exception {
              if (connection == null) {
                   throw (new Exception("database is not connected"));
              if (statement == null) {
                   throw (new Exception("statement is not created"));
              return statement.executeQuery(query);//bulit_in funnction that 4-execute given sql statment
         public void getColumnNames(ResultSet result) throws Exception {
              try {
    //An object that can be used to get information about the types and properties of the columns in a ResultSet object.
                   ResultSetMetaData resultsMetaData = result.getMetaData();
                   columnCount = resultsMetaData.getColumnCount();
                   columnNames = new String[columnCount];
                   for (int i = 1; i < columnCount + 1; i++) {
                        columnNames[i - 1] = resultsMetaData.getColumnName(i).trim();//trim to remove whaite space
              } catch (Exception e) {
                   throw (new Exception("Result Set Columns " + e.getMessage()));
         public Connection getConnection(){
              return connection;     
         public void rollBack() throws Exception{
              connection.rollback();     
         public Vector rsToVector(ResultSet rs) throws Exception {
              getColumnNames(rs);
              Vector resultSetData = new Vector();
              resultSetData.addElement(columnNames);
              try {
                   this.record = new Object[columnCount];
                   while (rs.next()) {
    //ave each raw
                        Object[] record = new Object[columnCount];
                        for (int i = 1; i < columnCount + 1; i++) {
                             Object entry = rs.getObject(i);
                             record[i - 1] = entry;
    // here we print the whole tabel after we save each record in record[]
                        resultSetData.addElement(record);
                   return resultSetData;
              } catch (Exception e) {
                   resultSetData.clear();
                   throw (new Exception("Result Set : " + e.getMessage()));
         public void setAutoCommit(boolean commitType) throws Exception{
              connection.setAutoCommit(commitType);     
         public boolean update(String query) throws Exception {
              if (connection == null) {
                   throw (new Exception("database is not connected"));
              try {
    //create query and execute it
                   createStatement();
                   statement.execute(query);
                   return true;
              } catch (Exception e) {
                   throw (
                        new Exception(
                             "Error in manipulating query :" + e.getMessage()));
              } finally {
                   closeStatement();
    * To change this template, choose Tools | Templates
    * and open the template in the editor.
    package version.dao;
    import java.sql.ResultSet;
    import java.sql.Connection;
    import java.sql.Statement;
    import java.sql.SQLException;
    import javax.sql.DataSource;
    import javax.naming.InitialContext;//unknown
    import java.util.ResourceBundle;//unknown
    * @author freddy
    * This is the Data Access Object (DAO), which deals with all Database transactions,
    * connections,and pooling (through Data Source implementation).
    * This class configured through the database.properties file
    * which contains all the database parameters
    * @author: Tariq Qasem
    public class DAO {
         private Connection connection = null;
         private Statement statement = null;
         private String dataSourceName =null; //MyDataSource; //null;
         private String dsLookupPrefix = null;//java:comp/env/;
    //null;
         private ResultSet rs = null;
         * DAO constructor comment.
         public DAO() {
              super();
              ResourceBundle database = ResourceBundle.getBundle("DataBase");
              dataSourceName = database.getString("dataSourceName");
              dsLookupPrefix = database.getString("dsLookupPrefix");
         * @param request PortletRequest
         * @return void
         * this method close pooled statement
         public void closeStatement() {
              try {
                   if (statement != null) {
                        statement.close();
                        statement = null;
              } catch (Exception e) {
         * @param request PortletRequest
         * @return boolean
         * this method connects to the database
         public boolean connect() throws Exception {
              try {
                   if (connection == null) {
                        InitialContext ctx = new InitialContext();
                   DataSource ds = (DataSource) ctx.lookup(dsLookupPrefix+dataSourceName);
                        connection = ds.getConnection();
                        return true;
                   } else {
                        throw (
                             new Exception("connection is not disconnected, you have to disconnect this connection before reconnecting it again"));
              } catch (SQLException e) {
                   e.printStackTrace();
                   throw (new Exception("Unable to connect to database"));
         public void createStatement() throws Exception {
              if (statement != null) {
                   closeStatement();
              if (connection == null) {
                   throw (new Exception("database is not connected"));
              statement = connection.createStatement();
         * @param request PortletRequest
         * @return void
         * this method disconnect the database connection
         public void disconnect() throws Exception {
              if (connection != null) {
                   try {
                        connection.close();
                        connection = null;
                   } catch (Exception e) {
              } else {
                   throw (new Exception("can not disconnect database"));
         * @param request PortletRequest
         * @return boolean
         * this method updates (executes) Insert and Updates queries on the database
    /*     public boolean update(String query) throws Exception {
              if (connection == null) {
                   throw (new Exception("database is not connected"));
              try {
                   createStatement();
                   statement.execute(query);
                   return true;
              } catch (Exception e) {
                   throw (
                        new Exception(
                             "Error in manipulating query :" + e.getMessage()));
              } finally {
                   closeStatement();
         public int update(String query) throws Exception {
              int records = 0;
              if (connection == null) {
                   throw (new Exception("database is not connected"));
              try {
                   createStatement();
                   records = statement.executeUpdate(query);
                   return records;
              } catch (Exception e) {
                   throw (
                        new Exception(
                             "Error in manipulating query :" + e.getMessage()));
              } finally {
                   closeStatement();
         * @param request PortletRequest
         * @return ResultSet
         * this method executes select queries on the database
         public ResultSet execute(String query) throws Exception {
              if (connection == null) {
                   throw (new Exception("database is not connected"));
              if (statement == null) {
                   throw (new Exception("statement is not created"));
              return statement.executeQuery(query);
         * @param request PortletRequest
         * @return void
         * this method to set the commit transaction on the database to be auto
         public void setAutoCommit(boolean commitType) throws Exception{
              connection.setAutoCommit(commitType);     
         * @param request PortletRequest
         * @return void
         * this method commit database transaction
         public void commitDB() throws Exception{
              connection.commit();     
         * @param request PortletRequest
         * @return void
         * this method rollback database transaction
         public void rollBack() throws Exception{
              connection.rollback();     
         * @param request PortletRequest
         * @return Connection
         * this method return the database connection as java object
         public Connection getConnection(){
              return connection;     
    and this is my jsp page:
    <%--
    Document : index
    Created on : Mar 16, 2008, 10:14:55 AM
    Author : freddy
    --%>
    <%@page contentType="text/html" pageEncoding="UTF-8"%>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>JSP Page</title>
    </head>
    <body>
    <h2>Hello World!</h2>
    <%
    version.dao.DAODirect dao=new version.dao.DAODirect();
    try
    boolean connected = dao.connect();
    dao.createStatement();
    String query = " SELECT ID,NAME FROM version";
    java.sql.ResultSet rs = dao.execute(query);
    while(rs.next()){
    out.println(rs.getInt("P_ID")+" ");
    out.println(rs.getString("P_FN")+"<BR>");
    dao.closeStatement();
    dao.disconnect();
    catch(Exception e)
    out.print(e.getMessage());
    %>
    </body>
    </html>
    plz guys help me i need this for my graduation project also if anyone know kind of tutorialsfor building J2me/J2EE application using wifi plzzzsend me links or anything ,thx in advance

    This can happen after modifying the calendar properties and not reloading the application. Try reloading or restarting the application. This could also mean the Calendar.properties file has been moved, deleted, or become corrupted. A default properties file can be found at:
    "Tomcat-install-dir"\webapps\"your-web-application"\WEB-INF\classes\defaultPropFile\. Copy this file to: "Tomcat-install-dir"\webapps\"your-web-application"\WEB-INF\classes\. Stop and restart the web server. From a browser, run "hostname"/"your-web-application"/src/setupCalendar.jsp.

  • Where can I find resources for prototyping apps with adobe illustrator (trainings, video, articles)?

    New to prototyping apps and looking to use Adobe Illustrator to do so as most people in our company know it well (compared to Fireworks - the common tool talked about here for prototyping). Does anyone have any good trainings, videos, articles, instructions on wireframing and creating high-fidelity mockups in this tool? I'm also open to a list of trainers that specialize in this. I'm not finding much on the web - it seems everything is rerouting me to Fireworks..
    Thanks everyone! (P.S. We'll be creating mobile, desktop, and web apps starting with iphone).

    Just take a look at this tool: ExtendScript toolkit. 
    You could find it here:
    http://www.adobe.com/devnet/scripting.html
    This will help you.
    Thomas.

  • Error on deployment "Can'f find resource bundle org.openide.util.NbBundle..

    i get this error when i try to run a page
    "java.util.MissingResourceException: Can't find resource for bundle org.openide.uitl.NbBundle$PBundle, key enterprise.deployapi.actions.modulestataction.deploy_failedDeployment Error -- Error loading deployment descriptors for _WebApplications1 -- This web app has no resource reference by the name of jdbc/Travelat java.util.ResourceBundle.getObject(ResourceBundle.java:314).."
    i have tried reinstalling and trying to undeploy all the deployed components but nothing seems to work..
    any help would be appreciated because i cannot run anything at all

    i get this error when i try to run a page
    "java.util.MissingResourceException: Can't find
    resource for bundle
    org.openide.uitl.NbBundle$PBundle, key
    enterprise.deployapi.actions.modulestataction.deploy_f
    ailedDeployment Error -- Error loading deployment
    descriptors for _WebApplications1 -- This web app has
    no resource reference by the name of jdbc/Travelat
    java.util.ResourceBundle.getObject(ResourceBundle.java
    :314).."
    i have tried reinstalling and trying to undeploy all
    the deployed components but nothing seems to work..
    any help would be appreciated because i cannot run
    anything at allYou're on the Early Access build?
    Do you run in a locale other than en?
    I looked at the code and that string is in the right source/build files. So something is really strange here.
    The other interesting question is, what did you try to do? Apparently there is some problem with the jdbc/Travel resource.
    Thanks,
    -- Marco

  • Serena Dimensions plugin can not find resource when syncronizing new item

    We use
    Serena Dimensions 2009R03
    Oracle JDeveloper 11.1.1.3.0
    Serena Dimensions extension 11.1.1.3.37.56.60
    We have managed to link an application to a Dimensions project, and syncronizing files that exisit in the repository works fine, but when adding new files to the repository, JDev crashes with an exeption:
    Performing action Add...[ from oracle.ide.navigator.ProjectNavigatorWindow ]
    Invoking command: [ from oracle.ide.navigator.ProjectNavigatorWindow ]
    java.util.MissingResourceException: Can't find resource for bundle oracle.jdevimpl.vcs.dimensions.res.Resource, key Failed to {0} file {1}
    j.util.ResourceBundle.getObject(ResourceBundle.java:384)
    j.util.ResourceBundle.getObject(ResourceBundle.java:381)
    j.util.ResourceBundle.getString(ResourceBundle.java:344)
    o.ji.vcs.dimensions.res.Resource.get(Resource.java:23)
    o.ji.vcs.dimensions.res.Resource.format(Resource.java:31)
    o.ji.vcs.dimensions.session.DMVersionOperation.convertToDMException(DMVersionOperation.java:98)
    o.ji.vcs.dimensions.session.DMVersionOperation.convertToDMException(DMVersionOperation.java:73)
    o.ji.vcs.dimensions.session.DMAdd.performOperation(DMAdd.java:121)
    o.ji.vcs.dimensions.op.DMAddOperation$1.doInvocation(DMAddOperation.java:113)
    o.j.vcs.spi.VCSDirectoryInvokable.runInvokableImpl(VCSDirectoryInvokable.java:199)
    o.j.vcs.spi.VCSDirectoryInvokable.runInvokable(VCSDirectoryInvokable.java:117)
    o.ji.vcs.dimensions.op.DMAbstractOperation.invokeCommandImpl(DMAbstractOperation.java:141)
    o.ji.vcs.dimensions.op.DMAbstractOperation$1.doCommitOperation(DMAbstractOperation.java:102)
    o.j.vcs.spi.VCSDialogCommitter$1.run(VCSDialogCommitter.java:82)
    The item is not created.
    It makes no difference if subversion i active at the same time or not.
    Syncronizing with the Dimensions client or from a file explorer works fine.
    I have tried to reinstall both jdev, Dimensions client and the extension with the same result.
    This makes the extension pretty useless.
    /Kim

    Hi,
    1. Disabling auto checkout
    go to menu Tools -> Preferences -> Versioning -> Dimensions -> General
    this is the GUI approach to manipulating the preferences xml file that you have found. You should never need to amend this file manually
    1.c/2 We have an ER to provide a way to work on a file locally/writeable. It is not possible in this version. You could use the file system to set the file to writeable, but it is not supported
    3.a the Help files are the only documentation that we provide. It is not expected to be a full tutorial on Dimensions, but to support using the JDEV UI to interact with Diremnsions.
    What do you feel is missing from help?
    I have noticed that the Tools - Preferences for Dimensions are not documented in help and I will get a bug raised for that.
    b. the lock icon does, indeed, mean logged out. If you hover the mouse over the file in question the tool tip gives the meaning of the icon.
    ii. I don't recognise this second icon. Can you reproduce it and hover over the file - let me know what it is, I will get the icons updated in Help
    rgds
    Susan
    susanduncan.blogspot.com

  • Can't find resource key "BeanUtils.NoGetter"

    I am running a simple jsp page that looks at a JavaBean. Here is my error.
    500 Internal Server Error
    /test/UsingInterestBean.jsp:
    Can't find resource key "BeanUtils.NoGetter" in base name allaire/jrun/jsp/resource.properties
    java.util.MissingResourceException: Can't find resource key "BeanUtils.NoGetter" in base name allaire/jrun/jsp/resource.properties
         at allaire.jrun.util.RB.getString(../util/RB.java:226)
         at allaire.jrun.util.RB.getMessage(../util/RB.java:681)
         at allaire.jrun.util.RB.getString(../util/RB.java:435)
         at allaire.jrun.jsp.BeanUtils.getProperty(../jsp/BeanUtils.java:67)
         at allaire.jrun.jsp.JRunJSPStaticHelpers.getBeanProperty(../jsp/JRunJSPStaticHelpers.java:294)
         at jrun__UsingInterestBean2ejsp16._jspService(jrun__UsingInterestBean2ejsp16.java:83)
         at allaire.jrun.jsp.HttpJSPServlet.service(../jsp/HttpJSPServlet.java:40)
         at allaire.jrun.servlet.JRunSE.service(../servlet/JRunSE.java:1013)
         at allaire.jrun.servlet.JRunSE.runServlet(../servlet/JRunSE.java:925)
         at allaire.jrun.servlet.JRunNamedDispatcher.forward(../servlet/JRunNamedDispatcher.java:34)
         at allaire.jrun.jsp.JSPServlet.service(../jsp/JSPServlet.java:175)
         at allaire.jrun.servlet.JRunSE.service(../servlet/JRunSE.java:1013)
         at allaire.jrun.servlet.JRunSE.runServlet(../servlet/JRunSE.java:925)
         at allaire.jrun.servlet.JRunRequestDispatcher.forward(../servlet/JRunRequestDispatcher.java:88)
         at allaire.jrun.servlet.JRunSE.service(../servlet/JRunSE.java:1131)
         at allaire.jrun.servlet.JvmContext.dispatch(../servlet/JvmContext.java:330)
         at allaire.jrun.http.WebEndpoint.run(../http/WebEndpoint.java:107)
         at allaire.jrun.ThreadPool.run(../ThreadPool.java:272)
         at allaire.jrun.WorkerThread.run(../WorkerThread.java:75)
    Thanks for your help in advance.

    This error:
    >
    Can't find resource key "BeanUtils.NoGetter" in base
    name allaire/jrun/jsp/resource.properties
    java.util.MissingResourceException: Can't find
    resource key "BeanUtils.NoGetter" in base name
    allaire/jrun/jsp/resource.properties
    is saying that in the file called resource.properties , it is unable to find the key called BeanUtils.NoGetter ---- the properties file is a resource bundle , it is supposed to have key value pairs , whatever application is trying to access that resource bundle is looking for the key but unable to find it.
    You can debug your code and see what part of your code is trying to access the key called "BeanUtils.NoGetter" in the properties file and see if you could comment out the code.
    If you can't modify that code then check with Allaire / JRun support team or their forums because the property file is theirs.

  • Can't find resource exception

    I've installed JDK1.4 and forte for java 3.0 recently. However, every time I try to start the forte IDE, an exception " Can't find resource for bundle java.util.PropertyResourceBundle, key PageSetup" occurs amid the initialization and the IDE hangs up. Can somebody give me some idea what's going wrong and how to solve this problem. Thanks

    Try using a different JDK version may be 1.3.
    Change the jdkhome in bin\ide.cfg file
    for example
    -jdkhome C:\JDK1.3 -J-Xmx96m -J-Xss1024k -J-Xms24m -J-Xverify:none

  • SOLR RuntimeException: Can't find resource 'solrconfig.xml' in classpath or ...

    I'm setting up 64-bit CF with SOLR on a client's Windows Server 2008 64-bit box.
    Installation was not an issue. Was able to produce a SOLR index a number of times since the install. But the nightly rebuilds of the index began failing at after about a week. I've tried rebuilding a number of times at this point via the CF Admin but with no success. What I note is that attempting to recreate the collection results in the sub-directory I've named (HRindex) being created and nothing else.
    Looking in the SOLR stderr log file I find this error each time I've tried re-creating this collection:
      java.lang.RuntimeException: Can't find resource 'solrconfig.xml' in classpath or 'X:\SOLRcollections\HRindex/conf/', cwd=C:\ColdFusionSolr
    I've found references to this problem elsewhere on the net indicating that this may result from a permissions problem with this directory (HRindex) or with the file solrconfig.xml inside that directory...but a) I've subsequently given full control to all users; b) the file solrconfig.xml is not being created at all. On most attempts, no subdirectories are created below X:\SOLRcollections\HRindex\ .
    Anyone here have any experience with this?
    Also worth noting. Not long after this problem began, I decided to uninstall SOLR and tried reinstalling it. So most of the original versions of solr.xml are gone.
    Here is a copy of the file solr.xml that was under the original install in c:\coldfusion9\solr\multicore
    <?xml version='1.0' encoding='UTF-8'?><solr persistent='true'> <cores adminPath='/admin/cores'>
      <core name='core0' instanceDir='core0/'/>
      <core name='HRindex' instanceDir='X:/SOLRcollections/HRindex/HRindex/'
    dataDir='X:/SOLRcollections/HRindex/HRindex/data/'/>
    </cores>
    </solr>
    When I reinstalled SOLR from the CF9 dvd, I instaled it in a different directory. But there are NO copies of solr.xml file under the new installation.
    Not knowing how SOLR works under the covers, where should this file be found? When does SOLR build it?

    XIntelligence wrote:
    When you create a new Solr Collection files like schema.xml & solrconfig.xml are copied from X:\ColdFusion9\solr\multicore\template\conf
    If for some reason these files are locked / access restricted or corrupt the collection would not work.
    You can manually copy X:\ColdFusion9\solr\multicore\template\conf to X:\SOLRcollections\HRindex/conf/ and restart the CF search service though.
    If that is the case, you first have to manually create the directory conf in X:\SOLRcollections\HRindex\. Then copy the XML files into that directory. However, note the repetition '/HRindex/HRindex/' in your settings in solr.xml. It looks like a mistake.

  • [Error ORABPEL - 10900]... : Can not find definition for element 'process'

    Hi,
    When I try to deploy a bpel process using JDeveloper I'm having the following xml parse error:
    Error(21):
    [Error ORABPEL-10900]: xml parser error
    [Description]: in line 21 of "file:/C:/JDeveloper/jdev/mywork/NERGA/CriarProjectoSA/bpel/CriarProjectoSA.bpel", XML parsing failed because file:/C:/JDeveloper/jdev/mywork/NERGA/CriarProjectoSA/bpel/CriarProjectoSA.bpel<Line 21, Column 63>: XML-24538: (Error) Can not find definition for element 'process'.
    [Potential fix]: Fix the invalid XML.
    I don't understand why... Any idea?

    Ok.
    This is my BPEL code. The sapattern tags are from a program that is generating part of the code. The JDeveloper doesn't show any error, I only get the error when I try to deploy.
    <?xml version = "1.0" encoding = "UTF-8" ?>
    <process name="CriarProjectoSA"
    targetNamespace="http://xmlns.oracle.com/CriarProjectoSA"
    suppressJoinFailure="no"
    xmlns="http://xmlns.oracle.com/CriarProjectoSA"
    xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
    xmlns:ns4="http://xmlns.oracle.com/CriarProjectoSA"
    xmlns:ns7="http://xmlns.oracle.com/bpel/services/IdentityService/xpath"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:ns5="http://schemas.oracle.com/xpath/extension"
    xmlns:ns6="http://xmlns.oracle.com/bpel/workflow/xpath"
    xmlns:ns11="http://www.oracle.com/XSL/Transform/java/oracle.tip.esb.server.headers.ESBHeaderFunctions"
    xmlns:ns9="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.ExtFunc"
    xmlns:ns1="http://xmlns.oracle.com/ValidacaoProjectos"
    xmlns:ns3="http://www.nerga.pt" xmlns:ns2="http://tempuri.org/"
    xmlns:bpelx="http://schemas.oracle.com/bpel/extension"
    xmlns:ns10="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.Xpath20"
    xmlns:ns8="http://schemas.xmlsoap.org/ws/2003/03/business-process/">
    <!--Generated by Telelogic System Architect on 05/01/2007 11:06:18 by easm-->
    <sapattern>
    <guid>41207640-d934-480f-902a-b3764f3d9c9f</guid>
    </sapattern>
    <partnerLinks>
    <partnerLink name="client" partnerLinkType="ns4:CriarProjectoSA"
    myRole="CriarProjectoSAProvider"/>
    <partnerLink name="NergaIS" partnerLinkType="ns2:ServiceSoap_PL"
    myRole="ServiceSoap_Role" partnerRole="ServiceSoap_Role"/>
    <partnerLink name="ValidacaoProjectos"
    partnerLinkType="ns1:ValidacaoProjectos"
    myRole="ValidacaoProjectosRequester"
    partnerRole="ValidacaoProjectosProvider"/>
    <sapattern>
    <!--The System Architect objects used in the pattern. To ensure traceability to System Architect DO NOT REMOVE-->
    <guid>e728e550-f404-47bf-aa13-72429480cbc6</guid>
    <guid>3111d1af-0b31-4d02-b3fc-73d14ce95405</guid>
    <guid>e9cdca59-888a-4e67-af54-a63ce2347ad3</guid>
    </sapattern>
    </partnerLinks>
    <variables>
    <variable name="outputVariable"
    messageType="ns4:CriarProjectoSAResponseMessage"/>
    <variable name="inputVariable"
    messageType="ns4:CriarProjectoSARequestMessage"/>
    <sapattern>
    <!--The System Architect objects used in the pattern. To ensure traceability to System Architect DO NOT REMOVE-->
    <guid>2503e820-3add-4cd1-bbc5-5cc5fff57090</guid>
    <guid>8bcc3532-46b7-4e88-816f-72ecdaee76ab</guid>
    </sapattern>
    <variable name="invocaVP_initiate_InputVariable"
    messageType="ns1:ValidacaoProjectosRequestMessage"/>
    <variable name="recebeVP_onResult_InputVariable"
    messageType="ns1:ValidacaoProjectosResponseMessage"/>
    <variable name="InvocaAdicionarProjecto_InputVariable"
    messageType="ns2:AdicionarProjectoSoapIn"/>
    <variable name="InvocaAdicionarProjecto_OutputVariable"
    messageType="ns2:AdicionarProjectoSoapOut"/>
    </variables>
    <sequence>
    <receive name="recebeTemplate" joinCondition="False" partnerLink="client"
    portType="ns4:CriarProjectoSA" operation="process"
    variable="inputVariable" createInstance="yes">
    <sapattern>
    <!--The System Architect objects used in the pattern. To ensure traceability to System Architect DO NOT REMOVE-->
    <guid>e728e550-f404-47bf-aa13-72429480cbc6</guid>
    <guid>68e62379-55ac-48eb-b681-aee8f5a7696d</guid>
    </sapattern>
    </receive>
    <scope variableAccessSerializable="no" name="ValidarExigências"
    joinCondition="False">
    <faultHandlers>
    <catchAll>
    <assign name="assignInvalid">
    <bpelx:append>
    <bpelx:from expression="concat(ns8:getVariableData('inputVariable','payload','/ns3:Template/ns3:Projecto/ns3:Observacoes'), string('Projecto inválido!!'))"/>
    <bpelx:to variable="inputVariable" part="payload"
    query="/ns3:Template/ns3:Projecto/ns3:Observacoes"/>
    </bpelx:append>
    </assign>
    </catchAll>
    </faultHandlers>
    <sapattern>
    <!--The System Architect objects used in the pattern. To ensure traceability to System Architect DO NOT REMOVE-->
    <guid>2e56af66-6622-43e0-9adc-6d5f109cf374</guid>
    </sapattern>
    <sequence name="ValidarExigências" joinCondition="False">
    <assign name="assignVPIn">
    <copy>
    <from variable="inputVariable" part="payload"/>
    <to variable="invocaVP_initiate_InputVariable" part="payload"/>
    </copy>
    </assign>
    <sapattern>
    <!--The System Architect objects used in the pattern. To ensure traceability to System Architect DO NOT REMOVE-->
    <guid>2e56af66-6622-43e0-9adc-6d5f109cf374</guid>
    </sapattern>
    <invoke name="invocaVP" joinCondition="False"
    partnerLink="ValidacaoProjectos" portType="ns1:ValidacaoProjectos"
    operation="initiate"
    inputVariable="invocaVP_initiate_InputVariable">
    <sapattern>
    <!--The System Architect objects used in the pattern. To ensure traceability to System Architect DO NOT REMOVE-->
    <guid>f3bc9c04-f4d2-4e96-acc8-7a6c88a8ced5</guid>
    </sapattern>
    </invoke>
    <receive name="recebeVP" joinCondition="False"
    partnerLink="ValidacaoProjectos"
    portType="ns1:ValidacaoProjectosCallback" operation="onResult"
    createInstance="no" variable="recebeVP_onResult_InputVariable">
    <sapattern>
    <!--The System Architect objects used in the pattern. To ensure traceability to System Architect DO NOT REMOVE-->
    <guid>e9cdca59-888a-4e67-af54-a63ce2347ad3</guid>
    <guid>1eba96a8-330a-4e4d-a14b-cdf6641fa614</guid>
    </sapattern>
    </receive>
    <assign name="assignVPOut">
    <copy>
    <from variable="recebeVP_onResult_InputVariable" part="payload"/>
    <to variable="inputVariable" part="payload"/>
    </copy>
    </assign>
    </sequence>
    </scope>
    <scope variableAccessSerializable="no" name="AdicionarProjecto"
    joinCondition="False">
    <sapattern>
    <!--The System Architect objects used in the pattern. To ensure traceability to System Architect DO NOT REMOVE-->
    <guid>89c02eae-7788-4892-a616-e46b65ef1b50</guid>
    </sapattern>
    <sequence name="InvocarISAdicionarProjecto" joinCondition="False">
    <assign name="assignIS">
    <copy>
    <from variable="inputVariable" part="payload"
    query="/ns3:Template/ns3:Projecto/ns3:NomeProjecto"/>
    <to variable="InvocaAdicionarProjecto_InputVariable" part="parameters"
    query="/ns2:AdicionarProjecto/ns2:nome"/>
    </copy>
    <copy>
    <from variable="inputVariable" part="payload"
    query="/ns3:Template/ns3:Projecto/ns3:TipoProjecto"/>
    <to variable="InvocaAdicionarProjecto_InputVariable" part="parameters"
    query="/ns2:AdicionarProjecto/ns2:tipo"/>
    </copy>
    </assign>
    <sapattern>
    <!--The System Architect objects used in the pattern. To ensure traceability to System Architect DO NOT REMOVE-->
    <guid>89c02eae-7788-4892-a616-e46b65ef1b50</guid>
    </sapattern>
    <invoke name="InvocaAdicionarProjecto" joinCondition="False"
    partnerLink="NergaIS" portType="ns2:ServiceSoap"
    operation="AdicionarProjecto"
    inputVariable="InvocaAdicionarProjecto_InputVariable"
    outputVariable="InvocaAdicionarProjecto_OutputVariable">
    <sapattern>
    <!--The System Architect objects used in the pattern. To ensure traceability to System Architect DO NOT REMOVE-->
    <guid>76519bd3-c506-4c79-8190-8ff09abdd27d</guid>
    </sapattern>
    </invoke>
    </sequence>
    </scope>
    <assign name="assignOutput">
    <copy>
    <from variable="inputVariable" part="payload"
    query="/ns3:Template/ns3:Projecto"/>
    <to variable="outputVariable" part="payload"/>
    </copy>
    </assign>
    <reply name="devolveProjecto" joinCondition="False" partnerLink="client"
    portType="ns4:CriarProjectoSA" operation="process"
    variable="outputVariable">
    <sapattern>
    <!--The System Architect objects used in the pattern. To ensure traceability to System Architect DO NOT REMOVE-->
    <guid>e728e550-f404-47bf-aa13-72429480cbc6</guid>
    <guid>0dbefef0-3d04-4356-abbc-b291ea40d256</guid>
    </sapattern>
    </reply>
    </sequence>
    </process>

  • .v2.XMLParseException:Can not find definition for element 'descriptor'

    I am getting the following error, while running 'empps.jsp' ...when executing the tutorial given at
    ERROR Details:
    500 Internal Server Error
    javax.servlet.jsp.JspException: javax.faces.el.EvaluationException: Error getting property 'employees' from bean of type jsftoplink.model.EmployeesClient: Exception [TOPLINK-25004] (Oracle TopLink - 10g Release 3 (10.1.3.1.0) (Build 061004)): oracle.toplink.exceptions.XMLMarshalExceptionException Description: An error occurred unmarshalling the documentInternal Exception: Exception [TOPLINK-27101] (Oracle TopLink - 10g Release 3 (10.1.3.1.0) (Build 061004)): oracle.toplink.platform.xml.XMLPlatformExceptionException Description: An error occurred while parsing the document.Internal Exception: oracle.xml.parser.v2.XMLParseException: Can not find definition for element 'class-descriptor-type'     at com.sun.faces.taglib.html_basic.DataTableTag.doEndTag(DataTableTag.java:501)     at emps.jspService(_emps.java:629)
    Pls help me in resolving this issue.

    I am still gettng the same error. The xml file is now
    <?xml version="1.0" encoding="UTF-8"?>
    <CUSTOMER xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="" ID="568945">
    <FIRSTNAME>Arnold</FIRSTNAME>
    <LASTNAME>McEriccson</LASTNAME>
    <ADDRESS>
    <LINE1>31, Nomadic Avevnue</LINE1>
    <LINE2>Pasadena Clove</LINE2>
    <CITY>WoolTown, MT</CITY>
    <ZIP>45263</ZIP>
    </ADDRESS>
    <BIRTHDATE>1967-08-13</BIRTHDATE>
    </CUSTOMER>
    The xsd file is:
    <?xml version="1.0" encoding="UTF-8"?><xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">
    <xs:element name="CUSTOMER">
    <xs:complexType>
    <xs:sequence>
    <xs:element name="FIRSTNAME" type="xs:string"/> <xs:element name="LASTNAME" type="xs:string"/> <xs:element name="ADDRESS"> <xs:complexType>
    <xs:sequence>
    <xs:element name="LINE1" type="xs:string"/> <xs:element name="LINE2" type="xs:string"/> <xs:element name="CITY"/>
    <xs:element name="ZIP" type="xs:int"/> </xs:sequence>
    </xs:complexType>
    </xs:element>
    <xs:element name="BIRTHDATE" type="xs:date"/> </xs:sequence>
    <xs:attribute name="ID" type="xs:double"/> </xs:complexType>
    </xs:element>
    </xs:schema>
    There seems to be something fairly obvious that i am missing.

Maybe you are looking for