ERROR IN RUNNING T.CODE F.17
While running the T.code F.17 for Balance confirmation to customers/vendors an error message comes that "Reply address does not exist for the Company Code".
How to overcome it?
Check Company code Address. If there is a client copy the company code data is not copied to the target client. This can be one reason. Check if in the source client it is working OK or not.
Ashish
Similar Messages
-
Error while running transaction code f-42
hi all,
i am getting an error while running t code F-42.
Error is 'Global Number Parameter Is Missing'.
Please solve this
Thanks in AdvanceHi,
Check Global parameters settings at OBY6.
Thanks!
Assign points
Zia -
Error in Running JCO code in Netweaver Devloper Studio
Hi,
I have written a simple java program to get data from SAP using JCO code. It get compiled successfuly but when I run it, It gives the following error :
java.lang.NoClassDefFoundError
at com.sap.mw.jco.MiddlewareJRfc$Client.connect(MiddlewareJRfc.java:798)
at com.sap.mw.jco.JCO$Client.connect(JCO.java:2829)
at com.sap.test.SAPPoDetailMain.getPODetail(SAPPoDetailMain.java:39)
at com.sap.test.SAPPoDetailMain.main(SAPPoDetailMain.java:77)
Exception in thread "main"
Is there any way in which I can run this code in Netweaver Devloper Studio.
Thanks
NareshHi Stefan,
I have tried that but still it is giving the same. I am using Generated proxied to call function module. Once again copying the detailed error :
java.lang.UnsatisfiedLinkError: no CpicNative in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1491)
at java.lang.Runtime.loadLibrary0(Runtime.java:788)
at java.lang.System.loadLibrary(System.java:834)
at com.sap.mw.rfc.api.RfcApi.initializeDLL(RfcApi.java:1285)
at com.sap.mw.rfc.api.RfcApi.<clinit>(RfcApi.java:1299)
at com.sap.mw.jco.MiddlewareJRfc.<clinit>(MiddlewareJRfc.java:228)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:141)
at com.sap.mw.jco.JCO.<clinit>(JCO.java:630)
at com.sap.test.SAPPoDetailMain.getPODetail(SAPPoDetailMain.java:26)
at com.sap.test.SAPPoDetailMain.main(SAPPoDetailMain.java:79)
java.lang.NoClassDefFoundError
at com.sap.mw.jco.MiddlewareJRfc$Client.connect(MiddlewareJRfc.java:798)
at com.sap.mw.jco.JCO$Client.connect(JCO.java:2829)
at com.sap.test.SAPPoDetailMain.getPODetail(SAPPoDetailMain.java:41)
at com.sap.test.SAPPoDetailMain.main(SAPPoDetailMain.java:79)
Exception in thread "main"
Thanks
Naresh -
"java.lang.NoClassDefFoundError" error while run t-code SXMB_IFR in XI
Hi
When I am trying to run t-code <b>SXMB_IFR</b> in Xi it give me below error.
<b>Exception Details
Exception class: java.lang.NoClassDefFoundError
Message
java.lang.NoClassDefFoundError
Stacktrace
Thrown:
java.lang.NoClassDefFoundError: null
at com.sap.aii.ibrep.server.transport.api.RepTransportServiceStartup.startupIbrepTransportServices(RepTransportServiceStartup.java:22)
at com.sap.aii.ibrep.server.applcomp.StartupCodeEntry.startup(StartupCodeEntry.java:426)
at com.sap.aii.ib.core.applcomp.IStartupCodeEntry.startupIfNotAlreadyDone(IStartupCodeEntry.java:33)
at com.sap.aii.ib.core.applcomp.ExplicitApplicationComponentImpl.startup(ExplicitApplicationComponentImpl.java:116)
at com.sap.aii.ib.core.applcomp.ExplicitApplicationComponents.startup(ExplicitApplicationComponents.java:374)
at com.sap.aii.ib.core.applcomp.ApplicationComponent.startup(ApplicationComponent.java:201)
at jsp_Main1172666584171._jspService(jsp_Main1172666584171.java:21)
at com.sap.engine.services.servlets_jsp.server.servlet.JSPServlet.service(JSPServlet.java:467)
at com.sap.engine.services.servlets_jsp.server.servlet.JSPServlet.service(JSPServlet.java:181)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:385)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:263)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:340)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:318)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:821)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:239)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:147)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:37)
at com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java:71)
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:94)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:162)</b>
Reg,
Hiren PatelHi Hiren,
Check these threads:
Problem starting SXMB_IFR and J2EE Engine
java.lang.NoClassDefFoundError
Regards,
Subhasha Ranjan -
Error while running the code for watermarking
HI,
I am using pdf proffesional and SDK for developing my application. At the time of watermarking I am getting below mentioned error.
An unhandled exception of type 'System.MissingMemberException' occurred in microsoft.visualbasic.dll
Additional information: Public member 'addWatermarkFromText' on type '_ComObject' not found.
Code for watermarking is
Dim pdDoc As Acrobat.CAcroPDDoc
pdDoc = CreateObject("AcroExch.PDDoc")
If pdDoc Is Nothing Then
MsgBox("Failed to create Acrobat PDDoc object.")
End
End If
' Open the source PDF document
Dim rc As Integer
rc = pdDoc.Open(SamplePDFFilePath)
If rc <> -1 Then
MsgBox("Failed to open PDF document " & SamplePDFFilePath)
End
End If
' Acquire the Acrobat JavaScript Object interface from the PDDoc object
jsObj = pdDoc.GetJSObject
' Add a watermark from a file.
' function prototype:
' addWatermarkFromFile(cDIPath, nSourcePage, nStart, nEnd, bOnTop, bOnScreen, bOnPrint, nHorizAlign, nVertAlign, nHorizValue, nVertValue, bPercentage, nScale, bFixedPrint, nRotation, nOpacity)
jsObj.addWatermarkFromFile(SampleImageFilePath, 0, 0, 0, True, True, True, 0, 3, 10, -10, False, 0.4, False, 0, 0.7)
In the above code I am getting error in last line..
Kindly help me!!!!is jsObj returing null?
-
Error while running the code using jvm but its working fine with eclipse3.0
Hi Everyone,
I have a problem while building xml document.
I have developed my java files using IBM Eclipse 3.0 and i had no problem while executing the files.
But while i am trying to execute the same code in jdk/bin, xml document is not working..
No error encountered while compiling but while executing when i try to print the xml string it just gives the root element name like [root : null]
Can anyone suggest some solution?Its urgent please....since i didnt get any reply when i posted it at http://forum.java.sun.com/thread.jspa?threadID=723865
i have posted my pbm in the forum.
Anyways i never got a reply back for neither of my posts. -
Getting error while running the code to get the credentials from CSF in OIM
Hi,
I am using the below error while trying to fetch the username and password of OIM from the credential store:
oracle.security.jps.service.credstore.CredentialAccessPermission context=SYSTEM,mapName=oracle.oim.sysadminMap,keyName= read*
below is the code I am using to fetch the credentials:
try{
System.out.println("Prototype for invoking an OIM API from a SOA Composite");
System.out.println("RTM Usecase: Organization Administrator");
String oimUserName = "";
String oimPassword = "";
String oimURL = "";
// String roleApprover = "";
// String actKey = "";
//get oimuser credentials
System.out.println("Test workflow");
oracle.security.jps.JpsContext ctx =
oracle.security.jps.JpsContextFactory.getContextFactory().getContext();
final oracle.security.jps.service.credstore.CredentialStore cs =
(oracle.security.jps.service.credstore.CredentialStore)
ctx.getServiceInstance(oracle.security.jps.service.credstore.CredentialStore.class);
oracle.security.jps.service.credstore.CredentialMap cmap =
cs.getCredentialMap("oracle.oim.sysadminMap");
oracle.security.jps.service.credstore.Credential cred = cmap.getCredential("basic.credentials");
if (cred instanceof oracle.security.jps.service.credstore.PasswordCredential) {
oracle.security.jps.service.credstore.PasswordCredential pcred =
(oracle.security.jps.service.credstore.PasswordCredential)cred;
char[] p = pcred.getPassword();
oimUserName = pcred.getName();
oimPassword = new String(p);
System.out.println(oimUserName);
Edited by: 986434 on Mar 26, 2013 12:40 PM
Edited by: 986434 on Mar 31, 2013 9:04 PMOr follow the note from oracle to update the system properties to provide access to your code/jar. You need to provide permissions to the jar containing the code which is trying to read values from CSF.
MOS article: 1478645.1
-Bikash -
Hi
I have requirement of converting word document to PDF/A. Iam using the APIs provided by Livecycle ES. I tried to implement the requirement by creating a java program with the jar files provided. But iam getting the following error. Can anyone plz help me?
ALC-PDG-1000-000: com.adobe.livecycle.generatepdf.client.ConversionException: ALC-PDG-001-000-Conversion failed because of an exception.
Causing exception message : Remote EJBObject lookup failed for 'ejb/Invocation'; nested exception is:
javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file: java.naming.factory.initial
Caused by: java.rmi.RemoteException: Remote EJBObject lookup failed for 'ejb/Invocation'; nested exception is:
javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file: java.naming.factory.initial
at com.adobe.idp.dsc.provider.impl.ejb.EjbMessageDispatcher.initialise(EjbMessageDispatcher. java:90)
at com.adobe.idp.dsc.provider.impl.ejb.EjbMessageDispatcher.doSend(EjbMessageDispatcher.java :119)
at com.adobe.idp.dsc.provider.impl.base.AbstractMessageDispatcher.send(AbstractMessageDispat cher.java:57)
at com.adobe.idp.dsc.clientsdk.ServiceClient.invoke(ServiceClient.java:208)
at com.adobe.livecycle.generatepdf.client.GeneratePdfServiceClient.createPDF(GeneratePdfServ iceClient.java:172)
at Converttopdfa.main(Converttopdfa.java:44)
Caused by: javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file: java.naming.factory.initial
at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
at javax.naming.InitialContext.getURLOrDefaultInitCtx(Unknown Source)
at javax.naming.InitialContext.lookup(Unknown Source)
at com.adobe.idp.dsc.provider.impl.ejb.EjbMessageDispatcher.initialise(EjbMessageDispatcher. java:84)
... 5 more
Error OCCURRED: ALC-PDG-001-000-Conversion failed because of an exception.
Causing exception message : Remote EJBObject lookup failed for 'ejb/Invocation'; nested exception is:
javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file: java.naming.factory.initial
at com.adobe.livecycle.generatepdf.client.GeneratePdfServiceClient.createPDF(GeneratePdfServ iceClient.java:194)
at Converttopdfa.main(Converttopdfa.java:44)XML reading program<br /><br />package com.parser;<br />import static org.w3c.dom.Node.ATTRIBUTE_NODE;<br />import static org.w3c.dom.Node.CDATA_SECTION_NODE;<br />import static org.w3c.dom.Node.COMMENT_NODE;<br />import static org.w3c.dom.Node.DOCUMENT_TYPE_NODE;<br />import static org.w3c.dom.Node.ELEMENT_NODE;<br />import static org.w3c.dom.Node.ENTITY_NODE;<br />import static org.w3c.dom.Node.ENTITY_REFERENCE_NODE;<br />import static org.w3c.dom.Node.NOTATION_NODE;<br />import static org.w3c.dom.Node.PROCESSING_INSTRUCTION_NODE;<br />import static org.w3c.dom.Node.TEXT_NODE;<br /><br />import java.io.IOException;<br />import java.io.StringReader;<br />import java.util.ArrayList;<br />import java.util.HashMap;<br /><br />import javax.xml.parsers.DocumentBuilder;<br />import javax.xml.parsers.DocumentBuilderFactory;<br />import javax.xml.parsers.ParserConfigurationException;<br /><br />import org.w3c.dom.Document;<br />import org.w3c.dom.DocumentType;<br />import org.w3c.dom.Node;<br />import org.w3c.dom.NodeList;<br />import org.w3c.dom.Text;<br />import org.xml.sax.InputSource;<br />import org.xml.sax.SAXException;<br /><br />public class MainClass {<br /> <br /> HashMap map = new HashMap();<br /> ArrayList a = new ArrayList(10);<br /> public static void main(String args[]) {<br /> DocumentBuilderFactory builderFactory = DocumentBuilderFactory.newInstance();<br /> builderFactory.setNamespaceAware(true); // Set namespace aware<br /> builderFactory.setValidating(true); // and validating parser feaures<br /> builderFactory.setIgnoringElementContentWhitespace(true); <br /> <br /> DocumentBuilder builder = null;<br /> try {<br /> builder = builderFactory.newDocumentBuilder(); // Create the parser<br /> } catch(ParserConfigurationException e) {<br /> e.printStackTrace();<br /> }<br /> Document xmlDoc = null;<br /><br /> try {<br /> xmlDoc = builder.parse(new InputSource(new StringReader(xmlString1)));<br /><br /> } catch(SAXException e) {<br /> e.printStackTrace();<br /><br /> } catch(IOException e) {<br /> e.printStackTrace();<br /> }<br /> DocumentType doctype = xmlDoc.getDoctype(); <br /> if(doctype == null) { <br /> System.out.println("DOCTYPE is null");<br /> } else { <br /> System.out.println("DOCTYPE node:\n" + doctype.getInternalSubset());<br /> }<br /><br /> System.out.println("\nDocument body contents are:");MainClass m = new MainClass();<br /> m.listNodes(xmlDoc.getDocumentElement(),""); // Root element & children<br /> <br /> m.abc();<br /> }<br /> public void abc(){<br /> System.out.println("++++"+a.size());<br /> <br /> for(int i=0; i<a.size();i+=2){<br /> map.put(a.get(i), a.get(i+1));<br /> <br /> <br /> //map.put(i, i+1);<br /> <br /> //map.put(a.get(i), a.get(i+1));<br /> } <br /> <br /> System.out.println("Map"+map.toString());<br /> <br /> <br /> }<br /> <br /> private void listNodes(Node node, String indent) {<br /> try{<br /> <br /> String nodeName = node.getNodeName();<br /> //System.out.println(indent+" Node: " + nodeName);<br /> // if(nodeName == "id")<br /> short type = node.getNodeType();<br /> <br /> //System.out.println(indent+" Node Type: " + nodeType(type));<br /> if(type == TEXT_NODE){<br /> <br /> <br />// System.out.println(indent+" Node is: "+(node).getParentNode().getNodeName());<br /> if((node).getParentNode().getNodeName()== "id"){<br /> //System.out.println(indent+" Node is: "+(node).getParentNode().getNodeName());<br /> System.out.println(indent+" key is: "+((Text)node).getWholeText());<br /> a.add(((Text)node).getWholeText());<br /> }<br /> if((node).getParentNode().getNodeName()== "val"){<br /> //System.out.println(indent+" Node is: "+(node).getParentNode().getNodeName());<br /> System.out.println(indent+" value is: "+((Text)node).getWholeText());<br /> a.add(((Text)node).getWholeText());<br /> }<br /> <br /> <br /> }<br /> <br /> NodeList list = node.getChildNodes(); <br /> if(list.getLength() > 0) { <br /> // System.out.println(indent+" Child Nodes of "+nodeName+" are:");<br /> for(int i = 0 ; i<list.getLength() ; i++) {<br /> listNodes(list.item(i),indent+" "); <br /> }<br /> <br /> <br /> } <br /> } catch(Exception e){<br /> e.printStackTrace();<br /> }<br /> }<br /><br /> static String nodeType(short type) {<br /> switch(type) {<br /> case ELEMENT_NODE: return "Element";<br /> case DOCUMENT_TYPE_NODE: return "Document type";<br /> case ENTITY_NODE: return "Entity";<br /> case ENTITY_REFERENCE_NODE: return "Entity reference";<br /> case NOTATION_NODE: return "Notation";<br /> case TEXT_NODE: return "Text";<br /> case COMMENT_NODE: return "Comment";<br /> case CDATA_SECTION_NODE: return "CDATA Section";<br /> case ATTRIBUTE_NODE: return "Attribute";<br /> case PROCESSING_INSTRUCTION_NODE: return "Attribute";<br /> }<br /> return "Unidentified";<br /> }<br /><br /> static String xmlString ="<?xml version=\"1.0\"?>" +<br /> " <!DOCTYPE address" +<br /> " [" +<br /> " <!ELEMENT address (buildingnumber, street, city, state, zip)>" +<br /> <br /> " <!ELEMENT buildingnumber (#PCDATA)>" +<br /> " <!ELEMENT street (#PCDATA)>" +<br /> " <!ELEMENT city (#PCDATA)>" +<br /> " <!ELEMENT state (#PCDATA)>" +<br /> " <!ELEMENT zip (#PCDATA)>" +<br /> " ]>" +<br /> "" +<br /> " <address>" +<br /> " <buildingnumber> 29 </buildingnumber>" +<br /> " <street> South Street</street>" +<br /> " <city>Vancouver</city>" +<br /> "" +<br /> " <state>BC</state>" +<br /> " <zip>V6V 4U7</zip>" +<br /> " </address>";<br /> <br /> static String xmlString1 ="<?xml version=\"1.0\"?>" +<br /> " <!DOCTYPE retrCtx" +<br /> " [" +<br /> <br /> <br /> " <!ELEMENT retrCtx (id, val)>" +<br /> <br /> " <!ELEMENT id (#PCDATA)>" +<br /> " <!ELEMENT val (#PCDATA)>" +<br /> " ]>" +<br /> "" +<br /> "<retrCtx ver = '1'>" +<br /> " <item_map type='std'>" +<br /> " <item>" +<br /> " <id>rtrId</id>" +<br /> " <val>00993236327</val>" +<br /> " </item>" +<br /> " <item>" +<br /> " <id>rtrId2</id>" +<br /> " <val>009932363278</val>" +<br /> " </item>" +<br /> " </item_map> " +<br /> " <item_map type='std'>" +<br /> " <item>" +<br /> " <id>rtrId3</id>" +<br /> " <val>00993236329</val>" +<br /> " </item>" +<br /> " <item>" +<br /> " <id>rtrId4</id>" +<br /> " <val>009932363210</val>" +<br /> " </item>" +<br /> " </item_map> " +<br /> " </retrCtx>";<br />}
-
GPIB: I am having some problem in running Labview code properly.
Hello,
I have written a labview code to drvie my stepper motor (using GPIB function). This code is supposed to move
the stepper motors and keep updating the current position of motors. I am having an unique problem. This code runs fine for trial no.1st, 3rd, 5th and so on. While it fails to update for trial no 2nd , 4th, 6th and so on.
The main code is "motion_update_Final_Newport.vi". It will work for labview 7 as well as 7.1.
You may not be able to run this code. However, you may be able to understand my error easily as I have figured out where is the error. The update is based on a function, which returns (string) 0 for motion not done and 1 for motion done. This value is diaplayed in "output 1" and works fine. However, "check 2" which is an indicator does not work for trial no 2nd , 4th, 6th and so on.
If you go where I have "output 1", there is a while loop and "check 2" is an indicator for check. It remains on for trial no 2nd , 4th, 6th and so on.
I am attaching the code and this is for ESP 300 motion controller Newport co. I am certain that some of you would be able to figure out the error without running the code.
Thanx in advance,
DushyantMessage Edited by Dushyant on 04-18-2005 04:43 PM
Attachments:
modified_Motion_Update_Final_7.zip 228 KBThanks a lot for trying to help me.
I am sure that I am not moving any subvi.
Steps that I am trying to accomplish:
(i) I am moving the stepper motors for a relative distance.
(ii) Then I am trying to get the motor position after delay (ms) [defined in front panel].
Now, how I am trying to accomplish:
First outer stacked sequence:
seq 0 of outer: This sets GPIB as controller in command (without this I was having trouble when I was combining this with photodiode code). Please avoid this seq.
seq 1 of outer: The motor moves to certain relative distance. (I do not think that there is anything wrong here).
seq 2 of sequence: This part does updates the motor coordinate after delay (ms). Inside this, there is a case structure to choose whether I want the update.
If I want the update, then following steps take place inside the case structure:
Inner stacked sequence:
seq 0 of inner: [This is where I think that error is taking place] Inside this, There is a while loop which terminates when the "Motion Done?"
function returns "1", else "0". Inside the flat sequence structure, first sequence "updates" the motor coordinate while second check
whether the motion is done .
Seq 1 of inner: Controller wait till motor stops.
seq 2 of inner: The motor coordnate is updated for the last time.
seq 3 of outer: It clears the GPIB.Message Edited by Dushyant on 04-19-2005 10:22 PM
Attachments:
Wait_Till_Motor_Stops.vi 13 KB -
Error while running code template mapping between two oracle tables
Hello All
Iam getting the following error while running code template mapping between two oracle tables. Using OWB 11gR2 and oracle 11gR2 DB.
java.sql.SQLException: ORA-20001: The active workspace is not valid as a target for this mapping
c: at "OWBSYS.WB_RT_MAPAUDIT_UTIL", line 1065
ORA-06512: at "OWBSYS.WB_RT_MAPAUDIT_UTIL", line 1087
ORA-06512: at "SOURCE.FILENET_EX_UNIT_3", line 555
ORA-06512: at line 4
Job 51 error: java.sql.SQLException: ORA-20001: The active workspace is not valid as a target for this mapping
ORA-06512: at "OWBSYS.WB_RT_MAPAUDIT_UTIL", line 1065
ORA-06512: at "OWBSYS.WB_RT_MAPAUDIT_UTIL", line 1087
ORA-06512: at "SOURCE.FILENET_EX_UNIT_3", line 555
ORA-06512: at line 4
Quick help is highly appreciated.Dera Dallan
its only a target user for the workspace where you are deploying the mapping from.
I have two repositories for two different projects. each repositary has its own workspace.
ex:-
Project 1
Work space bpms_rep_owner
Repositary owner bpms_rep_owner
Repositary user bpms_rep_user
Project 2
Work space dem_rep_owner
Repositary owner dem_rep_owner
Repositary user dem_rep_user
Reg
S.Gyazuddin -
Error while running PING program using applet. Pls correct the code.-urgent
Can anyone pls correct the error in the below code.
Program : TestExec1
Using : Applet
Logic : Trying to display the ping status in the text area but it returns error...!
CODING
import java.awt.*;
import java.lang.*;
import java.io.*;
import java.net.*;
import java.awt.event.*;
import java.applet.*;
import java.*;
/*<applet code="TestExec1" width=380 height=150>
</applet>
public class TestExec1 extends Applet
String line = null;
TextArea outputArea;
Process p;
public void init()
outputArea = new TextArea(20,20);
public void start()
try
Process p= Runtime.getRuntime().exec("ping 192.168.100.192 -t");
BufferedReader in = new BufferedReader(new InputStreamReader(p.getInputStream()));
while ((line = in.readLine()) != null)
outputArea.append("\n" + line);
System.out.println(line);
catch (IOException e)
e.printStackTrace();
Error : C:\Program Files\Java\jdk1.6.0_02\bin>appletviewer TestExec1.java
java.security.AccessControlException: access denied (java.io.FilePermission <<AL
L FILES>> execute)
at java.security.AccessControlContext.checkPermission(AccessControlConte
xt.java:323)
at java.security.AccessController.checkPermission(AccessController.java:
546)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
at java.lang.SecurityManager.checkExec(SecurityManager.java:782)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:447)
at java.lang.Runtime.exec(Runtime.java:593)
at java.lang.Runtime.exec(Runtime.java:431)
at java.lang.Runtime.exec(Runtime.java:328)
at TestExec1.start(TestExec1.java:31)
at sun.applet.AppletPanel.run(AppletPanel.java:458)
at java.lang.Thread.run(Thread.java:619)
Regards
ESMjava.security.AccessControlException: access denied (java.io.FilePermission
<<ALL FILES>> execute)This message tells you that the applet does not have permission to access/execute files. Access may be granted by either signing the applet, which allows the user to grant (or not grant) the access when running the applet, or by adding the necessary permission file to the user's computer.
See http://java.sun.com/javase/6/docs/technotes/guides/security/index.html -
Am facing this error sqlcode :-6502 while running sql code in plsql block
Am facing this error sqlcode :-6502 while running sql code in plsql block.
am using query :
SELECT SUBSTR('123456DE789KL|987654321|B',1,INSTR('123456DE789KL|987654321|B','|')-1) FROM DUAL;
CAN any body tell me why.BD_Fayez wrote:
I've tried the following, but don't get any error.As I mentioned, most likely variable is too short:
SQL> declare
2 strSub varchar2(2);
3 begin
4 SELECT SUBSTR('123456DE789KL|987654321|B',1,INSTR('123456DE789KL|987654321|B','|')-1) into strSub FROM DUAL;
5 dbms_output.put_line(strSub);
6 end;
7 /
declare
ERROR at line 1:
ORA-06502: PL/SQL: numeric or value error: character string buffer too small
ORA-06512: at line 4
SQL> SY. -
Error message when running Transaction Code = ME84
hi,
i am getting an error message when running Transaction Code = ME84
Error is 'No processing (error message P5 017), No data for chosen selection'
can someone please guide me on this ?Hi Mahendra,
There are several reasons for the release not happeneing.
1. The issue could be in the selection of release type
2. Scope of selection
3. Strategy profile
Please check whether the selection parameters are considered are right for release to happen.
Regards,
Harish -
Invalid Response Code: (401) Unauthorized error in running Interactive form
Dear All,
I am trying to deploy and run a interactive form developed in webdynpro. but i get the following error upon running the form :
com.sap.tc.webdynpro.pdfobject.core.PDFObjectRuntimeException: Service call exception; nested exception is:
com.sap.engine.services.webservices.jaxrpc.exceptions.InvalidResponseCodeException: Invalid Response Code: (401) Unauthorized.
at com.sap.tc.webdynpro.pdfobject.core.PDFObject.doSoapCall(PDFObject.java:282)
at com.sap.tc.webdynpro.pdfobject.core.PDFObject.createPDF(PDFObject.java:224)
at com.sap.tc.webdynpro.clientserver.adobe.AdobeFormHelper.createPDFDocumentForUIElement(AdobeFormHelper.java:483)
at com.sap.tc.webdynpro.clientserver.uielib.adobe.impl.InteractiveForm.afterHandleActionEvent(InteractiveForm.java:185)
at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.afterHandleActionEvent(ClientApplication.java:1154)
at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.handleActionEvent(WebDynproMainTask.java:402)
at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.execute(WebDynproMainTask.java:649)
at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:59)
at com.sap.tc.webdynpro.clientserver.cal.ClientManager.doProcessing(ClientManager.java:248)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doWebDynproProcessing(DispatcherServlet.java:154)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:116)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doGet(DispatcherServlet.java:48)
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:95)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:160)
Caused by: java.rmi.RemoteException: Service call exception; nested exception is:
com.sap.engine.services.webservices.jaxrpc.exceptions.InvalidResponseCodeException: Invalid Response Code: (401) Unauthorized.
at com.sap.tc.webdynpro.adsproxy.ConfigBindingStub.rpData(ConfigBindingStub.java:85)
at com.sap.tc.webdynpro.adsproxy.ConfigBindingStub.rpData(ConfigBindingStub.java:95)
at com.sap.tc.webdynpro.pdfobject.core.PDFObject.doSoapCall(PDFObject.java:279)
... 27 more
Caused by: com.sap.engine.services.webservices.jaxrpc.exceptions.InvalidResponseCodeException: Invalid Response Code: (401) Unauthorized.
at com.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.MimeHttpBinding.handleResponseMessage(MimeHttpBinding.java:836)
at com.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.MimeHttpBinding.call(MimeHttpBinding.java:1238)
at com.sap.tc.webdynpro.adsproxy.ConfigBindingStub.rpData(ConfigBindingStub.java:78)
... 29 more
I am using a NW04 sandbox server. I have checked the configuration steps and even did the Quick test in AdobeDocumentServices and got the expected response.
I have verified the ADSUser settings and password too. And still i am getting this error.
Can you please let me know if any other settings are required.
Thanks in Advance,
BharatDear BASIS Guys,
Now i'm implement LAC 2.0 on SRM 5.0 , when i test the lac by smoke test the error occured following belowing ,
#1.#00144F50BED1007C000000150000377400043741BCF38D1C#1186655389322#com.sap.srm.la.server.msg.JcoServerController#sap.com/com.sap.srm.la#com.sap.srm.la.server.msg.JcoServerController#SRMSTPUR#165##erpdevsrci_SRD_103409850#SRMSTPUR#6b11d670466311dcc1a400144f50bed1#SAPEngine_Application_Thread[impl:3]_18##0#0#Warning#1#/Applications/SRMLA/SERVER#Plain###Auction cannot be viewed in current status
at com.sap.srm.la.server.jco.services.AbstractJcoService.convertToServerException(Unknown Source)
at com.sap.srm.la.server.jco.services.AbstractJcoService.execute(Unknown Source)
at com.sap.srm.la.server.jco.services.JcoServiceProvider.logon(Unknown Source)
at com.sap.srm.la.server.msg.JcoServerController.login(Unknown Source)
at com.sap.srm.la.server.jmx.JMXMonitorServerController.login(Unknown Source)
at com.sap.srm.la.server.msg.MessagingServlet.handleHelloReq(Unknown Source)
at com.sap.srm.la.server.msg.MessagingServlet.processRequestMessages(Unknown Source)
at com.sap.srm.la.server.msg.MessagingServlet.processAppletRequest(Unknown Source)
at com.sap.srm.la.server.msg.MessagingServlet.doPost(Unknown Source)
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:387)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:365)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:944)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:266)
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:100)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
Please help about how to solve and configre it .
BR,
Rang -
Error when run the compiled code
I have code below,
import java.sql.*;
public class testmysql{
public static void main(String args[]){
Connection conn = null;
try{
String userName = "root";
String password = "password";
String url = "jdbc:mysql://localhost:3307/ectol_db";
Class.forName ("com.mysql.jdbc.Driver").newInstance ();
conn = DriverManager.getConnection (url, userName, password);
System.out.println ("Database connection established");
}catch (Exception e) {
e.printStackTrace();
System.err.println ("Cannot connect to database server");
}finally{
if (conn != null){
try{
conn.close ();
System.out.println ("Database connection terminated");
}catch (Exception e) {
e.printStackTrace();
/* ignore close errors */
and i have the mysql-connector-5.0.6.jar
I able to compile code with javac testmysql.java command
However, when i try to run the code with java testmysql command, it prompt me error below
java.lang.ClassNotFoundException: com.mysql.jdbc.Driver
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:164)
at testmysql.main(testmysql.java:11)
Cannot connect to database server
Anyone can help?ccwoon80 wrote:
Actually, the jar and class file was in the same path...
Thus, what the correct command i need to run the my code?Then your classpath would be .;mysql.jar (or whatever the heck the name of the connector was).
So java -cp .;mysql.jar foo.bar.MyClass
Maybe you are looking for
-
Can't sort books by genre in itunes 11?
Hey guys, I just found out that I can't sort my ebooks by genre in iTunes 11 anymore. There is audiobooks, books, pdf, author and list in the bar above all the books. Is there something I missed, or is there a way to get genre back to itunes? I would
-
Why do I have to add the Schema name to a table created under SYSTEM.
The TABLE was created under the SYSTEM account & PSW and accessed under SYSTEM & PSW.
-
XFWM Drag Panel to Un-Maximize Titleless Window
I'm using xfwm-titleless+ with xfce4-windowck-plugin. Everything works great and I now have the title of my windows displayed in my top panel, along with the buttons to close, minimize, and maximize. My problem is, I've had this setup on gnome-shell
-
Compatibility Oracle 9i and Solaris 10.5
Hi, I found the following article somewhere that : Oracle 9i can not install on the solaris sparc 10.5 Art: **Certify - Product Version and Other Selections: Oracle Database - Enterprise Edition On Solaris Operating System x86** **General Notes For O
-
Error message in IDM 5 sp 2 while trying to send mail
I did put the activation.jar and mail.jar files in the lib directory and got the following error: java.lang.SecurityException: class "javax.activation.DataHandler"'s signer information does not match signer information of other classes in the same pa