Error while internationalizing WD Java application

Hi
I am implementing multi-lingual functionality (Internationalization) in one of my WD Java application.
I am using .xlf files to achieve my objective.
All texts are stored in Message Pool of the component.
Approach is working fine with all language dependent text but not for global variables.
My code is as below:
  //@@begin others
  //provides access to translatable texts from Message Pool
  IWDTextAccessor textAccessor;
  textAccessor = wdComponentAPI.getTextAccessor();
  String text_SelectMessage = textAccessor.getText("Select_Message");
  String SELECT_MESSAGE = text_SelectMessage;
  //@@end
Select_Message is message key for the message "Please select from the below options."
Can anyone help in resolving this?
How to implement internationalization functionality for the global variables?
Regards
Vineet Vikram

Dear Armin
Thanks for your reply.
You are 100% right. I am getting a null pointer exception.
Strings are written as global variable as they are being called from 10 other methods. This strings are displayed as part of error messages.
Can you suggest a workaround for it?
One way could be to write a new method and call this new method everywhere.
Is there any other simpler method of doing this?
Regards
Vineet Vikram

Similar Messages

  • Getting error while running standalone Java application related to Workflow

    Hi,
    I am using the following code
    import oracle.bpel.services.workflow.client.IWorkflowServiceClient;
    import oracle.bpel.services.workflow.task.model.Task;
    import oracle.bpel.services.workflow.client.WorkflowServiceClientFactory;
    import oracle.bpel.services.workflow.verification.IWorkflowContext;
    import java.util.List;
    public class CompleteUserTask {
         public static void main(String[] args) throws Exception{
         System.out.println("Classpath: "+System.getProperty("java.class.path","."));
         String userId = "jcooper";
         String password = "welcome1";
         String taskId = "";
         IWorkflowServiceClient wfSvcClient = WorkflowServiceClientFactory.getWorkflowServiceClient(WorkflowServiceClientFactory.JAVA_CLIENT);
         IWorkflowContext wfCtx = wfSvcClient.getTaskQueryService().authenticate(userId,password,oracle.tip.pc.services.identity.config.ISConfiguration.getDefaultRealmName(),null);
         Task task = wfSvcClient.getTaskQueryService().getTaskDetailsById(wfCtx,taskId);
         List assigneeUsers = task.getSystemAttributes().getAssigneeUsers();
         List assigneeGroups = task.getSystemAttributes().getAssigneeGroups();
    if ((assigneeUsers != null && assigneeUsers.size() > 1)
    || (assigneeGroups != null && assigneeGroups.size() > 0))
         task = wfSvcClient.getTaskService().acquireTask(wfCtx, taskId);
         task = wfSvcClient.getTaskService().updateTaskOutcome(wfCtx, task, "Approve");
    I have added wf_client_config.xml, wf_config.xml,is_config.xml to the classpath. While executing this java code, i am getting the following error
    <XMLAuthenticationService::authenticateUser> XMLAuthenticationService:: call authenticate
    <PCException::<init>> User is not found.
    <PCException::<init>> User "jcooper" is not found in realm "jazn.com"
    <PCException::<init>> Check the error stack and fix the cause of the error. Contact oracle support if error is not fixable.
    <PCException::<init>> ORABPEL-10509
    <PCException::<init>>
    <PCException::<init>> User is not found.
    <PCException::<init>> User "jcooper" is not found in realm "jazn.com"
    <PCException::<init>> Check the error stack and fix the cause of the error. Contact oracle support if error is not fixable.
    Kindly help me out.
    Thanks,
    Gomathi

    Hi,
    I am not using OID. I am using only JAZN. I copied is_config.xml and wf_config.xml to classes folder where i am running standalone application and also i referred this to the classpath. Kindly do the needful.. I am struggling with this issue for past 3 days.
    Another thing is if i am giving the user name as "jcooper" it is throwing the error. If i give "oc4jadmin", then the issue resolved.
    kindly tell me what should i do inorder to login as jcooper instead of oc4jadmin
    Thanks,
    Gomathi
    Edited by: user647559 on Sep 15, 2008 4:37 AM

  • Error while deploying a composite application

    Hi
    I have an error while deploying my composite application.
    It says
    java.lang.NoClassDefFoundError: com/sap/caf/ui/utils/cool/CoolConnectionProperties
    The versions of my NWDS and WAS are 7.0.Please help.
    Thanks,
    ms.

    Hi
    I have added references to libraries with hard reference type.I also added the dc
    tc/conn/connectorframework.
    I still have errors
    => deployment aborted : file:/C:/DOCUME1/pr46715/Local Settings/Temp/temp28823sap.comcarpool~permissions.sda
    Aborted: development component 'carpool/permissions'/'sap.com'/'local'/'20070702161445':
    Caught exception during access of archive "E:\usr\sap\NWS\DVEBMGS01\SDM\root\origin\sap.com\carpool\permissions\local\20070702161445\temp28823sap.comcarpoolpermissions.sda":
    java.lang.RuntimeException: ERROR: Cannot initialize EARReader: Error while initializing Extended Ear Reader using file: E:\usr\sap\NWS\DVEBMGS01\SDM\root\origin\sap.com\carpool\permissions\local\20070702161445\temp28823sap.comcarpoolpermissions.sda. Reason: Exception occurred while reading ear descriptor xml. Reason: Fatal Error: com.sap.engine.lib.xml.parser.ParserException: </ expected(META-INF/application-j2ee-engine.xml, row:10, col:25)Exception is:
    => deployment aborted : file:/C:/DOCUME1/pr46715/Local Settings/Temp/temp28822sap.comcarpool.ear
    Aborted: development component 'carpool'/'sap.com'/'local'/'20070702165134':
    Caught exception during application deployment from SAP J2EE Engine's deploy service:
    java.rmi.RemoteException: Cannot deploy application sap.com/carpool.. Reason: Exception during generation of components of application sap.com/carpool in container EJBContainer.; nested exception is:      com.sap.engine.services.deploy.exceptions.ServerDeploymentException: Exception during generation of components of application sap.com/carpool in container EJBContainer.
    (message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.performAction(DeploymentActionTypes).REMEXC)
    Regards
    ms.

  • Error while testing Service enabled Application module-ADF11g

    Hi All,
    I am facing an error while testing Service enabled Application module.I have followed the documentation avaialble in this link
    http://download.oracle.com/docs/cd/E14571_01/web.1111/b31974/bcextservices.htm#CJABABJE.
    All the supporting jar files are included in the calling application, but still I am getting class not found exception.
    Error is as follows…
    JBO-29000: Unexpected exception caught: java.lang.RuntimeException, msg=java.lang.RuntimeException: java.lang.ClassNotFoundException: demo.model.common.serviceinterface.AppModuleService: java.lang.RuntimeException: java.lang.ClassNotFoundException: demo.model.common.serviceinterface.AppModuleService
    Jdev version is 11.1.1.2.0 and
    Build JDEVADF_11.1.1.2.0_GENERIC_091029.2229.5536
    Any pointers for the same is highly appreciated.
    Thanks,
    Anusha

    Hi Willian,
    Did you set up your "Model" Project to use the JDK 1.4 and rebuild the application ?
    See " [Deploying to Application Servers That Support JDK 1.4|http://tinyurl.com/lfc6kc] "
    Regards,
    Didier.

  • Getting error while deploying the Enterprise application

    iam getting the Error while i deploying enterprise application which contain the EJB  methods.
    that Error iam getting like follow.
    java.rmi.RemoteException: Cannot deploy application sap.com/Energy_eap.. Reason: Incorrect application sap.com/Energy_eap:Error in the remote interface com.bean.Stateless_bean of bean Stateless_beanBean: No corresponding business method in the bean class com.bean.Stateless_beanBean was found for method Insert.nested exception is:      com.sap.engine.services.deploy.container.DeploymentException: <--Localization failed: ResourceBundle='com.sap.engine.services.deploy.DeployResourceBundle', ID='com.sap.engine.services.ejb.exceptions.deployment.EJBDeploymentException: Incorrect application sap.com/Energy_eap:Error in the remote interface com.bean.Stateless_bean of bean Stateless_beanBean: No corresponding business method in the bean class com.bean.Stateless_beanBean was found for method Insert.Error in the remote interface com.bean.Stateless_bean of bean Stateless_beanBean: No corresponding business method in the bean class com.bean.Stateless_beanBean was found for method view.
         at com.sap.engine.services.ejb.deploy.verifier.Verifier.check(Verifier.java:66)

    Hello,
    based on the exception message there is a missing method in your ejb (insert)
    take a look at the signature of the method and the visibilty (public) - and look for typos
    regards franz
    ...close thread if question is answered

  • Getting an error while deploying the Quiz application in NWDEV

    Hi,
    I am getting an error while deploying the Quiz application in NWDEV.
    Please check this error log.
    It looks that it is not getting the Question.properties file but the file is already specified
    in the desired location.
    Error log:
    Detailed Error Information
    Detailed Exception Chain
    java.util.MissingResourceException: Can't find bundle for base name com.sap.tc.webdynpro.tutorials.quiz.resources.Questions, locale en_US
         at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:839)
         at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:808)
         at java.util.ResourceBundle.getBundle(ResourceBundle.java:702)
         at com.sap.tc.webdynpro.serverimpl.core.localization.AbstractResourceHandler.initResourceBundle(AbstractResourceHandler.java:485)
         at com.sap.tc.webdynpro.serverimpl.core.localization.AbstractResourceHandler.loadResourceBundle(AbstractResourceHandler.java:162)
         at com.sap.tc.webdynpro.tutorials.quiz.QuizComp.wdDoInit(QuizComp.java:108)
         at com.sap.tc.webdynpro.tutorials.quiz.wdp.InternalQuizComp.wdDoInit(InternalQuizComp.java:122)
         at com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent.doInit(DelegatingComponent.java:108)
         at com.sap.tc.webdynpro.progmodel.controller.Controller.initController(Controller.java:215)
         at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:200)
         at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.init(ClientComponent.java:429)
         at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.init(ClientApplication.java:362)
         at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.initApplication(ApplicationSession.java:700)
         at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:269)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:711)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:665)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:232)
         at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:152)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doGet(DispatcherServlet.java:46)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    Regards
    Kaushik Banerjee

    Hi,
    I think it is talking the default browser language as US and seraching for the properties file of that language.
    I think the sol for this prob is change the
    Question.properties -
    >Question_en.properties
    Thanks & Regards,
    Lokesh

  • Error while installing Oracle Utilities Application Framework..

    Hi all,
    I am getting this error while installing Oracle Utilities Application Framework.
    101124:094356 <info> Execute: C:\Program Files (x86)\Java\jdk1.5.0_11\bin\java -cp C:\TEMP\Release-FW-V2.2.0_rmb\spl\versions\Releases\FW\Release-FW-V2.2.0_rmb\FW.V2.2.0\data\bin JarVersionValidator C:\Hibernate_3.2.7_Win_O\hibernate-3.2.7.ga\hibernate-3.2\hibernate3.jar Hibernate-Version 3.2.5.ga
    101124:094357 <info> Hibernate jar file C:\Hibernate_3.2.7_Win_O\hibernate-3.2.7.ga\hibernate-3.2\hibernate3.jar does not exists or version not correct.
    101124:094357 <info> See Supported Platform Document for more details
    the Jar file available in the directory specified and version is also correct.
    I am new to this, will anyone help me out.
    Need your help.
    Regards,
    Siva

    It would help if you provided osme basic information like what version you are installing, what operating system, 32 bit or 64 bit. We may like to help but we are not mind readers.
    If you happen to be installing one of the latest versions of the framework (CC&B FW 2.2 SP 8) there is an issue.
    You may have to start off with hibernate 3.2.5 then run the framework installation.
    This may not do a full install but you may find that only 1 or patches have not been installed and the issue is that these require hibernate 3.2.7
    So go back and install the hibernate 3.2.7 and change the environment variables to point to the new version.
    Re-run the framework installer.
    You may get errors in that the patches that did not previously install properly cannot be installed.
    This is because they have entries in the etc/installed_fixes.txt file.
    edit the etc/installed_fixes.txt file and delete the patches that will not install.
    re-run the installer now and the rest of the patches should now install
    The 2 offending patches may be 9384543 and 9080333.

  • Error while compiling VO  java files

    I am getting following error while compiling VO java class in my instance
    Exception in thread "main" java.lang.ClassFormatError: com.sun.tools.javac.main.Main (erroneous method access flags)
    at JvClassReader.throw_class_format_error(byte) (/usr/lib/libgcj.so.5.0.0)
    at JvClassReader.handleMethod(int, int, int, int) (/usr/lib/libgcj.so.5.0.0)
    at JvClassReader.read_methods() (/usr/lib/libgcj.so.5.0.0)
    at JvClassReader.parse() (/usr/lib/libgcj.so.5.0.0)
    at JvDefineClass(java.lang.Class, byte[], int, int) (/usr/lib/libgcj.so.5.0.0)
    at java.lang.VMClassLoader.defineClass(java.lang.ClassLoader, java.lang.String, byte[], int, int, java.security.ProtectionDomain) (/usr/lib/libgcj.so.5.0.0)
    at java.lang.ClassLoader.defineClass(java.lang.String, byte[], int, int, java.security.ProtectionDomain) (/usr/lib/libgcj.so.5.0.0)
    at java.security.SecureClassLoader.defineClass(java.lang.String, byte[], int, int, java.security.CodeSource) (/usr/lib/libgcj.so.5.0.0)
    at java.net.URLClassLoader.findClass(java.lang.String) (/usr/lib/libgcj.so.5.0.0)
    at gnu.gcj.runtime.VMClassLoader.findClass(java.lang.String) (/usr/lib/libgcj.so.5.0.0)
    at java.lang.ClassLoader.loadClass(java.lang.String, boolean) (/usr/lib/libgcj.so.5.0.0)
    at JvFindClass(_Jv_Utf8Const, java.lang.ClassLoader) (/usr/lib/libgcj.so.5.0.0)
    at java.lang.Class.forName(java.lang.String, boolean, java.lang.ClassLoader) (/usr/lib/libgcj.so.5.0.0)
    at JvBytecodeVerifier.verify_instructions_0() (/usr/lib/libgcj.so.5.0.0)
    at JvVerifyMethod(_Jv_InterpMethod) (/usr/lib/libgcj.so.5.0.0)
    at JvPrepareClass(java.lang.Class) (/usr/lib/libgcj.so.5.0.0)
    at JvWaitForState(java.lang.Class, int) (/usr/lib/libgcj.so.5.0.0)
    at java.lang.VMClassLoader.linkClass0(java.lang.Class) (/usr/lib/libgcj.so.5.0.0)
    at java.lang.VMClassLoader.resolveClass(java.lang.Class) (/usr/lib/libgcj.so.5.0.0)
    at java.lang.Class.initializeClass() (/usr/lib/libgcj.so.5.0.0)
    at java.lang.Class.forName(java.lang.String, boolean, java.lang.ClassLoader) (/usr/lib/libgcj.so.5.0.0)
    at java.lang.Class.forName(java.lang.String) (/usr/lib/libgcj.so.5.0.0)
    at gnu.gcj.runtime.FirstThread.run() (/usr/lib/libgcj.so.5.0.0)
    at JvThreadRun(java.lang.Thread) (/usr/lib/libgcj.so.5.0.0)
    at JvRunMain(java.lang.Class, byte const, int, byte const, boolean) (/usr/lib/libgcj.so.5.0.0)
    at __libc_start_main (/lib/tls/libc-2.3.4.so)
    Please advise me to get rid of this one.
    -- Manoj
    Edited by: 856261 on May 4, 2011 12:55 AM

    I created custom VO and files in my local JDev and it is working properly.
    I wanna migrate it to actual instance.So my question is is it mandatory to compile custom java file in application server or i can use same which i used in my local machine(windows)?
    -- Manoj

  • Error while parsing uri /portalAppTools/application

    I am in the process of setting up WLP7.0 SP1 to run with Oracle (changed from
    Pointbase).
    When I try to access either my newly deployed portal or the admin application,
    I am getting the following error:
    Is this because I havent run the loadads and loaddocs scripts? (I have a seperate
    problem running them)
    Regards,
    Nick
    <16-Jan-03 23:58:45 GMT> <Info> <Data Synchronization> <000000> <Application:
    portalApp; Data sync complete (OK) [DR: Master Data Repository]> <16-Jan-03 23:58:45
    GMT> <Warning> <Webflow> <401201> <Webflow could not resolve a destination given:
    appname [tools], namespace [admin_main], origin [begin], event [defaultEvent]
    with request id [7604357]; Attempting to load Configuration-error-page.> <16-Jan-03
    23:58:45 GMT> <Error> <Webflow> <401200> <Error while parsing uri /portalAppTools/application,
    path null, query string namespace=admin_main
    - Webflow XML does not exist, is not loaded properly, or you do not have a configuration-error-page
    defined.
    Exception[com.bea.p13n.appflow.exception.ConfigurationException: The configuration-error-page
    node was not found in the webflow xml file. for webapp [tools], namespace [admin_main].
    While trying to display CONFIGURATION ERROR: [Exception[com.bea.p13n.appflow.exception.ConfigurationException:
    Bad Nam espace - namespace [admin_main] is not available for webflow execution.
    Make sure the [admin_main.wf] file is deployed in webapp [tools].]],] at com.bea.p13n.appflow.webflow.internal.WebflowExecutorImpl.processConfigurationError(WebflowExecutorImpl.java:859)
    at com.bea.p13n.appflow.webflow.internal.WebflowExecutorImpl.processWebflowRequest(WebflowExecutorImpl.java:556)
    at com.bea.p13n.appflow.webflow.internal.WebflowExecutorImpl.processWebflowRequest(WebflowExecutorImpl.java:491)
    at com.bea.p13n.appflow.webflow.servlets.internal.WebflowServlet.doGet(WebflowServlet.java:148)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1058)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:401)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:306)
    at weblogic.servlet.internal.RequestDispatcherImpl$ForwardAction.run(RequestDispatcherImpl.java:341)
    at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:744)
    at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:251)
    at weblogic.servlet.jsp.PageContextImpl.forward(PageContextImpl.java:116)
    at jsp_servlet.__index._jspService(index.jsp:2)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
    at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1058)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:401)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:445)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:306)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:5412)
    at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:744)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3086)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2544)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:153)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:134)
    >

    I am in the process of setting up WLP7.0 SP1 to run with Oracle (changed from
    Pointbase).
    When I try to access either my newly deployed portal or the admin application,
    I am getting the following error:
    Is this because I havent run the loadads and loaddocs scripts? (I have a seperate
    problem running them)
    Regards,
    Nick
    <16-Jan-03 23:58:45 GMT> <Info> <Data Synchronization> <000000> <Application:
    portalApp; Data sync complete (OK) [DR: Master Data Repository]> <16-Jan-03 23:58:45
    GMT> <Warning> <Webflow> <401201> <Webflow could not resolve a destination given:
    appname [tools], namespace [admin_main], origin [begin], event [defaultEvent]
    with request id [7604357]; Attempting to load Configuration-error-page.> <16-Jan-03
    23:58:45 GMT> <Error> <Webflow> <401200> <Error while parsing uri /portalAppTools/application,
    path null, query string namespace=admin_main
    - Webflow XML does not exist, is not loaded properly, or you do not have a configuration-error-page
    defined.
    Exception[com.bea.p13n.appflow.exception.ConfigurationException: The configuration-error-page
    node was not found in the webflow xml file. for webapp [tools], namespace [admin_main].
    While trying to display CONFIGURATION ERROR: [Exception[com.bea.p13n.appflow.exception.ConfigurationException:
    Bad Nam espace - namespace [admin_main] is not available for webflow execution.
    Make sure the [admin_main.wf] file is deployed in webapp [tools].]],] at com.bea.p13n.appflow.webflow.internal.WebflowExecutorImpl.processConfigurationError(WebflowExecutorImpl.java:859)
    at com.bea.p13n.appflow.webflow.internal.WebflowExecutorImpl.processWebflowRequest(WebflowExecutorImpl.java:556)
    at com.bea.p13n.appflow.webflow.internal.WebflowExecutorImpl.processWebflowRequest(WebflowExecutorImpl.java:491)
    at com.bea.p13n.appflow.webflow.servlets.internal.WebflowServlet.doGet(WebflowServlet.java:148)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1058)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:401)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:306)
    at weblogic.servlet.internal.RequestDispatcherImpl$ForwardAction.run(RequestDispatcherImpl.java:341)
    at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:744)
    at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:251)
    at weblogic.servlet.jsp.PageContextImpl.forward(PageContextImpl.java:116)
    at jsp_servlet.__index._jspService(index.jsp:2)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
    at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1058)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:401)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:445)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:306)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:5412)
    at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:744)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3086)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2544)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:153)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:134)
    >

  • Error while running a Java Program

    Can anyone help me,
    I am getting the following error while running a Java program, Below is the exception thrown, please help.
    java.nio.BufferOverflowException
    at java.nio.Buffer.nextPutIndex(Buffer.java:425)
    at java.nio.DirectByteBuffer.putChar(DirectByteBuffer.java:463)
    at org.jetel.data.StringDataField.serialize(StringDataField.java:295)
    at org.jetel.data.DataRecord.serialize(DataRecord.java:283)
    at org.jetel.graph.DirectEdge.writeRecord(DirectEdge.java:216)
    at org.jetel.graph.Edge.writeRecord(Edge.java:288)
    at com.tcs.re.component.RESummer1.run(RESummer1.java:505)
    java.nio.BufferOverflowException
    at java.nio.Buffer.nextPutIndex(Buffer.java:425)
    at java.nio.DirectByteBuffer.putChar(DirectByteBuffer.java:463)
    at org.jetel.data.StringDataField.serialize(StringDataField.java:295)
    at org.jetel.data.DataRecord.serialize(DataRecord.java:283)
    at org.jetel.graph.DirectEdge.writeRecord(DirectEdge.java:216)
    at org.jetel.graph.Edge.writeRecord(Edge.java:288)
    at com.tcs.re.component.RECollectCont.run(RECollectCont.java:304)

    Ok, let's see. Write the following class:
    public class Grunt {
      public static void main(String[] args) {
        System.out.println("Hello Mars");
    }Save it as "C:\Grunt.java", compile by typing:
    javac c:\Grunt.javaRun by typing:
    java -classpath "C:\" GruntDoes it say "Hello Mars"? If yes, go back to your program and compare for differences (maybe you used the "package" statement?).
    Regards

  • "Error while registering the Java 2 Runtime Environment registry keys"

    "Error while registering the Java 2 Runtime Environment registry keys"
    I am getting the above error when trying to install the 1.3 JRE (installed with the 1.3 plug in which I need). As part of my development I have been installing and uninstalling the JRE multiple times. Then, I got the above error when trying to install it, and now it appears to be installed but I cannot uninstall it. When I try to uninstall it, it just remains, and when I try to install it again I get the above error. I have tried cleaning up all javasoft registry entries, but it doesnt seem to have helped. Can anyone help me either completely uninstall the JRE so I can do a clean install or help me get rid of the error above when I install. Is there some registry entries I should be looking at? Anything else? this is quite urgent as I need to test my applet with the plugin installed and not installed - and I currently cant uninstall it. Any ideas?
    Thanks for your help
    Aaron

    I am getting this same error message when trying to upgrade from 1.3.1_03 to 1.3.1_19.
    I have multiple versions of jre's and jdks on my machine.
    Anyone else seen this problem or know how to resolve it.

  • Flex error while deploying a VC application

    Hi Experts,
    Though I have rarely worked on VC developments, I have to troubleshoot an issue wherein we are getting following error while deploying a VC Application.
    Error: Error in compiling flex application. Consult log file for details.
    I have got a log file and it has written out 100s of lines of log, however, following is the important part from the log file:
    #00145E9635CE0060000016940015E0C60004A07BE7C55172#1302353936732#/System/Server/VCServer
    #sap.com/VisualComposerServerEar04
    #com.sap.portal.vc.server#ganeshb#35216##n/a##b1528d4062a811e0aedc00145e9635ce
    #SAPEngine_Application_Thread[impl:3]_12##0#0#Debug#1#/System/Server/VCServer#Plain###
    Server Error:Failed to import model - attribute is missing in imported file bytes are <?xml version="1.0" encoding="UTF-8"?>
    Any help on how to resolve this?
    Thanks in advance,
    Ameya
    Edited by: Ameya Pimpalgaonkar on Nov 16, 2011 7:31 AM

    Hi Ameya,
         If its VC 7.0 then you must be using Flash Compiler.Try changing the compiler to Flash at this path
    Tools->Options->Compiler->Change 'Runtime filed to Flash'.I hope this should solve your problem.
    Naga

  • Error: while generating SQL.java.rmi.ServerException:

    Hi:
    I tried the JGuru's "MusicStore" example. HOwever at Task 6 and 7 I am getting the following error:
    Error: while generating SQL.java.rmi.ServerException:
    RemoteException occured in server thread; nested exception is:
    * java.rmi.RemoteException: Error connecting to database;
    nested exception is:
    * SQL Exception: Failed to start database 'MusicStoreDB', see
    the next exception for details.
    Please make sure the database name/user/password is valid
    and the J2ee server and database are running.
    However when i check my database it is running perfectly:
    E:\>%j2ee_home%\bin\cloudscape -start
    Sun Feb 16 12:48:11 PST 2003: [RmiJdbc] Starting Cloudscape RmiJdbc Server Version
    Sun Feb 16 12:48:14 PST 2003: [RmiJdbc] COM.cloudscape.core.JDBCDriver registered i
    Sun Feb 16 12:48:14 PST 2003: [RmiJdbc] Binding RmiJdbcServer...
    Sun Feb 16 12:48:14 PST 2003: [RmiJdbc] No installation of RMI Security Manager...
    Sun Feb 16 12:48:14 PST 2003: [RmiJdbc] RmiJdbcServer bound in rmi registry
    Server:
    J2EE server listen port: 1050
    Naming service started:1050
    Binding DataSource, name = jdbc/DB2, url = jdbc:cloudscape:rmi:CloudscapeDB;crea
    te=true
    Binding DataSource, name = jdbc/Cloudscape, url = jdbc:cloudscape:rmi:Cloudscape
    DB;create=true
    Binding DataSource, name = jdbc/InventoryDB, url = jdbc:cloudscape:rmi:Cloudscap
    eDB;create=true
    Binding DataSource, name = jdbc/DB1, url = jdbc:cloudscape:rmi:CloudscapeDB;crea
    te=true
    Binding DataSource, name = jdbc/MusicStore, url = jdbc:cloudscape:rmi:MusicStore
    DB;create=false
    Binding DataSource, name = jdbc/XACloudscape, url = jdbc/XACloudscape__xa
    Binding DataSource, name = jdbc/XACloudscape__xa, dataSource = COM.cloudscape.co
    re.RemoteXaDataSource@1d88db7
    Starting JMS service...
    Initialization complete - waiting for client requests
    Binding: < JMS Destination : jms/Topic , javax.jms.Topic >
    Binding: < JMS Destination : jms/Queue , javax.jms.Queue >
    Binding: < JMS Cnx Factory : TopicConnectionFactory , Topic , No properties >
    Binding: < JMS Cnx Factory : QueueConnectionFactory , Queue , No properties >
    Binding: < JMS Cnx Factory : jms/QueueConnectionFactory , Queue , No properties
    >
    Binding: < JMS Cnx Factory : jms/TopicConnectionFactory , Topic , No properties
    >
    Starting web service at port: 8000
    Starting secure web service at port: 7000
    J2EE SDK/1.3.1
    Starting web service at port: 9191
    J2EE SDK/1.3.1
    J2EE server startup complete.
    Can anyone suggest me a way out..plz

    what type of persistent u r using also post ur query if bmp and check with another example with cmp.

  • Error while connecting for Java to SAP

    Hi All,
    I am encountering the following error while connecting from Java to SAP through JCO:
    RFC_ERROR_LOGON_FAILURE: You are not authorized to logon to the target system
    I have checked the connection string and everything appears to be fine.
    Please let me know what the problem is.
    Regards,
    Rupesh.

    Hi rupesh,
    See this thread:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f3f93ee7-0c01-0010-2593-d7c28b5377c2
    Regards, Suresh KB

  • Runtime Error While executing the WebDynpro Application

    I am getting the Runtime Error While executing the WebDynpro Application. The error message is "TSV_TNEW_OCCURS_NO_ROLL_MEMORY".
    It says like "
    Short text
        No roll storage space of length 9728 available for OCCURS area.
    What happened?
        Each transaction requires some main memory space to process
        application data. If the operating system cannot provide any more
        space, the transaction is terminated.
    But while executing some other Web Dynpro Applications, i am not facing this problem.

    Generally this error is a result of an infinite loop on internal table or select endselect statement where by severs  temporary memory gets full. With no memory to insert new records in temporary memory system generates the dump.
    Check your application or ask basis consultant to look at the memory parameters in instance profile.
    Regards
    Rohit Chowdhary

Maybe you are looking for

  • Calling a method on click of a hyperlink which opens popup

    Hi, I am new to the technology. I have a hyperlink on .jspx page. Upon clicking it a pop up should open. I need to pass an object to a methd in the bean which will pre populate data in the pop up as soon as it opens. i.e. want to populate the data in

  • Error message during upgrade 8.0.6 - 9.2.0.1

    Hi, during the database upgrade, with the Oracle's assistant, at the end of stage 1, an strange error appears. The text of this message is simply : "6500000,L" ! What do that mean ? Thanx, Fabrice

  • Platform version5.0.1 is not compatible with miniversion =6.0.2 in English

    Have just trried to do the recent Firefox upgrade from ver 5 to ver 6.0.2 under XP service pack 3 with all updates and received the following error platform version5.0.1 is not compatible with miniversion >=6.0.2 in English I cannot now get firefox!

  • Computer not recognizing iPod

    Now that I have the latest 6.0 version of iTunes my computer will no longer recognize or acknowledge that my iPod is plugged in. I have a 30Gb click wheel. does anyone have any suggestions?

  • IBook G3 external displays

    Looking to add on a external large screen display adjacent to my desktop/laptop iBookG3 which has one video out port. What requirements should I consider when purchasing one? Size wise I would consider 17" optimum. Connection requirements? Models to