Class for customer use
Hi All,
Can you please tell me how can I found if a particular class is released for customer use or not?
Thanks,
Rajeev
SAP says this with respect to class -
Internally Released Indicator
Until a comprehensive release concept is developed for a packet discussion, two levels of release exist:
Not released, that is, this class is only a utility class and is not actually used
Internally released, that is, this class can be restricted (see internal release of function modules). There are no stability guarantees for use outside of SAP.
Similar Messages
-
PI 7.1 are released for Customer use??
Hi All:
Is PI 7.1 is ready for customer use? Meaning can I install PI 7.1 and start exploring that??
Farooq.Means whatever statistics you provided I have to be with that;-)
Thanks for that..Also if I talk about PI 7.0 and PI 7.1, is later version have drastic change?
Regards,
Farooq. -
Hey frineds can any one tell me how can i make a UI class for my custom component?
Let me explain this is detail
I have a custom button called MyButton extended From JButton. I can change its appearance at runtime if i define my own UIClass called MyButtonUI which is extended from Basic ButtonUI.
One way to apply the ui to Mybutton is using method setUI().
But the much better way is to define our own look and feel class and setting defining buttonUI in it. This is done as follows
protected void initClassDefaults(UIDefaults table)
super.initClassDefaults(table);
table.put ("ButtonUI", "MyButtonUI");
}But this method sets the newly created UI to every swing button including the button used in comboBox !!
Can Any one tell me how can i set the ui that is applicable only to MyButton.
Thans in AdvancedYou should override the method getUIClassID() in your MyButton class which returns something like MyButtonUI. Then you put this in the default table:
protected void initClassDefaults(UIDefaults table) {
super.initClassDefaults(table);
String pkg = ...;
table.put ("MyButtonUI", pkg + "MyButtonUI");
}Then you apply the UI only to your custom buttons. -
Dynamic Java bean classes for XSD using JAVA (not any external batch or sh)
Hi,
How can we generate dynamic Java bean classes for XSD (dynamically support All XSD at runtime)?
Note: - Through java code via only needs to generate this process. (Not using any xjc.bat or xjc.sh from JAXB).
ThanksMuthu wrote:
How can we generate dynamic Java bean classes for XSD (dynamically support All XSD at runtime)?
Pretty sure you can't. Probably can do a lot of them with years of work.
And can probably can do a resonable subset suitable for the business at hand with only a moderate effort.
Note: - Through java code via only needs to generate this process. (Not using any xjc.bat or xjc.sh from JAXB).The Sun jdk, not jre, comes with the java compiler as part of it. You can create in memory class (I believe in memory) based on java code you create.
I believe BCEL alllows the same thing (in memory) but you start with byte codes.
You could just create a dynamic meta data solution as well, via maps and generic methods. Not as fast though. -
Generated servlet error - unable to compile class for JSP - using NB5.5/SS9
I am using NB5.5 beta2 and Sun server 9.0 with JSF 1.1 - all is OK when I am creating firts JSF application - welcomeJSF.jsp page is rendered normally - but when I am adding one more jsp with JSP view and so on - then - I am getting errors in both JSF pages - both - in original welcomeJSF and the new invoice.jsp page
here is code for typical error
org.apache.jasper.JasperException: Unable to compile class for JSP
org.apache.jasper.JasperException: Unable to compile class for JSP
Generated servlet error:
[javac] E:\Sun\AppServer\domains\domain1\generated\jsp\j2ee-modules\ERPSolution\org\apache\jsp\welcomeJSF_jsp.java:99: cannot find symbol
[javac] symbol : method setJspId(java.lang.String)
[javac] location: class com.sun.faces.taglib.jsf_core.ViewTag
[javac] jspxth_f_view_0.setJspId("id7");
[javac] ^
Generated servlet error:
[javac] E:\Sun\AppServer\domains\domain1\generated\jsp\j2ee-modules\ERPSolution\org\apache\jsp\welcomeJSF_jsp.java:144: cannot find symbol
[javac] symbol : method setJspId(java.lang.String)
[javac] location: class com.sun.faces.taglib.html_basic.OutputTextTag
[javac] jspxth_h_outputText_0.setJspId("id17");
[javac] ^
Generated servlet error:
[javac] E:\Sun\AppServer\domains\domain1\generated\jsp\j2ee-modules\ERPSolution\org\apache\jsp\welcomeJSF_jsp.java:145: setValue(java.lang.String) in com.sun.faces.taglib.html_basic.OutputTextTag cannot be applied to (javax.el.ValueExpression)
[javac] jspxth_h_outputText_0.setValue(org.apache.jasper.runtime.PageContextImpl.getValueExpression("Java Server Faces", (PageContext)_jspx_page_context, java.lang.Object.class, null));
[javac] ^
[javac] 3 errors
org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:94)
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:384)
org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:461)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:528)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:507)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:495)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:530)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:409)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:317)
javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:414)
com.sun.faces.application.ViewHandlerImpl.executePageToBuildView(ViewHandlerImpl.java:455)
com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:139)
com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:108)
com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:266)
com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:159)
javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:73)
com.sun.enterprise.web.VirtualServerPipeline.invoke(VirtualServerPipeline.java:120)
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:231)
com.sun.enterprise.web.connector.grizzly.ProcessorTask.invokeAdapter(ProcessorTask.java:667)
com.sun.enterprise.web.connector.grizzly.ProcessorTask.processNonBlocked(ProcessorTask.java:574)
com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:844)
com.sun.enterprise.web.connector.grizzly.ReadTask.executeProcessorTask(ReadTask.java:287)
com.sun.enterprise.web.connector.grizzly.ReadTask.doTask(ReadTask.java:212)
com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:252)
com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:75)
note The full stack trace of the root cause is available in the Sun Java System Application Server Platform Edition 9.0 logs.
and there is output for another error:
Generated servlet error:
[javac] E:\Sun\AppServer\domains\domain1\generated\jsp\j2ee-modules\ERPSolution\org\apache\jsp\welcomeJSF_jsp.java:144: cannot find symbol
[javac] symbol : method setJspId(java.lang.String)
[javac] location: class com.sun.faces.taglib.html_basic.OutputTextTag
[javac] jspxth_h_outputText_0.setJspId("id17");
[javac] ^
Generated servlet error:
[javac] E:\Sun\AppServer\domains\domain1\generated\jsp\j2ee-modules\ERPSolution\org\apache\jsp\welcomeJSF_jsp.java:145: setValue(java.lang.String) in com.sun.faces.taglib.html_basic.OutputTextTag cannot be applied to (javax.el.ValueExpression)
[javac] jspxth_h_outputText_0.setValue(org.apache.jasper.runtime.PageContextImpl.getValueExpression("Java Server Faces", (PageContext)_jspx_page_context, java.lang.Object.class, null));
[javac] ^
[javac] 3 errors
and here is code of my new invoice.jsp page:
<%@page contentType="text/html"%>
<%@page pageEncoding="UTF-8"%>
<%@taglib prefix="f" uri="http://java.sun.com/jsf/core"%>
<%@taglib prefix="h" uri="http://java.sun.com/jsf/html"%>
<%--
The taglib directive below imports the JSTL library. If you uncomment it,
you must also add the JSTL library to the project. The Add Library... action
on Libraries node in Projects view can be used to add the JSTL 1.1 library.
--%>
<%--
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
--%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<f:view>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>JSP Page</title>
</head>
<body>
<h1><h:outputText value="Java Server Faces" /></h1>
<h:inputText value="#{managerBean.currentInvoice.id}"/>
<h:inputText value="#{managerBean.currentInvoice.description}"/>
<h:inputText value="#{managerBean.currentInvoice.total}"/>
<h:commandButton value="new_invoice"
type="submit"
actionListener="#{managerBean.createNewInvoice}"/>
</body>
</f:view>and faces-config.xml file:
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE faces-config PUBLIC
"-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.1//EN"
"http://java.sun.com/dtd/web-facesconfig_1_1.dtd">
<!-- =========== FULL CONFIGURATION FILE ================================== -->
<faces-config>
<managed-bean>
<managed-bean-name>managerBean</managed-bean-name>
<managed-bean-class>com.brl.ERPSolution.ui.ManagerBean</managed-bean-class>
<managed-bean-scope>session</managed-bean-scope>
</managed-bean>
</faces-config>managerBean was intended to be backing beans which will call the facaed beans of EJB 3.0 entity beans - but at presnet - almost empty methods are declared there:
package com.brl.ERPSolution.ui;
import javax.faces.event.ActionEvent;
import com.brl.solutions.EJB3.*;
* @author Administrator
public class ManagerBean {
protected int currentInvoiceId;
protected Invoices currentInvoice;
protected InvoicesFacade invoicesFacade;
/** Creates a new instance of ManagerBean */
public ManagerBean() {
/* business methods */
public void createNewInvoice(ActionEvent actionEvent)
invoicesFacade.create(this.currentInvoice);
public Invoices getCurrentInvoice()
return this.currentInvoice;
public void setCurrentInvoice(Invoices currentInvoice)
this.currentInvoice=currentInvoice;
}I read in one blog (actually - the only page which was returned by yahoo - so - this should be very rare error!!!) to try to use Sun server's verifier.bat - and - it reported 0 errors and 0 warning. Build was succesfull as well and also - deployment was without errors - but - above mentioned error appeared during the automatic compilation of jsp pages/servlet when newly deployed jsps are first accessed from remote browser.
So - is it possible, please, to receive some advice - what to do further? I feel that my invoice.jsp page can be with errors, - however - the original welcomeJSF.jsp should be working without errors even the erronwous JFS jsp page is added to web application.
Thans for any adice or hint in advance!!!OK - I have made 'clean and build main project' from NB menu and the deployed the resulting *.war and the error messages have disappeared... So - it seems to be bug...
-
OAAM 11g R2: Unable to load java class for custom configurable action
Need to configure a Configurable Action to get triggered for a particular action at a given checkpoint.
Steps Followed:
1. Created a java class implementing com.bharosa.vcrypt.tracker.dynamicactions.intf.DynamicAction, getParameters() and execute() methods were implemented in that java class.
2. Added necessary jars from $ORACLE_IDM_HOME\oaam\cli\lib to the build classpath.
3. Compiled and created a jar with it.
4. Extracted the oracle.oaam.extensions.war file into a working folder.
5. Added the Custom Jar created in step 3 into <working folder>/WEB-INF/lib/
6. Changed the following in MANIFEST.MF in <working folder>/META-INF/:
Specification-Version:11.1.2.0.1
Implementation-Version:11.1.2.0.1
7. Rejar-ed the oracle.oaam.extensions.war from the working folder using following command:
jar -cvfm oracle.oaam.extensions.war <working folder>\META-INF\MANIFEST.MF -C <working folder>/ .
8. Stopped the oaam_admin_server1, oaam_offline_server1 and oaam_server_server1.
9. Deleted the oracle.oaam.extensions deployment from the weblogic.
10. Deployed the newly created oracle.oaam.extensions as a shared library for oaam_admin_server1 and oaam_server_server1.
11. Started all managed servers.
But when I tried to create an action template with the java class I just created, it was throwing following error
+java.lang.ClassNotFoundException: *+
Unable to load configurable action class *. Ensure the class is made available in the class path.
Referred following documents:
1. http://docs.oracle.com/cd/E27559_01/admin.1112/e27207/cfgactions.htm
2. http://docs.oracle.com/cd/E27559_01/dev.1112/e27206/cfg-action.htm
3. http://docs.oracle.com/cd/E27559_01/dev.1112/e27206/extend.htm
Kindly help me. Thanks in advance.
Edited by: 917717 on Dec 12, 2012 7:16 PMThis thread is a bit stale but I thought it might help to clarify one point about custom jar files on UCCX.
To properly load a custom jar:
Upload it into the classpath directory in the document repository.
Select it under System | Custom Classes Configuration
Finally you need to restart the CCX Engine and the CCX Administration services. If you have HA you need to restart them on both servers.
Other notes:
When referencing your class in the CCX Editor, use the fully qualified name of the class. Lots of other classes use things like Element or Document so you need to be explicit. The editor only knows about the 20 native classes by their object names. If you create a Document object in the editor you are really creating a com.cisco.doc.Document object. If you loaded jdom.jar and you wanted a jdom document then you need to create an object of type org.jdom.Document.
When compiling your custom jar files, be sure to compile for the version of Java that the CCX Engine runs. In general UCCX 7.X and older use Java 1.4. UCCX 8.X and higher use Java 1.6. Several of the core Java classes had significant changes between 1.4 and 1.6. If you ran your code on UCCX 7 or earlier and now it fails in UCCX 8.X or higher, recomplile for Java 1.6 and you classes will likely work again.
Finally, check for security violations in UCCX 8.X or higher. Cisco has restricted some of the things you can do. These URL's have more information:
http://docwiki.cisco.com/wiki/Engine
http://docwiki.cisco.com/wiki/Troubleshooting_Tips_for_Unified_CCX_8.0
-Steven
Please help us make the communities better. Rate helpful posts! -
Update Profile Class for Customer
Hi,
Can anyone tell me if I can update the customer profile class with sql query
This is the query I have written for updating
update hz_customer_profiles set profile_class_id = 'number', standard_cycle_id= 'number'
where cust_account_id in (select cust_account_id from hz_customer_profiles where collector_id in (a,b))
So can i use ths query to update for all the customers in the oraganization...
I know there is an API hz_customer_profiles_v2pub to update the customer profile for customers...but i have no idea how to do with that...
can you tell me how to update with API ( with steps)
Thx a lot for the Help
Regards
Jdev...You can try your luck in the E-business suite forums.
-
BAPI or FM or Class for Customer open items CLEAR (F-32)
Hi Everyone,
Is there any BAPI or FM to CLEAR customer open items (F-32).
Thanks,
NKHi,
For clearing open items you can use BAPI_ACC_DOCUMENT_POST.
but need to write extra code in BTE
check this function module SAMPLE_INTERFACE_RWBAPI01.
need to update below four fields of table accit.
REBZG (document no against u want to clear)
REBZJ (fiscal year)
REBZZ (line item)
REBZT
to update these field use BTE.
Thanks,
Avadhut. -
Lsmw using recording/Direct input for customer using xd01-urgent please
how will you upload the record for a customer if you have more than one record for bank master data for that customer. becoz a customer have have many bank details associated with his customer no.
.that is how would you handle table control in screens in lsmw..HI,
Use the Standard Batch Input Program to upload the Customer Bank data.
<b>Object 0050 Customer master
Method 0000
Program Name RFBIDE00
Program Type B Batch Input</b>
Create the two structures
1) Customer data
Customer Data Structure contains the general Customer details
2) Customer Bank data ( this structure must be child to th above structure)
this structure contains the Bnak Details
while defining the source fields take one field as indicator(Char 1) in both the structures,
for the Indicator field
in Customer data structure place the <b>Identifying Field Content H</b>
in Customer Bank data structure place the <b>Identifying Field Content I</b>
i.e. to differentiate the Header and Item
In Maintain Structure Relations step
assign the Customer data Structure where required
assign the Customer bank data structure to the Traget Structure <b>BKNBK</b>
In Field Mapping step map the fields accordingly..
in specify file step
create a file and select the radio button Data for Multiple Source Structures
assign the Source file to both the Source Structures.
then Read data
Convert data......
<b>Note</b>:The Source file should contain the Header Item Differentiation
as Header record should contain the 'H' as the indicator value (First filed value should be H for an Header Record )
same as for item record (i.e. for bank data , the first field(Indicator) value must be 'I'.). -
Search for customer using KNB1-ALTKN
Hi All,
I have my customers loaded in a new server with reference to old server, by mapping the olad customer under the field KNB1-ALTKN, ( at company code data level).
I use ECC 6.0 where i dont find this field when i search the customers using F4 in VD03, can this be amended so that i can search the new customers by keying in this previous customer number field, if so please let me know on the steps involved.
Thanks & regards
IlangoI hope you are aware that Table KNB1 is table Customer Master u2013 Company Code Data.
1. Check the field KNB1-ALTKN in XD01/FD01 in company code data instead VD01.
2. If the field is not available in XD01/FD01. Then check Account Groups with screen layout - select the Group - select company code data - select Account management - Previous account number, based on your requirement maintain the display of the field.
Further you can user exit EXIT_SAPMF02D_001 for populating this field automatically.
Regards
JP -
"Newbie Unable to load class for custom tag"
I have recently written a custom tag but I have been unable to implement it in a JSP because the server is unable to load the .class file. Below I have supplied the files that contribute to make up the custom tag, aswell as the JSP file used to implement it.
genericDBConnect.java
stored in C:\jakarta-tomcat-3.2.3\webapps\exper\WEB-INF\classes\jsp\tags\dbase
package jsp.tags.dbase;
import java.io.*;
import java.sql.*;
import javax.servlet.jsp.*;
import javax.servlet.jsp.tagext.*;
public class genericDBConnect extends BodyTagSupport
private String odbcDriver;
private String dataSource;
public void setOdbcDriver(String driver)
odbcDriver = driver;
public void setDataSource(String source)
dataSource = source;
public int doStartTag() throws JspException
return EVAL_BODY_INCLUDE;
public int doEndTag() throws JspException
try{
pageContext.getOut().print("This is the value of odbcDriver = " + odbcDriver + "and dataSource = " + dataSource);
catch(Exception ioException)
System.err.println("Exception thrown in genericDBConnect.doEndTag():");
System.err.println(ioException);
throw new JspException(ioException);
return EVAL_PAGE;
WEB.XML
Stored in: C:\jakarta-tomcat-3.2.3\webapps\exper\WEB-INF
<!DOCTYPE web-app PUBLIC
"-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
"http://java.sun.com/dtd/web-app_2_2.dtd">
<web-app>
<display-name>Generic database Connector</display-name>
<description>
Connecting to a database using dataSource and OdbcDriver
Attributes as well as sending a query to the database;
</description>
<taglib>
<taglib-uri>/genericdbconnecttags.tld</taglib-uri>
<taglib-location>/WEB-INF/genericdbconnecttags.tld</taglib-location>
</taglib>
</web-app>
genericdbconnecttags.tld
C:\jakarta-tomcat-3.2.3\webapps\exper\WEB-INF
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE taglib
PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN"
"http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd">
<taglib>
<tlib-version>1.0</tlib-version>
<jsp-version>1.2</jsp-version>
<short-name>genericDBConnect</short-name>
<tag>
<name>dbconnect</name>
<tag-class>jsp.tags.dbase.genericDBConnect</tag-class>
<attribute>
<name>dataSource</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>odbcDriver</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
</taglib>
DBTester.jsp
Stored in:C:\jakarta-tomcat-3.2.3\webapps\exper
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>Generic dataBase Connection</title>
</head>
<body>
<%@ taglib uri="/genericdbconnecttags.tld" prefix="database" %>
<database:dbconnect odbcDriver="sun.my.tag.lib" dataSource="hello">
this is the the begining of the end of life as we know it
</database:dbconnect>
</body>
</html>
And this is the error I get:
Error: 500
Location: /exper/DBtester.jsp
Internal Servlet Error:
org.apache.jasper.compiler.CompileException: C:\jakarta-tomcat-3.2.3\webapps\exper\DBtester.jsp(8,0) Unable to load class null
at org.apache.jasper.compiler.TagBeginGenerator.init(TagBeginGenerator.java:129)
at org.apache.jasper.compiler.JspParseEventListener$GeneratorWrapper.init(JspParseEventListener.java:759)
at org.apache.jasper.compiler.JspParseEventListener.addGenerator(JspParseEventListener.java:138)
at org.apache.jasper.compiler.JspParseEventListener.handleTagBegin(JspParseEventListener.java:909)
at org.apache.jasper.compiler.DelegatingListener.handleTagBegin(DelegatingListener.java:194)
at org.apache.jasper.compiler.Parser$Tag.accept(Parser.java:825)
at org.apache.jasper.compiler.Parser.parse(Parser.java:1077)
at org.apache.jasper.compiler.Parser.parse(Parser.java:1042)
at org.apache.jasper.compiler.Parser.parse(Parser.java:1038)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:209)
at org.apache.jasper.servlet.JspServlet.doLoadJSP(JspServlet.java:612)
at org.apache.jasper.servlet.JasperLoader12.loadJSP(JasperLoader12.java:146)
at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:542)
at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:258)
at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:268)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:429)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:500)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
at org.apache.tomcat.core.Handler.service(Handler.java:287)
at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:812)
at org.apache.tomcat.core.ContextManager.service(ContextManager.java:758)
at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:213)
at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
at java.lang.Thread.run(Thread.java:484)
Please if you can help I will be very gratefulI was searching about this problem and I found here.
I'm using WSAD 4.0.3 and I'm making my first custom tag.
Here is my files:
======================= CLASS ======================
package sas.ric.tags.teste;
import javax.servlet.jsp.tagext.TagSupport;
import javax.servlet.jsp.JspWriter;
import javax.servlet.jsp.PageContext;
import java.io.IOException;
public class ClTagHello extends TagSupport {
public int doStartTag() {
try {
JspWriter out = pageContext.getOut();
out.println("HELLO!");
} catch (IOException ioe) {
System.out.println("Erro in ClTagHello: " + ioe);
return (SKIP_BODY);
================= TLD ==========================
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN" "http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd">
<taglib>
<tlib-version>1.0</tlib-version>
<jsp-version>1.2</jsp-version>
<short-name>ric</short-name>
<uri></uri>
<info>Exemple</info>
<tag>
<name>hello</name>
<tag-class>sas.ric.tags.teste.ClTagHello</tag-class>
<body-content>empty</body-content>
</tag>
</taglib>
======================== JSP =====================
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML>
<HEAD>
<META name="GENERATOR" content="IBM WebSphere Studio">
<META http-equiv="Content-Style-Type" content="text/css">
</HEAD>
<%@ taglib uri="WEB-INF/app-tlds/tag-hello.tld" prefix="ric" %>
<BODY>
<ric:hello />
</BODY>
</HTML>
==========================================================
Please, help me.
Occur this error "JSPG0058E: Unable to load class null"
Thank's -
Cannot load classes for custom user store
I implemented a custom user store and deployed as sda library into NetWeaver preview SP16. NetWeaver is not able to load those classes when configuring that user store through Visual Administrator. Below is the error message I got,
Unable to register user store!
java.lang.SecurityException: com.sap.engine.services.security.exceptions.BaseSecurityException: Can not instantiate UserContext.
at com.sap.engine.services.security.server.UserStoreImpl.<init>(UserStoreImpl.java:78)
at com.sap.engine.services.security.server.UserStoreFactoryCache.registerUserStore(UserStoreFactoryCache.java:120)
at com.sap.engine.services.security.server.UserStoreFactoryImpl.registerUserStore(UserStoreFactoryImpl.java:150)
at com.sap.engine.services.security.userstore.RemoteUserStoreFactoryImpl.registerUserStore(RemoteUserStoreFactoryImpl.java:64)
at com.sap.engine.services.security.userstore.RemoteUserStoreFactoryImplp4_Skel.dispatch(RemoteUserStoreFactoryImplp4_Skel.java:99)
at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:304)
at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:193)
at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:122)
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)
Caused by: java.lang.ClassNotFoundException: mypackage.myusercontextimpl
Found in negative cache
Loader Info -
ClassLoader name: [common:library:com.sap.security.api.sda;library:com.sap.security.core.sda;library:security.class;library:webservices_lib;service:adminadapter;service:basicadmin;service:com.sap.security.core.ume.service;service:configuration;service:connector;service:dbpool;service:deploy;service:jmx;service:jmx_notification;service:keystore;service:security;service:userstore]
Parent loader name: [Frame ClassLoader]
References:
library:com.sap.ip.basecomps
library:core_lib
common:library:IAIKSecurity;library:activation;library:mail;library:tcsecssl
library:servlet
library:sapxmltoolkit
library:com.sap.mw.jco
library:com.sap.util.monitor.jarm
library:j2eeca
library:opensql
interface:security
interface:log
interface:shell
interface:keystore_api
library:ejb20
interface:webservices
library:com.sap.guid
interface:appcontext
interface:endpoint_api
interface:resourceset_api
interface:resourcecontext_api
common:service:iiop;service:naming;service:p4;service:ts
interface:ejbcomponent
interface:container
interface:visual_administration
interface:transactionext
interface:dsr_ejbcontext_api
service:timeout
library:tc~jmx
interface:cross
service:file
service:locking
library:tcSLUTIL
service:memory
library:antlr
library:jdbdictionary
library:opensqlextensions
Resources:
C:\usr\sap\J2E\JC00\j2ee\cluster\server0\bin\services\dbpool\dbpool.jar
C:\usr\sap\J2E\JC00\j2ee\cluster\server0\bin\services\basicadmin\basicadmin.jar
C:\usr\sap\J2E\JC00\j2ee\cluster\server0\bin\ext\security.class\tc_sec_compat.jar
C:\usr\sap\J2E\JC00\j2ee\cluster\server0\bin\services\adminadapter\adminadapter.jar
C:\usr\sap\J2E\JC00\j2ee\cluster\server0\bin\services\basicadmin\jstartupimpl.jar
C:\usr\sap\J2E\JC00\j2ee\cluster\server0\bin\services\jmx_notification\jmx_notification.jar
C:\usr\sap\J2E\JC00\j2ee\cluster\server0\bin\services\security\security.jar
C:\usr\sap\J2E\JC00\j2ee\cluster\server0\bin\services\com.sap.security.core.ume.service\com.sap.security.core.ume.service.jar
C:\usr\sap\J2E\JC00\j2ee\cluster\server0\bin\ext\security.class\tc_sec_saml_toolkit_api.jar
C:\usr\sap\J2E\JC00\j2ee\cluster\server0\bin\ext\security.class\tc_sec_userstore_lib.jar
C:\usr\sap\J2E\JC00\j2ee\cluster\server0\bin\ext\webservices_lib\webservices_lib.jar
C:\usr\sap\J2E\JC00\j2ee\cluster\server0\bin\services\basicadmin\jstartupapi.jar
C:\usr\sap\J2E\JC00\j2ee\cluster\server0\bin\ext\security.class\tc_sec_jaas_test.jar
C:\usr\sap\J2E\JC00\j2ee\cluster\server0\bin\services\dbpool\sqljimpl.jar
C:\usr\sap\J2E\JC00\j2ee\cluster\server0\bin\ext\com.sap.security.core.sda\com.sap.security.core.tpd.jar
C:\usr\sap\J2E\JC00\j2ee\cluster\server0\bin\ext\com.sap.security.api.sda\com.sap.security.api.perm.jar
C:\usr\sap\J2E\JC00\j2ee\cluster\server0\bin\services\connector\connectorimpl.jar
C:\usr\sap\J2E\JC00\j2ee\cluster\server0\bin\ext\webservices_lib\saaj-api.jar
C:\usr\sap\J2E\JC00\j2ee\cluster\server0\bin\services\configuration\configuration.jar
C:\usr\sap\J2E\JC00\j2ee\cluster\server0\bin\ext\security.class\tc_sec_saml_jaas.jar
C:\usr\sap\J2E\JC00\j2ee\cluster\server0\bin\ext\security.class\tc_sec_saml_xmlbind.jar
C:\usr\sap\J2E\JC00\j2ee\cluster\server0\bin\ext\security.class\tc_sec_saml_util.jar
C:\usr\sap\J2E\JC00\j2ee\cluster\server0\bin\ext\security.class\tc_sec_csi.jar
C:\usr\sap\J2E\JC00\j2ee\cluster\server0\bin\ext\security.class\tc_sec_saml_toolkit_core.jar
C:\usr\sap\J2E\JC00\j2ee\cluster\server0\bin\ext\security.class\tc_sec_ssf.jar
C:\usr\sap\J2E\JC00\j2ee\cluster\server0\bin\services\userstore\userstore.jar
C:\usr\sap\J2E\JC00\j2ee\cluster\server0\bin\ext\security.class\tc_sec_https.jar
C:\usr\sap\J2E\JC00\j2ee\cluster\server0\bin\ext\security.class\tc_sec_saml_service_api.jar
C:\usr\sap\J2E\JC00\j2ee\cluster\server0\bin\ext\webservices_lib\jaxrpc-api.jar
C:\usr\sap\J2E\JC00\j2ee\cluster\server0\bin\services\dbpool\opensqllib.jar
C:\usr\sap\J2E\JC00\j2ee\cluster\server0\bin\services\deploy\deploy.jar
C:\usr\sap\J2E\JC00\j2ee\cluster\server0\bin\ext\security.class\tc_sec_jaas.jar
C:\usr\sap\J2E\JC00\j2ee\cluster\server0\bin\services\jmx\jmx_sec.jar
C:\usr\sap\J2E\JC00\j2ee\cluster\server0\bin\ext\com.sap.security.api.sda\com.sap.security.api.jar
C:\usr\sap\J2E\JC00\j2ee\cluster\server0\bin\ext\com.sap.security.core.sda\com.sap.security.core.jar
C:\usr\sap\J2E\JC00\j2ee\cluster\server0\bin\services\jmx\jmx.jar
C:\usr\sap\J2E\JC00\j2ee\cluster\server0\bin\ext\webservices_lib\jaxm-api.jar
C:\usr\sap\J2E\JC00\j2ee\cluster\server0\bin\services\keystore\keystore.jar
Loading model: {parent,local,references}
at com.sap.engine.frame.core.load.ReferencedLoader.loadClass(ReferencedLoader.java:348)
at com.sap.engine.services.security.server.UserStoreImpl.<init>(UserStoreImpl.java:75)
... 13 more
at com.sap.engine.services.security.exceptions.BaseSecurityException.writeReplace(BaseSecurityException.java:349)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at java.io.ObjectStreamClass.invokeWriteReplace(ObjectStreamClass.java:896)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1011)
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:278)
at com.sap.engine.services.rmi_p4.DispatchImpl.throwException(DispatchImpl.java:139)
at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:306)
at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:193)
at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:122)
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)Hi sheshu0022,
Based on my research, the issue can be occurred due to something get corrupted in the script task. To fix this issue, please copy the code in the task, then rebuild the script task with the same code to test again.
The following similar thread is for your reference:
http://stackoverflow.com/questions/15165760/ssis-script-task-fails-on-server-with-error-cannot-load-script-for-execution
Thanks,
Katherine Xiong
Katherine Xiong
TechNet Community Support -
How to get Name 2 also when we search for a customer using 'Name' as search
In XD03, when I am searching for Customer using Name as Search term I am getting postal code, Name1, City, Customer no. I want Name2 also to be displayed. Can somebody please suggest.
Thank you.hi,
for this you will have to change the search term involved during the master data creation.
now during the creation of customer master data , enter the name as the search term in the data base.
if possible change the database of customers and insert the name in the search term.
without it, it will be really difficult to locate the customers with the search term as their name
regards,
Siddharth. -
Create Service Request for Customer
hi,
can u pls tell me how to create Service Requset for Customer using BAPI??????
regards
Guruhi,
thanks for ur response
how to assign a service request to person who is suitable for service.
(for example customer faced problem with our product so he will make a complaint on that product, i think this is service request , we need to resolve that problem as we assign that service request to some other person who can able to solve .
<b>Am i thinking in Correct way</b>)
i need bapis to ful fill for the above senario
regards
Guru -
Create JPub class for table of records/record types and access them
Hi,
I have the following object types in the database:
PERSON_REC with 3 fields and
PERSON_TAB table of PERSON_REC
I have created a Java class for PERSON_REC using JPub. The created class implements CustomDatum and CustomDatumFactory. How do I do it for table of records type i.e PERSON_TAB??
I have a stored procedure that has PERSON_TAB as a OUT parameter. How do retrieve the value from callablestatement? Is there a sample code anywhere. Kindly direct me.
I have seen sample code and documentation for PERSON_REC type from JPub but not for table of records; also there is no sample code for accessing them from JDBC. Please help me..
Thanks and regards,
Vadi.Vadi,
Try searching this forum's archives for the words "STRUCT" and "ARRAY".
Good Luck,
Avi.
Maybe you are looking for
-
Will adding RAM to my Mac Mini make it run faster ?
Hey all, Since I upgraded to Mavericks, I've started having two issues with my Mac Mini (mid-2011 edition, with 4Gb of RAM and an Intel i5 processor at 2,5Ghz) 1. I use FileVault so I need to login as soon as my machine will boot. Unfortunately, afte
-
Just set up new iMac with a 2TB external Lacie drive, partitioned for Time Machine and SuperDuper, and connected with Firewire 800. I want to also use my old 500GB Lacie external drive for temporarily holding unedited movies, whilst I work on them in
-
How to use EWS or Powershell to rename all folders that have a forward slash in them
We have many users that have created folders in Outlook that have forward slashes in the name (i.e. / ). They did this in Outlook/Exchange 2003. We upgraded to Outlook 2010 and this is no longer aloud so there are issues with the folders when perform
-
Battery charge is not showing correctly in Lion
Hi Guys. Quick question, my new macbook Mid 2010 laptop is not showing the correct charge, It is showing 96% charged and the MagSafe is showing Green. I have reset the SMC and PRAM with no effect. do you think the battery needs replacing? I did full
-
How to rearrange the structure of a table by using a view?
At wits end: I need to reorganize the structure of a table into a new structure - either as a view or actually moving the data from the old structure to the new structure (using a view). The old structure is: TESTNAME, SCHOOL_ID, PTILE1, PTILE2, PTIL