Error while accessing bean created from servlet
Hi there
I have a jsp page form home.jsp where i am collecting user name and password and then directing to a LoginServlet.Here if the user is validated then i create a accMasterBean and store it in Session object which i create here and then redirect to profile.jsp
In the profile.jsp page i am using bean as follows:--
<jsp:useBean id="accMasterBean" scope="session" class="AccountMaster">
<jsp:setProperty name="accMasterBean" property="*"/>
</jsp:useBean>
i am fetching the properties of this bean in profile.jsp itself and try to display as shown below:---
<%=accMasterBean.getAccountNumber() %>
where accountNumber is a property defined inside AccountMaster class
but it gives an error as follows :---
<input type="text" name="emailAddress" value="Exception generated ---javax.servlet.ServletException: Exception thrown on line '205' from page 'D:\\Program Files\\Allaire\\JRun\\servers\\default\\emtech2\\jsp\\members\\profile.jsp'.
Plz note if remove the above line of fetching the property of bean in profile.jsp page then there is no error
Hoping to get a reply soon
Thanking u
Mumtaz
The code for LoginServelt is given below
====================================
import javax.servlet.*;
import javax.servlet.http.*;
import java.io.*;
import java.sql.*;
public class LoginServlet extends HttpServlet{
private Connection conn=null;
public void init(ServletConfig config)throws ServletException{
super.init(config);
public void doPost(HttpServletRequest request,HttpServletResponse response)throws ServletException,IOException{
try{
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
conn=DriverManager.getConnection("jdbc:odbc:emt");
}catch(ClassNotFoundException e){System.out.println("Error loading database driver");}
catch(SQLException e){ System.out.println("SQL Exception in Databse driver"); }
PrintWriter out = null;
out=response.getWriter();
response.setContentType("text/html");
Statement st=null;
ResultSet rs=null;
String aN=null;
String pN=null;
String accountNumber1=null;
String pinNumber1=null;
String alternatePassword1=null;
String emailAddress1=null;
String firstName1=null;
String lastName1=null;
String address1=null;
String zipPostalCode1=null;
String city1=null;
String state1=null;
String country1=null;
String companyName1=null;
String title1=null;
String homePhone1=null;
String workPhone1=null;
String mobilePhone1=null;
String pager1=null;
String faxNo1=null;
String website1=null;
//Date dob;
String dateOfBirth1=null;
String gender1=null;
String securityStatus1=null;
//Date doreg;
String dateOfRegistration1=null;
int noOfAccounts1=0;
int noOfAttempts1=0;
String remarks1=null;
try{
aN=request.getParameter("accountNumber");
pN=request.getParameter("pinNumber");
st=conn.createStatement(); // creating a statement to execute
rs=st.executeQuery("SELECT * FROM ACCOUNT_MASTER where AccountNumber=\'" + aN + "\' and PinNumber= \'"+pN +"\' ;");
while (rs.next())
accountNumber1=rs.getString("AccountNumber");
pinNumber1=rs.getString("PinNumber");
//alternatePassword1=rs.getString("alternatePassword");
emailAddress1=rs.getString("EmailAddress");
firstName1=rs.getString("FirstName");
lastName1=rs.getString("LastName");
address1=rs.getString("Address");
zipPostalCode1=rs.getString("ZipPostalCode");
city1=rs.getString("City");
state1=rs.getString("State");
country1=rs.getString("Country");
companyName1=rs.getString("CompanyName");
title1=rs.getString("Title");
homePhone1=rs.getString("HomePhone");
workPhone1=rs.getString("WorkPhone");
mobilePhone1=rs.getString("MobilePhone");
pager1=rs.getString("Pager");
faxNo1=rs.getString("FaxNo");
website1=rs.getString("WebSite");
gender1=rs.getString("Gender");
break ;
// closing the connection
rs=null;
st=null;
conn.close();
if((accountNumber1.equals(aN))&&(pinNumber1.equals(pN))){
// create all beans address and userprofile
HttpSession session=request.getSession();// creating the session
AccountMaster accMasterBean=new AccountMaster();
accMasterBean.setAccountNumber(accountNumber1);
accMasterBean.setPinNumber(pinNumber1);
accMasterBean.setEmailAddress(emailAddress1);
accMasterBean.setFirstName(firstName1);
accMasterBean.setLastName(lastName1);
accMasterBean.setAddress(address1);
accMasterBean.setZipPostalCode(zipPostalCode1);
accMasterBean.setCity(city1);
accMasterBean.setState(state1);
accMasterBean.setCountry(country1);
accMasterBean.setCompanyName(companyName1);
accMasterBean.setTitle(title1);
accMasterBean.setHomePhone(homePhone1);
accMasterBean.setMobilePhone(mobilePhone1);
accMasterBean.setWorkPhone(workPhone1);
accMasterBean.setPager(pager1);
accMasterBean.setFaxNo(faxNo1);
accMasterBean.setWebsite(website1);
accMasterBean.setGender(gender1);
session.setAttribute("accMasterBean",accMasterBean);// setting the account bean in the session attribute
getServletConfig().getServletContext().getRequestDispatcher("/jsp/members/profile.jsp").forward(request,response);
}else{
// do some processing for account field and pasword field not set and return back to main page
getServletConfig().getServletContext().getRequestDispatcher("/jsp/signup.jsp").forward(request,response);
}// end of try
catch(SQLException e){out.println("SQL Exception generated in LoginServlet---"+e);}
catch(Exception e1){ out.println("Exception generated in LoginServlet---" + e1);}
finally{
try{
if(conn!=null) conn=null;
if (rs!=null) rs=null;
if(st!=null) st=null;
}catch(Exception e){out.println("Exception closing database connections "+e);}
} // end of doPost
public void destroy(){
try {
if(conn!=null) conn=null;
catch (Exception e) { System.out.println("Error closing database connection"); }
public void doGet(HttpServletRequest request,HttpServletResponse response)throws ServletException,IOException{ doPost( request, response);}
}//end of loginservlet
=======================================
Hi everyone
I have got the solution
Thanks
Mumtaz
Similar Messages
-
SAPGUI Failed error while accessing CAD Desktop from UnigraphicsApplication
Hello,
Experiencing errors while accessing the CAD Desktop from the Unigragraphics application. Log throws "RFC_ERROR_LOGON_FAILURE" error.
Error details are as given below:
PLM++
E02225 The following error occured in the XML Handler: Start 'sapgui' failed..
plm.sess.Process_XMLFunctionHandler.executeProcess(Process_XMLFunctionHandler.java:794)
plm.sess.Process_XMLFunctionHandler.execute(Process_XMLFunctionHandler.java:500)
plm.sess.PlmCommHandler.fileOccured(PlmCommHandler.java:927)
plm.sess.PlmCommHandler.access$100(PlmCommHandler.java:236)
plm.sess.PlmCommHandler$FileWatcherTask.run(PlmCommHandler.java:1027)
java.util.TimerThread.mainLoop(Timer.java:432)
java.util.TimerThread.run(Timer.java:382)
com.sap.mw.jco.JCO$Exception
com.sap.mw.jco.rfc.MiddlewareRFC$Client.nativeConnect(Native Method)
com.sap.mw.jco.rfc.MiddlewareRFC$Client.connect(MiddlewareRFC.java:1098)
com.sap.mw.jco.JCO$Client.connect(JCO.java:2986)
cadagent.sap.conn.jco.tm.Transaction.sapLogon(Transaction.java:561)
cadagent.sap.conn.jco.tm.Transaction.init(Transaction.java:380)
I would appreciate your answer to resolve this issue.
Thanks
Chandrahi chandra ,
In the Unigragraphics application screen in the from popwindo goto
sap ---> option ---> configuration and check
then u see the screen that content folders then select --> local configuration inthat
select --> logon and check the settings
if all setting r ok then goto sm59 and check RFC coneection or ask basis team for check RFC coneection
thanx
sunil jawalkar -
Error while accessing an application from logon page
Hello all,
I have created an application on WD Java which inturn talks to my ECC at the backend. I want to fix on my portal Logon Page, i have attached the location to an ivew which as Anonymous access still i am not able to open the link ..the error say access denied.
when i attach this application inside the portal on some role i am able to open the link ....
following is the error which is seen, please help
Portal Runtime Error
An exception occurred while processing a request for :
iView : pcd:portal_content/hr_portal_folder/iviews/com.rr.ess.java_local_PasswordResetPr_com_password_reset_PasswordReset
Component Name : com.sap.portal.wdintegrator.WebDynproIntegrator
Problem creating the Application Integrator, exception occured during onNodeReady was: com.sapportals.portal.prt.runtime.PortalRuntimeException: Access is denied: com.sap.portal.appintegrator.sap.WebDynproPageBuilder - user: Guest, .
Exception id: 01:13_31/08/07_0081_14574951
See the details for the exception ID in the log fileHI!
Are you aware of note https://service.sap.com/sap/support/notes/1031159 and did you follow the steps?
Rgs, Sigi -
Exception while accessing com port from servlet
I am trying to access communication port from a Servlet using java communications api's.
But Following exception was thrown
Caught java.lang.NullPointerException:name can't be null while loading driver com.sun.comm.Win32Driver
The SecurityManager do not allow that opeartion.
java.security AccessControlException:access denied (java.io.FilePermission c:\j2sdk1.4.1\jre\lib\javax.comm.properties delete)
at java.security.AccessControlContext.java:270) at java.security.AccessController.checkPermission(SecurityManager.java)
at java.lang.SecurityManager.checkDelete()
at java.comm.CommPortIdentifier.getPortIdentifiers(CommportIdentifier.java)
Please help me.Tell me what to do.how to successfully access a communication port from a Servlet.Hi there. I am also facing the problem accessing com port via servlet. if u have the solution, kindly forward to me at [email protected]
many thanks -
Security Exception while accessing com port from servlet
I am trying to access communication port from a Servlet using java communications api's.
But Following exception was thrown
Caught java.lang.NullPointerException:name can't be null while loading driver com.sun.comm.Win32Driver
The SecurityManager do not allow that opeartion.
java.security AccessControlException:access denied (java.io.FilePermission c:\j2sdk1.4.1\jre\lib\javax.comm.properties delete)
at java.security.AccessControlContext.java:270) at java.security.AccessController.checkPermission(SecurityManager.java)
at java.lang.SecurityManager.checkDelete()
at java.comm.CommPortIdentifier.getPortIdentifiers(CommportIdentifier.java)
Please help me.Tell me what to do.how to successfully access a communication port from a Servlet.Well, have you tried the obvious to add the following permission to your web server's policy file?
grant "file:<wherever my servlet resides>\myservlet.jar" {
permission java.io.FilePermission "c:\j2sdk1.4.1\jre\lib\javax.comm.properties", "write,delete";
} -
ClassNotFound Error while accessing Shared Libarary from Web Service WAR
Hi All,
I have developed a JAX-WS based Web Service(WAR file) using Jdeveloper 11g and deployed it to Web Logic 10.3.4 server. My web service requires access to a shared library(a JAR file ) which is already deployed on the server. So, I had modified the MANIFEST.MF file to have the reference to shared library as a
optional package(since my web service is WAR) as below.
Manifest-Version: 1.0
Extension-List: bizlib
bizlib-Extension-Name: biz_lib
bizlib-Implementation-Version: Oracle Version 1.1
The biz_lib is the Name of the library as seen in the Deployments section of the Web Logic Admin Console. Since there is no extension name given explicitly in the MANIFEST file of shared library, I have mentioned the name as seen in the deployments for the library. After deploying my WAR, when I go into the details of the Shared Library - biz_lib, the Admin console shows my web Service as part of - "Applications that reference this Library" section. So, I presume that my Manifest is correct. But when I test my web service from Admin Console, I face - java.lang.NoClassDefFoundError. The class that is pointed out as part of the error is part of the referenced Shared Library - biz_lib ( part of a JAR file that is listed in the Class-Path: section of shared library’s MANIFEST file). My Web Application is unable to find the class files in the shared library. Please help me. Please let me know any further information is required.
Regards,
RamI am not sure if this helps. I encountered a similar problem and
finally resolved it. Initially I got the error 500 - Internal
Server error, and was not able to access my servlet which I deployed
using .war file.
We should make sure that the directory structure under
WEB-INF/classes directory should reflect the package that
your servlet belongs to. I had a HelloWorld servlet with
the statement "package examples.servlets;" on the first line.
So after compiling this servlet, the HelloWorld.class file
should be copied into WEB-INF/classes/examples/servlets directory
and not into WEB-INF/classes directory. After making this change,
I made a new .war file and that fixed the problem.
-Balaji.
"san" <[email protected]> wrote:
>
>Hi,
>
> i depolyed a WAR file into WL 5.1 as a unzipped file,
>and when i tried to access sevlet it din't come up, i got a error
>"404 file not found,"
>
>my servlet classes are in WEB_INF/classes directory and i have register
>the servlet
>in WEB.xml file
>
>but still i couldn't access any servlet from my webApp ie WAR file ,
>
>can anyone help me out, Thanks in advance
-
Error while Accessing SSRS reports From Sharepoint
We have recently implemented Kerberos authentication on SSRS web application in QA environment and experiencing some issues.
There are two Web Front End servers WFE1, WFE2
and one APP server in the environment. SSRS is configured in
WFE 2 Server.
When users browse SSRS reports from server WFE1, below error comes up, while report works fine from SSRS (WFE 2) server.
SSRS Error:
For more information about this error navigate to the report server on the local server machine, or enable remote errors.
Please provide us some assistance in troubleshooting/resolving this issue ( it’s became critical at this point).The ULS logs are located on the Hive/14 file servers. The error message you encountered should have given a guid error message. If you search for this within the logs, can you copy the messages here for communal feedback.
Steven Andrews
SharePoint Business Analyst: LiveNation Entertainment
Blog: baron72.wordpress.com
Twitter: Follow @backpackerd00d
My Wiki Articles:
CodePlex Corner Series
Please remember to mark your question as "answered" if this solves (or helps) your problem. -
Error while accessing EJB method from JSP
Hi,
I am trying to access a bean from a JSP and have the foll. code piece:
String url = "t3://localhost:7001";
public Context getInitialContext() throws Exception {
Properties p = new Properties();
p.put(Context.INITIAL_CONTEXT_FACTORY,
"weblogic.jndi.WLInitialContextFactory");
p.put(Context.PROVIDER_URL, url);
return new InitialContext(p);
String getStackTraceAsString(Exception e)
// Dump the stack trace to a buffered stream, then send it's contents
// to the JSPWriter.
ByteArrayOutputStream ostr = new ByteArrayOutputStream();
e.printStackTrace(new PrintWriter(ostr));
return(ostr.toString());
%>
<%
String op="";
try {
// Contact the AccountBean container (the "AccountHome") through JNDI.
Context ctx = getInitialContext();
out.println("initial context got !!");
DemoHome home = (DemoHome) ctx.lookup("demo.DemoHome");
out.println("home got !!");
%>
<p>
<%
Demo ac = null;
try {
ac = (Demo) home.create();
out.println("create called!!");
if (ac==null)
out.println("ac is null!");
catch (Exception ee) {
out.print("exception 1");
%>
<p>
<%
try {
out.println("going to call method!");
if (ac!= null)
op = ac.demoSelect(); /* FAILURE POINT */
else
out.println("ac is null->error!!");
out.println(ac.demoSelect());
out.println("string got!!");
out.println(op);
catch (Exception e) {
getStackTraceAsString(e);
e.printStackTrace();
out.println("error 2");
catch(Exception e)
out.println("error 3!");
It gives an error on trying to access the method "demoSelect".
e.printStackTrace gives the output:
java.lang.RuntimeException: javax.ejb.EJBContext.getEnvironment is deprecated in EJB 1.1. EJB 1.1 compli
ant containers are not required to implement this method. Use java:comp/env instead.
<<no stack trace available>>
JSP output is as foll.-->
getting initial context initial context got !! home got !!
create called!!
going to call method! error 2
What is wrong???
pls help!Greetings,
Hi,
I am trying to access a bean from a JSP and have the
foll. code piece:
<%
String op="";
try {
// Contact the AccountBean container (the "AccountHome") through JNDI.
Context ctx = getInitialContext();
out.println("initial context got !!");
DemoHome home = (DemoHome) ctx.lookup("demo.DemoHome");
out.println("home got !!");Though it doesn't seem to be the problem in this case, good EJB coding practices dictate that your code should be narrowing the home reference before calling any of it's methods (i.e. create(...) )... WebLogic may allow handling of its protocol objects in their native state, but other vendors do not... your application is not portable without narrowing.
It gives an error on trying to access the method "demoSelect".
e.printStackTrace gives the output:
java.lang.RuntimeException: javax.ejb.EJBContext.getEnvironment is deprecated inThe error is not in your JSP, but in the bean... it seems your bean is attempting to acquire its "environment properties" in the pre-1.1 style, when...
EJB 1.1. EJB 1.1 compliant containers are not required to implement this
method. Use java:comp/env instead. ...instead, it should be looking them up in its JNDI namespace.
What is wrong???
pls help! Regards,
Tony "Vee Schade" Cook -
Error while accessing System created by SAP Portal system template
Hello all,
I have created one system from SAP Portal system template in .net PDK application. This system have number of properties created in the .cs file of the System using the following code.
[PortalComponentFieldProperty(PlainDescription = HOSTNAME, PropertyType = PropertyValueType.String, LongDescription = "Host Name", AdminPersonalization = PersonalizationType.Dialog, Category = "Application Settings")]
[DefaultValue(EMPTYSTRING)]
public string HostName
get
return (string)this.GetValue(HOSTNAME);
When i created a system in EP from par file, It don't get any error but when i export this system and again import it gives me the "Null reference exception error" at the line
return (string)this.GetValue(HOSTNAME);
Can anybody know the resion of this? Should i set permissions to the system or should i assign roles to the system?
Please reply soon.
Thanks in advance,
PrashantHi everyone
I have got the solution
Thanks
Mumtaz -
Error while accessing table from procedure but no error from anonymous plsq
Hi All,
I am getting a strange error while accessing a table from a different schema.
In that concerned schema OWBSYS, i executed the following:
grant Select on wb_rt_audit to ods;In Ods schema i executed:
CREATE OR REPLACE SYNONYM wb_rt_audit FOR OWBSYS.wb_rt_audit;In ODS schema, when i execute:
create or replace
procedure pp_test as
lv_owb_reject number := 0;
lv_filename_1 varchar2(200):= 'asda';
begin
SELECT MAX(aud.rta_iid) into lv_owb_reject
FROM wb_rt_audit aud
WHERE aud.rta_lob_name LIKE Upper(lv_filename_1)
end;
/I get the error:
Warning: execution completed with warning
procedure Compiled.
ORA-00942 - TABLE OR VIEW DOES NOT EXISTHowever, when i execute as an anonymous plsql the same code:
declare
lv_owb_reject number := 0;
lv_filename_1 varchar2(200):= 'asda';
begin
SELECT MAX(aud.rta_iid) lv_owb_reject
FROM wb_rt_audit aud
WHERE aud.rta_lob_name LIKE Upper(lv_filename_1)
end;
anonymous block completedthere is no issue.
Can someone help me understand what I might be missing:
Edited by: Chaitanya on Feb 28, 2012 12:31 AMCheck if have some other steps.
SQL>conn scott1/tiger
Connected.
SQL>create table wb_rt_audit (rta_iid number);
Table created.
SQL>insert into wb_rt_audit values (100);
1 row created.
SQL>insert into wb_rt_audit values (200);
1 row created.
SQL>commit;
Commit complete.
SQL>grant select on wb_rt_audit to scott2;
Grant succeeded.
SQL>conn scott2/tiger
Connected.
SQL>create synonym wb_rt_audit for scott1.wb_rt_audit;
Synonym created.
SQL>create or replace procedure pp_test as
l_number number(10);
begin
SELECT MAX(rta_iid) into l_number
FROM wb_rt_audit;
end pp_test;
Procedure created. -
LDAP users Faicng Error While Accessing the ESS Iviews in Portal
Hi,
My Portal is SAP EP 7.0 SP20 And ECC 6.0 SP16.
UME users able to access the ESS MSS Iviews.But only one LDAP User only access ESS/MSS Iviews Other getting the Below error.
Critical Error
A critical error has occured. Processing of the service had to be terminated. Unsaved data has been lost.
Please contact your system administrator
Syntax error in program CL_XSS_CAT_BUFFER=============CP ., error key: RFC_ERROR_SYSTEM_FAILURE
Syntax error in program CL_XSS_CAT_BUFFER=============CP ., error key: RFC_ERROR_SYSTEM_FAILURE:
com.sap.tc.webdynpro.modelimpl.dynamicrfc.WDDynamicRFCExecuteException: Syntax error in program CL_XSS_CAT_BUFFER=============CP ., error key: RFC_ERROR_SYSTEM_FAILURE
at com.sap.tc.webdynpro.modelimpl.dynamicrfc.DynamicRFCModelClassExecutable.execute(DynamicRFCModelClassExecutable.java:101)
at com.sap.xss.ser.xssmenu.fc.ModelHandler.onInit(ModelHandler.java:205)
at com.sap.xss.ser.xssmenu.fc.wdp.InternalModelHandler.onInit(InternalModelHandler.java:428)
at com.sap.xss.ser.xssmenu.fc.FcXssMenu.setPersonnelNumber(FcXssMenu.java:570)
at com.sap.xss.ser.xssmenu.fc.FcXssMenu.onInit(FcXssMenu.java:292)
at com.sap.xss.ser.xssmenu.fc.wdp.InternalFcXssMenu.onInit(InternalFcXssMenu.java:455)
at com.sap.xss.ser.xssmenu.fc.FcXssMenuInterface.onInit(FcXssMenuInterface.java:165)
at com.sap.xss.ser.xssmenu.fc.wdp.InternalFcXssMenuInterface.onInit(InternalFcXssMenuInterface.java:389)
at com.sap.xss.ser.xssmenu.fc.wdp.InternalFcXssMenuInterface$External.onInit(InternalFcXssMenuInterface.java:546)
at com.sap.pcuigp.xssfpm.wd.FPMComponent$FPM.attachComponentToUsage(FPMComponent.java:922)
at com.sap.pcuigp.xssfpm.wd.FPMComponent$FPM.attachComponentToUsage(FPMComponent.java:891)
at com.sap.pcuigp.xssfpm.wd.FPMComponent$FPMProxy.attachComponentToUsage(FPMComponent.java:1084)
at com.sap.pcuigp.xssutils.navi.FcNavigation.onInit(FcNavigation.java:314)
at com.sap.pcuigp.xssutils.navi.wdp.InternalFcNavigation.onInit(InternalFcNavigation.java:358)
at com.sap.pcuigp.xssutils.navi.FcNavigationInterface.onInit(FcNavigationInterface.java:145)
at com.sap.pcuigp.xssutils.navi.wdp.InternalFcNavigationInterface.onInit(InternalFcNavigationInterface.java:142)
at com.sap.pcuigp.xssutils.navi.wdp.InternalFcNavigationInterface$External.onInit(InternalFcNavigationInterface.java:278)
at com.sap.pcuigp.xssfpm.wd.FPMComponent$FPM.attachComponentToUsage(FPMComponent.java:922)
at com.sap.pcuigp.xssfpm.wd.FPMComponent$FPM.attachComponentToUsage(FPMComponent.java:891)
at com.sap.pcuigp.xssfpm.wd.FPMComponent$FPMProxy.attachComponentToUsage(FPMComponent.java:1084)
at com.sap.pcuigp.xssutils.roadmap.VcRoadmap.onInit(VcRoadmap.java:188)
at com.sap.pcuigp.xssutils.roadmap.wdp.InternalVcRoadmap.onInit(InternalVcRoadmap.java:162)
at com.sap.pcuigp.xssutils.roadmap.VcRoadmapInterface.onInit(VcRoadmapInterface.java:153)
at com.sap.pcuigp.xssutils.roadmap.wdp.InternalVcRoadmapInterface.onInit(InternalVcRoadmapInterface.java:144)
at com.sap.pcuigp.xssutils.roadmap.wdp.InternalVcRoadmapInterface$External.onInit(InternalVcRoadmapInterface.java:220)
at com.sap.pcuigp.xssfpm.wd.FPMComponent.doProcessEvent(FPMComponent.java:564)
at com.sap.pcuigp.xssfpm.wd.FPMComponent.doEventLoop(FPMComponent.java:438)
at com.sap.pcuigp.xssfpm.wd.FPMComponent.wdDoInit(FPMComponent.java:196)
at com.sap.pcuigp.xssfpm.wd.wdp.InternalFPMComponent.wdDoInit(InternalFPMComponent.java:110)
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:430)
at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.init(ClientApplication.java:362)
at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.initApplication(ApplicationSession.java:782)
at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:302)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingPortal(ClientSession.java:761)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:696)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:253)
at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:149)
at com.sap.tc.webdynpro.clientserver.session.core.ApplicationHandle.doProcessing(ApplicationHandle.java:73)
at com.sap.tc.webdynpro.portal.pb.impl.AbstractApplicationProxy.sendDataAndProcessActionInternal(AbstractApplicationProxy.java:869)
at com.sap.tc.webdynpro.portal.pb.impl.AbstractApplicationProxy.create(AbstractApplicationProxy.java:229)
at com.sap.portal.pb.PageBuilder.updateApplications(PageBuilder.java:1344)
at com.sap.portal.pb.PageBuilder.createPage(PageBuilder.java:356)
at com.sap.portal.pb.PageBuilder.init(PageBuilder.java:549)
at com.sap.portal.pb.PageBuilder.wdDoInit(PageBuilder.java:193)
at com.sap.portal.pb.wdp.InternalPageBuilder.wdDoInit(InternalPageBuilder.java:150)
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:430)
at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.init(ClientApplication.java:362)
at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.initApplication(ApplicationSession.java:782)
at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:302)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:741)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:694)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:253)
at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:149)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:53)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java: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:1039)
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)
Caused by: com.sap.aii.proxy.framework.core.BaseProxyException: Syntax error in program CL_XSS_CAT_BUFFER=============CP ., error key: RFC_ERROR_SYSTEM_FAILURE
at com.sap.aii.proxy.framework.core.AbstractProxy.send$(AbstractProxy.java:150)
at com.sap.pcuigp.xssutils.xssmenu.model.MenuModel.hrxss_Ser_Getmenudata(MenuModel.java:171)
at com.sap.pcuigp.xssutils.xssmenu.model.Hrxss_Ser_Getmenudata_Input.doExecute(Hrxss_Ser_Getmenudata_Input.java:137)
at com.sap.tc.webdynpro.modelimpl.dynamicrfc.DynamicRFCModelClassExecutable.execute(DynamicRFCModelClassExecutable.java:92)
... 76 more
Thanks & Regrads,
Subba RaoHi,
Now every user facing the same error while accessing ESS Iviews from Portal.
in ST22 Dump is created.
What happened? |
Error in the ABAP Application Program
The current ABAP program "CL_XSS_CAT_TIME_SHEET=========CP" had to be
terminated because it has
come across a statement that unfortunately cannot be executed.
The following syntax error occurred in program
"CL_XSS_CAT_BUFFER=============CP " in include
"CL_XSS_CAT_BUFFER=============CM00C " in
line 50:
""L_CATSDB" and "L_CATSDBCOMM" are not mutually convertible. In Unicode"
" programs, "L_CATSDB" must have the same structure layout as "L_CATSDB"
"COMM", independent of the length of a Unicode character."
The include has been created and last changed by:
Created by: "SAP "
Last changed by: "SAP "
Error in the ABAP Application Program
The current ABAP program "CL_XSS_CAT_TIME_SHEET=========CP" had to be
terminated because it has
| come across a statement that unfortunately cannot be executed.
What we need to resolve the above issue.
Thanks & Regards,
Subba Rao -
Error while accessing Oracle E-Business Suite 11i from Linux/firefox
error while accessing Oracle E-Business Suite 11i from Linux/firefox
OS: SUSE Linux Desktop 11(SLED11)
Web browser: firefox 3.x
Java versions:
# rpm -qa |grep java
java-1_6_0-sun-plugin-1.6.0.u18-0.1.1
java-1_6_0-sun-1.6.0.u18-0.1.1
# java -version
java version "1.6.0_18"
Java(TM) SE Runtime Environment (build 1.6.0_18-b07)
Java HotSpot(TM) Server VM (build 16.0-b13, mixed mode)
when I access the url firefox says
"Additional plugins are required to display all the media on this page"
then I clicked on "Install Missing Plugin" button
then I got the following message
No Suitable Plugins were found
Unknown Plugin (application/x-java-applet;jpi-version=1.4.1)
please help/suggest
RegardsHi user;
Its not certified to login EBS from linux client
Please check:
Linux-cleint (ebs) certification
pluggins
Hope it helps
Regard
Helios -
Operation not found error while calling AM methods from managed bean
Hi,
operation not found error while calling AM methods from managed bean.
written a method with two parameters in AM.
exposed the method in AM client interface
in the page bindings added the method in method action ..left empty in the value fields of the parameters.
calling the method from managed bean like below
String userNameVal = (String)userName.getValue();
String passwordVal = (String)password.getValue();
OperationBinding operationBinding =
ADFUtils.findOperation("verifyLogin");
operationBinding.getParamsMap().put("userName",userNameVal);
operationBinding.getParamsMap().put("password",passwordVal);
operationBinding.execute();
i am getting operation verifyLogin not found error.Please suggest me something to do.
Thanks
SatyaHi vlsn,
Can you try with the below code
// in your backing bean
OperationBinding operation = bindings.getOperationBinding("verifyLogin");
//Put your both parameters here
operation.getParamsMap().put("parameter_name1", parameterValue1);
operation.getParamsMap().put("parameter_name2", parameterValue2);
operation.execute();
if (operation.getResult() != null) {
Boolean result = (Boolean) operation.getResult();
and share the result.
regards,
Rajan -
Getting Error While accessing Accounts from oim
Hi All,
I am getting an exception while accessing user accounts from oim through the jdeveloper(I m giving UserId as input)
Exception:
avax.ejb.EJBAccessException: [EJB:010160]Security Violation: User: '<anonymous>' has insufficient permission to access EJB: type=<ejb>, application=oim#11.1.2.0.0, module=iam-ejb.jar, ejb=ProvisioningService, method=getAccountsProvisionedToUserx, methodInterface=Remote, signature={java.lang.String,java.lang.String}.
at weblogic.ejb.container.internal.MethodDescriptor.checkMethodPermissionsBusiness(MethodDescriptor.java:581)
at weblogic.ejb.container.internal.BaseRemoteObject.checkMethodPermissions(BaseRemoteObject.java:111)
at weblogic.ejb.container.internal.BaseRemoteObject.preInvoke(BaseRemoteObject.java:274)
at weblogic.ejb.container.internal.StatelessRemoteObject.__WL_preInvoke(StatelessRemoteObject.java:41)
at weblogic.ejb.container.internal.SessionRemoteMethodInvoker.invoke(SessionRemoteMethodInvoker.java:24)
at oracle.iam.provisioning.api.ProvisioningService_p7m7x_ProvisioningServiceRemoteImpl.getAccountsProvisionedToUserx(Unknown Source)
at oracle.iam.provisioning.api.ProvisioningService_p7m7x_ProvisioningServiceRemoteImpl_WLSkel.invoke(Unknown Source)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:667)
at weblogic.rmi.cluster.ClusterableServerRef.invoke(ClusterableServerRef.java:230)
at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:522)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:518)
at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:118)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
Process exited with exit code 0.Which user are you using for creating connection with OIM ?
Which method are you using to create connection with OIM ?
Re: OIMClient login throwing AuthenticationException execption (FOR R2) -
Error while accessing menus in Runtime workbench from SLD
Hi I am getting following error while accessing menus in runtime workbench from SLD.( example: SLD->runtime workbench->component monitorung ->display)
"Error during communication with System Landscape Directory: User credentials are invalid or user is denied access "
I am using PISUPER to login to SLD and i am able to login to XI using this ID. I could find role -SAP_XI_RWB_SERV_USER - also in the user id profile of PISUPER.Hi Karthik,
Check if the roles are generated. Or ask your basis team to check.
IF the roles are generated then you have to check if exchange profile if the right username is mentioned or not. IF username is right then reenter the password.
Check the following parameter in exchange profile.
com.sap.aii.rwb.serviceuser.name
com.sap.aii.rwb.serviceuser.pwd
Regards,
Sumit
Edited by: Sumit Khetawat on Dec 28, 2007 11:52 AM
Maybe you are looking for
-
How can i zoom the macbook pro retina camera?
system preferences has no camera or video config and FaceTime preferences are dimmed for the new retina... I want to create a video conf call in a conf room and need to zoom out. nothing I can find on the apple site discusses this... thanks if you
-
Hi guys and girls, I have recently stated to use an I-Phone and have encountered a problem when trying to restore the handset after it has placed itself into recovery mode. The handset currently displays the charger pointing toward the cd/music symbo
-
Trigger Process Chain from Source System into Target System
Hello...actually in source system BZD, we have a process chain, in the target system BWD, we have another process chain as well. We want to have a process of combining these two process chain together. When the process chain in source system is compl
-
MMC not showing J2ee process table
Dear Gurus, I installed ECC 6.0 SR3(ABAP+JAVA) Development and Quality on the same server windows 2003 operating systems. in MMC it is showing only development system J2ee process table it is not showing the quality system J2ee process table. Can an
-
Re: Portege M700 - BIOS Download link not working
Been trying to download BIOS Update file for Portege M700 from the Toshiba website with no luck. The file is 1.60-WIN. No luck. Is the link down or something? Could someone please try it?