Error in reading Latin caron character(Č, č, ď, ě, ň, ř, ť, ů) in Java I18N
Hi,
While reading Czech characters, some of Latin characters with caron (Ex: Č, č, ď, ě, ň, ř, ť, ů), these characters displayed as '?', we tried to fix it through generate Unicode using native2ascii tool in jdk for these characters we can't generate the Unicode properly, please give us a quick solution/references/suggestions.
String czech = "Č, č, ď, ě, ň, ř, ť, ů";
try {
System.out.println("UTF-8 czech: " + new String(czech.getBytes("UTF-8"), "UTF-8"));
System.out.println("UTF-8 ascii: " + new String(asciiCzech.getBytes("8859_1"), "8859_1"));
} catch (Exception e) { e.printStackTrace();
The generated unicode are: \u02d9\u0163,
Note: We tried the native2ascii for Windows-1252, Cp1252, ISO-8859-1 and ISO-8859-2 encoding methods.
Please give us some solution to read this type of caron characters in Java.
HI TheAvalanche,
I encoded the property file with ISO-8859-2 converter
The original is '+Č+, č, ď, ě, ň, ř, ť, ů'
The generated unicode is '+*\u00c4\u008c*+, \u00c4\u008d, \u00c4\u008f, \u00c4\u009b, \u0139\u0088, \u0139\u0099, \u0139\u013d, \u0139\u017b'
On looking the unicoded file for each single character the native to ascii generate two Unicode (highlighted italic).
In the console it prints like this Ä, Ä, Ä, Ä, Ĺ, Ĺ, ĹĽ, ĹŻ.
As mentioned in the pervious reply I set the java file encoding type to the ISO-8859-2 using Eclipse-> selected java file property-> Text file encoding.
I used the following command to generate the Unicode file,
native2ascii.exe -encoding ISO-8859-2 czech.properties cs_CZ.properties
Let me know if I did any mistake on the natvie2ascii.exe
I printed the encoded string as follows
final String ascii =
"\u00c4\u008c, \u00c4\u008d, \u00c4\u008f, \u00c4\u009b, \u0139\u0088, \u0139\u0099, \u0139\u013d, \u0139\u017b";
System.out.println(new String(ascii.getBytes("ISO-8859-2"),
"ISO-8859-2"));
final OutputStreamWriter outStreamWriter =
new OutputStreamWriter(System.out, "ISO-8859-2");
final PrintWriter writer = new PrintWriter(outStreamWriter, true);
writer.println(ascii);
writer.flush();
writer.close();
Thanks in advance.
Similar Messages
-
Error in reading sp(Oracle 9i) from java.
Hello,
While I am reading sp,it returns a result set,in java an error is occuring.Anybody can help me for solving this problem.I am attching the java code,error message and procedure below.
import java.sql.*;
public class CallOracleProc
public static void main(String[] argv)
Connection conn=null;
ResultSet rs=null;
CallableStatement cstmt=null;
try
Class.forName("oracle.jdbc.driver.OracleDriver");
conn=DriverManager.getConnection("jdbc:oracle:thin:@192.168.1.56:1521:hpcl","uday","uday");
cstmt = conn.prepareCall("{? = call PKGMORTGAGEAPP.sproc_GetRates}");
cstmt.registerOutParameter(1, oracle.jdbc.driver.OracleTypes.CURSOR );
cstmt.executeUpdate();
while (rset.next())
str += rset.getInt(1)+" "+ rset.getInt(2)+" "
rset.getString(3)" "+rset.getInt(4)+" "+rset.getInt(5)+" "+rset.getInt(6)+"\n";
rset.close();
cstmt.close();
conn.close();
catch(Exception e)
System.out.println("Exception in connection"+e.getMessage());
Erro message is
Exception in connectionORA-06550: line 1, column 28:
PLS-00306: wrong number or types of arguments in call to 'SPROC_GETRATES'
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored
The procedure is given below
Create Package Body PKGMORTGAGEAPP
AS
PROCEDURE sproc_GetRates (rateCursor out typeRateCursor)
IS
BEGIN
OPEN rateCursor FOR SELECT * FROM tblMortgageRates;
END;
PROCEDURE sproc_CreateApplication
(fullName in VARCHAR,
propertyValue in NUMBER,
downPayment in NUMBER,
rateID_ in NUMBER,
isRateLocked in NUMBER,
isPreApproved in NUMBER,
insertResult out NUMBER
IS
BEGIN
INSERT INTO tblApplications
VALUES (fullName, propertyValue, downPayment, rateID_,
isRateLocked, isPreApproved);
insertResult := 1;
EXCEPTION
WHEN OTHERS THEN
insertResult := 0;
END;
END pkgMortgageApp;
BIPIN.VPrabhu wrote:
We are not able to connect from SQLplus as we.. If i issue this command in Sqlplus from client machine 'sqlplus admin/admin@'(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=<Ip Adddress>)(PORT=1521)))(CONNECT_DATA=(SID=orcl)))'' it was throwing the below error.
Error: ORA-12541: TNS:no listener
Do i need add get any config details in the client machine..
Could please tell me what is the general procedure to access the DB server from client machine..on DB Server issue following OS commands
lsnrctl start
lsnrctl status
lsnrctl service
COPT commands & results, then PASTE all back here -
Deserialization error: XML reader error: unexpected character content:
Hi,
I'm just learning to write web services. I pasted the service and it seems to work.
It's code is :
package server;
import javax.jws.WebService;
public class HelloImpl {
* @param name
* @return Say hello to the person.
public String sayHello(String name) {
return "Hello, " + name + "!";
}I wired the service using spring, following the tutorial :
public class HellowsImpl {
String name;
public HellowsImpl() {
private Hellows service;
public void setService(Hellows service) {
this.service = service;
public void sayHi() {
try {
service.sayHello(name);
} catch (RemoteException e) {
// TODO
public Hellows getService() {
return service;
public void setName(String name) {
this.name = name;
}But when I try this : HellowsImpl service ;
service=(HellowsImpl)ac.getBean("hellowsclient");
service.sayHi();I get the exception : Caught exception while handling request: deserialization error: XML reader error: unexpected character content: "fd"
Where might be the problem?Hi, I am also facing this error while trying to create "Dynamic Proxy Client"
I am accessing the WS method like this
String UrlString = "http://localhost:1559/DynamicProxy/DProxy?WSDL";
String nameSpace = "urn:DProxy/wsdl";
String serviceName = "DProxy";
String port = "DProxySEIPort";
URL serviceUrl = new URL(UrlString);
ServiceFactory serviceFactory = ServiceFactory.newInstance();
Service service = serviceFactory.createService(serviceUrl,new QName(nameSpace,serviceName));
dproxy.DProxySEI myProxy = (dproxy.DProxySEI)service.getPort(new QName(nameSpace,port),dproxy.DProxySEI.class);
String message = myProxy.sayHello("rajeev");
WSDL File content :
<?xml version="1.0" encoding="UTF-8"?><definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:tns="urn:DProxy/wsdl" xmlns:ns2="urn:DProxy/types" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" name="DProxy" targetNamespace="urn:DProxy/wsdl">
<types>
<schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:tns="urn:DProxy/types" xmlns:soap11-enc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" targetNamespace="urn:DProxy/types">
<complexType name="sayHello">
<sequence>
<element name="String_1" type="string" nillable="true"/></sequence></complexType>
<complexType name="sayHelloResponse">
<sequence>
<element name="result" type="string" nillable="true"/></sequence></complexType>
<element name="sayHello" type="tns:sayHello"/>
<element name="sayHelloResponse" type="tns:sayHelloResponse"/></schema></types>
<message name="DProxySEI_sayHello">
<part name="parameters" element="ns2:sayHello"/></message>
<message name="DProxySEI_sayHelloResponse">
<part name="result" element="ns2:sayHelloResponse"/></message>
<portType name="DProxySEI">
<operation name="sayHello">
<input message="tns:DProxySEI_sayHello"/>
<output message="tns:DProxySEI_sayHelloResponse"/></operation></portType>
<binding name="DProxySEIBinding" type="tns:DProxySEI">
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
<operation name="sayHello">
<soap:operation soapAction=""/>
<input>
<soap:body use="literal"/></input>
<output>
<soap:body use="literal"/></output></operation></binding>
<service name="DProxy">
<port name="DProxySEIPort" binding="tns:DProxySEIBinding">
<soap:address location="http://localhost:1559/DynamicProxy/DProxy" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"/></port></service></definitions>
and Here is my SEI Implementation class
public java.lang.String sayHello(String name) throws java.rmi.RemoteException {
String message = "hi.."+name+"..How r u";
return message;
Can any one help me plz...
Thanks in advance.. -
I recently loaded OSX mavericks on my Imac. I now find I cannot open any Adobe products from CS5. The error message reads " to open Adobe illustrator CS5.app, you need to install a JAva SE 6 runtime. Would you like to check and install one? I try to install but get the error" download error". As far as i know I'm using Adobe Java 7. None of my CS5 suite works anymore............and i really dont want to upgrade to a monthly cloud service fee as i hate this policy with a passion.
This goes for Dreamweaver CC on Mavericks!!!!! THANK YOU!
I couldn't launch Dreamweaver CC. An error told me to install "java se 6 runtime". But when I clicked OK I got another error telling me there is a network problem! I found this forum post on CS6 products, so I tried the download link, installed java 6 and presto, it worked! Thanks! -
Thats the problem.
Bug started happening all the sudden.
Double click a java file on the desktop that just two second before was built fine. Go to build it and it says that.
"error: cannot read: C:\Documents; and Settings\JR\Desktop\logrand.java"
Now note this is a file in the IDE.
copy/paste/change file name/brand new file/turn off the computer. Everything on the desktop path says that same error message. Then i noted the semicolon in the middle of the path after documents. The compilier has misspelled the path name. Its open the file in the IDE but somehow the build step gets a path with a semicolon in the middle.
What do i do?dont bother.
it felt like some sort of corruption so i just reinstalled netbeans and that did the trick.
I was still using 3.5 any way =) -
Error: cannot read HelloworldApp.java
Hello
When I compile the HelloWorldApp.java program. I have this problem:
I get: error: cannot read HelloworldApp.java. What can I do?
In addition, How do I use the options? For example:
javac -g HelloworldApp.java
I get an error saying that I did not use well the flag g. Is the command bad written?.You post has different capitalization of the program name:
". . .compile the HelloWorldApp.java program. I have this problem:
I get: error: cannot read HelloworldApp.java.
Java is case-sensitive, make sure to capitalize correctly.
Open a cmd/command window in the directory that contains your .java file and do a "dir helloworldapp.java" command to verify the file exists with the correct name.
Read the documentation for the javac command to learn how to use the command options. -
Error: cannot read: OurFirstProgram.java
Went through all help to no avail. New to Java. Using Windows 2000. Attempting to compile OurFirstProgram.java using MSDOS prompt. Receiving error: cannot read: OurFirstProgram. File saved as .java in C:\j2sdk1.4.1_01\bin\. javac also in same dir.
From MSDOS tried many variations: c:\>j2sdk1.4.1_01\bin\javac -source 1.4 OurFirstProgram.java
Please advise, thanks.Resolved using simple calculation class:
created seperate directory from j2sdk1.4.1_01 labeled "Fruit" in which Fruit.java file exists.
In MS-DOS from command line, used:
c:\>cd Fruit
C:\Fruit> javac Fruit.java
By identifying the path of where the actual .java file resided, I was able to read and complie the file creating the .class file in the same dir. -
The error message read "file folder iTunes media has invalid character".
This happens if the file is no longer where iTunes expects to find it. Possible causes are that you or some third party tool has moved, renamed or deleted the file, or that the drive it lives on has had a change of drive letter. It is also possible that iTunes has changed from expecting the files to be in the pre-iTunes 9 layout to post-iTunes 9 layout, or vice-versa, and so is looking in slightly the wrong place.
Select a track with an exclamation mark, use Ctrl-I to get info, then cancel when asked to try to locate the track. Look on the summary tab for the location that iTunes thinks the file should be. Now take a look around your hard drive(s). Hopefully you can locate the track in question. If a section of your library has simply been moved, or a drive letter has changed, it should be possible to reverse the actions.
Alternatively, as long as you can find a location holding the missing files, then you should be able to use my FindTracks script to reconnect them to iTunes .
tt2 -
Error: cannot read: *.java
I'm having difficulty pointing javac.exe to my .java files. My console looks similar to this...
C:\Sun\AppServer\jdk\bin>javac Example.java
error: cannot read: Example.java
1 error
How can I get javac to see my file? Any help is greatly appreciated.Hi,
First of all please copy your jdk1.5 source file in the root directory of C: drive. If it is in C:\MyFiles\YourFiles\jdk1.5 then change it to C:\jdk1.5. It is more scientific ( or I think so..) to have jdk in your root file.
If you are using WindowsXP, and having these problems, then please take the following steps:
1. Go to Control Panel
2. Click System
3. Now click Advanced tab.
4. On the bottom left, there is a button called Environment Variables. Please click it.
5. Now there are two text fields. Select -- "Path" from the System Variables text field.
6. Now select edit. On the right side where the windows path ends, put a comma and type C:/jdk1.5/bin ( Please type full extension of your jdk exactly as it is saved in C: drive.
It may look like this:
....Root%\System32\Wbem;C:\jdk1.5.0_06\bin
7. Now Click all OKs
8. Now open cmd prompt and compile ur program from its directory.
9. Now Thank God and be happy!!!!
Regards,
Mustufa Shakir Baldiwala -
"Error:cannot read: src/Ch1Servlet.java"
I'm trying to compile a class from the command line and when I do so it gives me the following error:
"Error:cannot read: src/Ch1Servlet.java".
Can somebody help me to solve this problem.
Thanks.double post
http://forum.java.sun.com/thread.jspa?threadID=702918 -
HELP!!- error: cannot read: VidGame.java
the command prompt displays the following error message
error: cannot read: VidGame.java
What do I need to do?Just trying to compile the fileI know. Did you type in this?:
javac VidGame.javaIf so, then you probably arent in the right directory. -
Error: cannot read: Demonstration.java
I've just copied the following code:
public class BasicsDemo {
public static void main(String[] args) {
int sum = 0;
for (int current = 1; current <= 10; current++) {
sum += current;
System.out.println("Sum = " + sum);
I tried compiling it, but I get the error error: cannot read Demonstration.java.
Could you tell me exactly what is wrong? I've tried everything. Thanks
YashSorry, i copied it off the page, but I changed the class name to that.
I changed it for that particular reason, because it wouldn't work. So i changed the classname. I accidentally pasted what was on the webpage. Here's my one:
class Demonstration {
public static void main(String[] args) {
int sum = 0;
for (int current = 1; current <= 10; current++) {
sum = sum + current;
System.out.println("Sum = " + sum);
} -
Functions for mapping Latin-1 character codes to and from WinLatin-1 character codes
HI ALL
I will like to know how could i write own functions for mapping Latin-1 character codes to and from WinLatin-1
character codes.
Can show me some source code or how to mapping it. Because i just begineer.
Hope you able to help me..I see your issue. I tried to reproduce this issue using sqlplus.
Setup NLS_LANG as you mentioned using WE8ISO8859P1 and connect to a UTF8 db.
[oracle@server ~]$ locale -a | grep en_US
en_US
en_US.iso88591
en_US.iso885915
en_US.utf8
[oracle@server ~]$ export LC_ALL=en_US.iso88591
[oracle@server ~]$ locale
LANG=en_US.UTF-8
LC_CTYPE="en_US.iso88591"
LC_NUMERIC="en_US.iso88591"
LC_TIME="en_US.iso88591"
LC_MEASUREMENT="en_US.iso88591"
LC_IDENTIFICATION="en_US.iso88591"
LC_ALL=en_US.iso88591
[oracle@server ~]$ echo $NLS_LANG
AMERICAN_AMERICA.WE8ISO8859P1
SQL> select value from nls_database_parameters where parameter='NLS_CHARACTERSET';
AL32UTF8
SQL> select nchr(223) from dual;
NCHR
ß
SQL> select chr(223) from dual;
ERROR:
ORA-29275: partial multibyte character
SQL> SELECT CHR (223 USING NCHAR_CS) from dual;
C
ß
SQL> select CONVERT('ß', 'WE8ISO8859P1','UTF8') FROM DUAL;
CO
SQL> select CONVERT(CHR(223 USING NCHAR_CS), 'WE8ISO8859P1','UTF8') FROM DUAL;
select CONVERT(CHR (223 USING NCHAR_CS), 'WE8ISO8859P1','UTF8') FROM DUAL
ERROR at line 1:
ORA-12703: this character set conversion is not supportedI found that beta is in WE8ISO8859P1 character set
here[url http://docs.oracle.com/cd/E11882_01/server.112/e10729/ch2charset.htm#NLSPG164]What Characters Does a Character Set Support?
But I don't really understand whats the problem in the conversion. -
Unable to Log-in *SAP System Message : Error while reading a Dynpro*
Hi,
We are facing issues while logging-in through SAP logon 710.
The system throws an error dialog box with the below message:
SAP System Message : Error while reading a Dynpro
At the OS level Java process server0 is in stop status with exit code -11113. In ABAP WP Table all processes are in wait status.Hi Please find the contents of std_server.out below.
stdout/stderr redirect
node name : server0
pid : 4124
system name : KEC
system nr. : 01
started at : Mon Jul 27 15:44:57 2009
[Thr 5656] MtxInit: -2 0 0
CompilerOracle: exclude com/sapportals/portal/pb/layout/taglib/ContainerTag addIviewResources
CompilerOracle: exclude com/sap/engine/services/keystore/impl/security/CodeBasedSecurityConnector getApplicationDomain
CompilerOracle: exclude com/sap/engine/services/rmi_p4/P4StubSkeletonGenerator generateStub
CompilerOracle: exclude com/sapportals/portal/prt/util/StringUtils escapeToJS
CompilerOracle: exclude com/sapportals/portal/prt/core/broker/PortalServiceItem startServices
CompilerOracle: exclude com/sap/engine/services/webservices/server/deploy/WSConfigurationHandler downloadFile
CompilerOracle: exclude com/sapportals/portal/prt/jndisupport/util/AbstractHierarchicalContext lookup
CompilerOracle: exclude com/sapportals/portal/navigation/cache/CacheNavigationNode getAttributeValue
CompilerOracle: exclude com/sapportals/portal/navigation/TopLevelNavigationiView PrintNode
CompilerOracle: exclude com/sapportals/wcm/service/ice/wcm/ICEPropertiesCoder encode
CompilerOracle: exclude com/sap/lcr/pers/delta/importing/ObjectLoader loadObjects
CompilerOracle: exclude com/sap/engine/services/webservices/jaxrpc/encoding/InstanceBuilder readElement
CompilerOracle: exclude com/sap/engine/services/webservices/jaxrpc/encoding/InstanceBuilder readSequence
CompilerOracle: exclude com/sap/engine/services/webservices/jaxrpc/encoding/TypeMappingImpl initializeRelations
CompilerOracle: exclude com/sap/engine/services/webservices/jaxrpc/encoding/GeneratedComplexType _loadInto
SAP J2EE Engine Version 7.00 PatchLevel 110760.44 is starting...
Loading: LogManager ... 250 ms.
Loading: PoolManager ... 0 ms.
Loading: ApplicationThreadManager ... 47 ms.
Loading: ThreadManager ... 16 ms.
Loading: IpVerificationManager ... 0 ms.
Loading: ClassLoaderManager ... 16 ms.
Loading: ClusterManager ... 93 ms.
Loading: LockingManager ... 32 ms.
Loading: ConfigurationManager ... 1032 ms.
Loading: LicensingManager ... 0 ms.
Loading: CacheManager ... 93 ms.
Loading: ServiceManager ...
Loading services.:
Service runtimeinfo started. (16 ms).
Service cross started. (31 ms).
Service file started. (31 ms).
Service memory started. (31 ms).
Service timeout started. (16 ms).
Service trex.service started. (32 ms).
Service userstore started. (0 ms).
Service jmx_notification started. (15 ms).
Service p4 started. (62 ms).
Service classpath_resolver started. (16 ms).
Service deploy started. (3722 ms).
Service MigrationService started. (31 ms).
Service bimmrdeployer started. (0 ms).
Service log_configurator started. (5177 ms).
Service locking started. (0 ms).
Service http started. (126 ms).
Service naming started. (157 ms).
Service failover started. (16 ms).
Service appclient started. (31 ms).
Service javamail started. (47 ms).
Service ts started. (47 ms).
Service jmsconnector started. (47 ms).
Service licensing started. (15 ms).
Service connector started. (93 ms).
Service iiop started. (94 ms).
Service configuration started. (16 ms).
Service webservices started. (265 ms).
Service dbpool started. (1204 ms).
Service UT started. (0 ms).
Jul 27, 2009 3:45:09 PM com.sap.security.core.persistence [SAPEngine_System_Thread[impl:5]_54] Fatal: Initialization of ABAP data source (com.sap.security.core.persistence.datasource.imp.R3Persistence) failed: " Error while reading a dynpro ". This message is critical if it appears during the startup of the AS Java.
Jul 27, 2009 3:45:09 PM ...re.server.ume.service.UMEServiceFrame [SAPEngine_System_Thread[impl:5]_54] Fatal:
service com.sap.security.core.ume.service ================= ERROR =================
Core service com.sap.security.core.ume.service failed. J2EE Engine cannot be started.
com.sap.engine.frame.ServiceException: Start of UME service failed. Check help topic "Start of UME Service Failed". Technical details: Error while reading a dynpro
at com.sap.security.core.server.ume.service.UMEServiceFrame.start(UMEServiceFrame.java:398)
at com.sap.engine.frame.ApplicationFrameAdaptor.start(ApplicationFrameAdaptor.java:31)
at com.sap.engine.core.service630.container.ServiceRunner.startApplicationServiceFrame(ServiceRunner.java:214)
at com.sap.engine.core.service630.container.ServiceRunner.run(ServiceRunner.java:144)
at com.sap.engine.frame.core.thread.Task.run(Task.java:64)
at com.sap.engine.core.thread.impl5.SingleThread.execute(SingleThread.java:81)
at com.sap.engine.core.thread.impl5.SingleThread.run(SingleThread.java:152)
Caused by: com.sap.security.core.persistence.datasource.PersistenceException: Error while reading a dynpro
at com.sap.security.core.persistence.datasource.imp.R3PersistenceBase.newPersistenceException(R3PersistenceBase.java:236)
at com.sap.security.core.persistence.datasource.imp.R3PersistenceBase.init(R3PersistenceBase.java:491)
at com.sap.security.core.persistence.imp.PrincipalDatabagFactoryInstance.<init>(PrincipalDatabagFactoryInstance.java:446)
at com.sap.security.core.persistence.imp.PrincipalDatabagFactory.newInstance(PrincipalDatabagFactory.java:164)
at com.sap.security.core.persistence.imp.PrincipalDatabagFactory.getInstance(PrincipalDatabagFactory.java:117)
at com.sap.security.core.persistence.imp.PrincipalDatabagFactory.getInstance(PrincipalDatabagFactory.java:63)
at com.sap.security.core.InternalUMFactory.initializeUME(InternalUMFactory.java:221)
at com.sap.security.core.server.ume.service.UMEServiceFrame.start(UMEServiceFrame.java:287)
... 6 more
com.sap.engine.frame.ServiceException: Start of UME service failed. Check help topic "Start of UME Service Failed". Technical details: Error while reading a dynpro
at com.sap.security.core.server.ume.service.UMEServiceFrame.start(UMEServiceFrame.java:398)
at com.sap.engine.frame.ApplicationFrameAdaptor.start(ApplicationFrameAdaptor.java:31)
at com.sap.engine.core.service630.container.ServiceRunner.startApplicationServiceFrame(ServiceRunner.java:214)
at com.sap.engine.core.service630.container.ServiceRunner.run(ServiceRunner.java:144)
at com.sap.engine.frame.core.thread.Task.run(Task.java:64)
at com.sap.engine.core.thread.impl5.SingleThread.execute(SingleThread.java:81)
at com.sap.engine.core.thread.impl5.SingleThread.run(SingleThread.java:152)
Caused by: com.sap.security.core.persistence.datasource.PersistenceException: Error while reading a dynpro
at com.sap.security.core.persistence.datasource.imp.R3PersistenceBase.newPersistenceException(R3PersistenceBase.java:236)
at com.sap.security.core.persistence.datasource.imp.R3PersistenceBase.init(R3PersistenceBase.java:491)
at com.sap.security.core.persistence.imp.PrincipalDatabagFactoryInstance.<init>(PrincipalDatabagFactoryInstance.java:446)
at com.sap.security.core.persistence.imp.PrincipalDatabagFactory.newInstance(PrincipalDatabagFactory.java:164)
at com.sap.security.core.persistence.imp.PrincipalDatabagFactory.getInstance(PrincipalDatabagFactory.java:117)
at com.sap.security.core.persistence.imp.PrincipalDatabagFactory.getInstance(PrincipalDatabagFactory.java:63)
at com.sap.security.core.InternalUMFactory.initializeUME(InternalUMFactory.java:221)
at com.sap.security.core.server.ume.service.UMEServiceFrame.start(UMEServiceFrame.java:287)
... 6 more
[Framework -> criticalShutdown] Core service com.sap.security.core.ume.service failed. J2EE Engine cannot be started.
Jul 27, 2009 3:45:09 PM com.sap.engine.core.Framework [SAPEngine_System_Thread[impl:5]_54] Fatal: Critical shutdown was invoked. Reason is: Core service com.sap.security.core.ume.service failed. J2EE Engine cannot be started. -
EHPI installer: Error while reading a dynpro. Stuck at Start Shadow First.
Hi Everyone,
I am dead in the water with my test install of EhP5 using the most current installer. This small test is on an older iseries, V5R4 with 8G memory. The SAP version is ECC 6.0 at sp Basis 23 and Applications at 19.
The install stops at Start Shadow First, but the instance and work processes are up on the server. The log- SAPehpiConsole reads:
Severe error(s) occured in phase MAIN_SHADOW/START_SHDI_FIRST!
Last error code set: RFC call to upg_is_shadow_system failed with key
RFC_ERROR_SYSTEM_FAILURE (open): Error while reading a dynpro
Please refer to these logs in the posted replys following this post for readability.
The shadow system work process wp01 log showsan RFC error as follows:
Wed Sep 14 11:29:58 2011
ABAP Program SAPMSSY2 .
Source Line 0.
Error Code DYNPRO_READ_FAILED.
Module $Id: //bas/720_REL/src/krn/dynp/dyrdypdb.c#3 $ SAP.
Function dy_dbread Line 100.
RABAX: level LEV_RX_STDERR completed.
RABAX: level LEV_RX_RFC_ERROR entered.
RABAX: level LEV_RX_RFC_ERROR completed.
RABAX: level LEV_RX_RFC_CLOSE entered.
RABAX: level LEV_RX_RFC_CLOSE completed.
RABAX: level LEV_RX_ERROR_SAVE entered.
RABAX: level LEV_RX_ERROR_SAVE completed.
RABAX: level LEV_RX_ERROR_TPDA entered.
RABAX: level LEV_RX_ERROR_TPDA completed.
RABAX: level LEV_RX_PXA_RELEASE_RUDI entered.
RABAX: level LEV_RX_PXA_RELEASE_RUDI completed.
RABAX: level LEV_RX_LIVE_CACHE_CLEANUP entered.
RABAX: level LEV_RX_LIVE_CACHE_CLEANUP completed.
RABAX: level LEV_RX_END entered.
RABAX: level LEV_RX_END completed.
RABAX: end no http/smtp
RABAX: end RX_BTCHLOG RX_VBLOG
Error while reading a dynpro.
C Wed Sep 14 11:33:59 2011
C *** ERROR => SQL-Error -204 in function db_open (dbsldb4.cpp 10630)
C {root-id=4E6F19A9A5F02851E10080020A7F0064}_{conn-id=}_0
RABAX: level LEV_RX_IMC_ERROR entered.
RABAX: level LEV_RX_IMC_ERROR completed.
RABAX: level LEV_RX_DATASET_CLOSE entered.
RABAX: level LEV_RX_DATASET_CLOSE completed.
C Reopen: FALSE
B *** ERROR => dbdynpdb2: dbdd_dbtab_columns (DYNPSOURCE) failed with rc = 4
dbdynpdb2.c 2506]
B {root-id=4E6F19A9A5F02851E10080020A7F0064}_{conn-id=00000000000000000000000000000000}_0
B ***LOG BZY=> unexpected return code 4 calling dbdd_dbtab [dbdynpdb 2508]
So I have a problem communicating with the shadow. Or is it a problem with the db_open?
From the test system I have an entry in SM59 to the shadow and I get this error when trying a connection test.
Error Details Error while reading a dynpro.
And trying to logon to the client sends the same message, it does not bring up the login screen.
OK. So in the 3 weeks that I have restarted, re-set and completely restored and restarted the install, I have always come to this point. I have search for similar issues and have done a review of pertinent notes etcu2026 Just as a comment, last year I successfully did the Ehp 4 upgrade without many problems on this same system using last years SAP system. In the month that I have been trying to do this, SAP has replaced the EHPI installer 3 times which indicates some problems on their part.
Any comments or suggestions would be greatly appreciated.
PatThe 2 logs from the installer are here.
The STARTSFI is as follows:
1 ETQ201 Entering upgrade-phase "START_SHDI_FIRST" ("20110913144811")
4 ETQ399 Set environment for standard connect:
2 ETQ367 Connect variables are set for standard instance access
4 ETQ399 System-nr = '14', GwService = 'sapgw14'
4 ETQ399 Environment variables:
4 ETQ399 dbs_db4_schema=SAPR3
4 ETQ399 auth_shadow_upgrade=0
1 ETQ206 Executing pre-phase DB specific actions.
3 ETQ399 Fixing IFS authorities for '/usr/sap/TEH/EHPI/abap/exe'
1 ETQ206 Executing pre-phase DB specific actions.
1 ETQ200 Executing actual phase 'MAIN_SHADOW/START_SHDI_FIRST'.
1 ETQ399 Phase arguments:
2 ETQ399 Arg[0] = 'DEVTRACE.LOG'
4 ETQ399 Set environment for shadow connect:
4 ETQ399 Set RFC variables for shadow connect:
4 ETQ399 System-nr = '15', GwService = 'sapgw15'
4 ETQ380 computing toolpath for request "TP_SHADOW_CONNECT"
4 ETQ381 request "TP_SHADOW_CONNECT" means "tp needs to connect to shadow system"
4 ETQ382 translates to group "R3UP_TOOL_GROUP_NEW"
4 ETQ383 translates to path "exe"
4 ETQ383 translates to path "exe"
4 ETQ399 Set tool parameters for shadow connect:
4 ETQ399 default TPPARAM: SHADOW.TPP
4 ETQ380 computing toolpath for request "TP_ALWAYS_NEW"
4 ETQ381 request "TP_ALWAYS_NEW" means "always tp from DIR_PUT/exe, for phase KX_SWI
4 ETQ382 translates to group "R3UP_TOOL_GROUP_NEW"
4 ETQ383 translates to path "exe"
4 ETQ383 translates to path "exe"
2 ETQ399 Starting shadow instance
4 ETQ359 RFC Login to: System="TEH", Nr="15", GwHost="omni", GwService="sapgw15"
2 ETQ231 RFC Login failed
repeats the rfc call with a fail until this final entry.
2EETQ399 Starting shadow instance failed
2EETQ399 Test RFC failed finally
The DEVTRACE.LOG is here:
$ Directory: /usr/sap/TEH/EHPI/abap/log
Name: DEVTRACE.LOG
trc file: "dev_disp.new", trc level: 1, release: "720"
sysno 15
sid TEH
systemid 327 (IBM i with OS400)
relno 7200
patchlevel 0
patchno 100
intno 20020600
make single threaded, ASCII, 64 bit, optimized
profile /usr/sap/TEH/EHPI/abap/TEH/SYS/profile/TEH_DVEBMGS15_omni
pid 75851
kernel runs with dp version 131(ext=118) (@(#) DPLIB-INT-VERSION-131)
length of sys_adm_ext is 376 bytes
SWITCH TRC-HIDE on ***
***LOG Q00=> DpSapEnvInit, DPStart (15 75851) [dpxxdisp.c 1287]
#shared lib "dw_xml.so" version 100 successfully loaded
#shared lib "dw_xtc.so" version 100 successfully loaded
#shared lib "dw_stl.so" version 100 successfully loaded
#shared lib "dw_gui.so" version 100 successfully loaded
#shared lib "dw_mdm.so" version 100 successfully loaded
#shared lib "dw_rndrt.so" version 100 successfully loaded
#shared lib "dw_abp.so" version 100 successfully loaded
#shared lib "dw_sym.so" version 100 successfully loaded
#shared lib "dw_aci.so" version 100 successfully loaded
rdisp/softcancel_sequence : -> 0,5,-1
rdisp/dynamic_wp_check : 0
rdisp/calculateLoadAverage : 1
Tue Sep 13 14:48:58 2011
WARNING => DpNetCheck: NiAddrToHost(1.0.0.0) took 5 seconds
***LOG GZZ=> 1 possible network problems detected - check tracefile and adjust the DNS settings [dpxxtool2.c 6404]
MtxInit: 30000 0 0
DpSysAdmExtInit: ABAP is active
DpSysAdmExtInit: VMC (JAVA VM in WP) is not active
DpIPCInit2: write dp-profile-values into sys_adm_ext
DpIPCInit2: start server >omni_TEH_15 <
DpShMCreate: sizeof(wp_adm)##17440#(1744)
DpShMCreate: sizeof(tm_adm)##4976768#(24760)
DpShMCreate: sizeof(wp_ca_adm)##56000#(56)
DpShMCreate: sizeof(appc_ca_adm)#56000#(56)
DpCommTableSize: max/headSize/ftSize/tableSize=500/16/576048/576064
DpShMCreate: sizeof(comm_adm)##576064#(1136)
DpSlockTableSize: max/headSize/ftSize/fiSize/tableSize=0/0/0/0/0
DpShMCreate: sizeof(slock_adm)##0#(104)
DpFileTableSize: max/headSize/ftSize/tableSize=0/0/0/0
DpShMCreate: sizeof(file_adm)##0#(80)
DpShMCreate: sizeof(vmc_adm)##0#(1856)
DpShMCreate: sizeof(wall_adm)##(25648/36736/64/104)
DpShMCreate: sizeof(gw_adm)#48
DpShMCreate: sizeof(j2ee_adm)#2032
DpShMCreate: SHM_DP_ADM_KEY##(addr: 700000050000000, size: 5759216)
DpShMCreate: allocated sys_adm at 700000050000010
DpShMCreate: allocated wp_adm_list at 700000050002970
DpShMCreate: allocated wp_adm at 700000050002b60
DpShMCreate: allocated tm_adm_list at 700000050006f90
DpShMCreate: allocated tm_adm at 700000050006fe0
DpShMCreate: allocated wp_ca_adm at 7000000504c6070
DpShMCreate: allocated appc_ca_adm at 7000000504d3b40
Directory: /usr/sap/TEH/EHPI/abap/log
Name: DEVTRACE.LOG
DpShMCreate: allocated comm_adm at 7000000504e1610
DpShMCreate: system runs without slock table
DpShMCreate: system runs without file table
DpShMCreate: allocated vmc_adm_list at 70000005056e060
DpShMCreate: system runs without vmc_adm
DpShMCreate: allocated gw_adm at 70000005056e110
DpShMCreate: allocated j2ee_adm at 70000005056e150
DpShMCreate: allocated ca_info at 70000005056e950
DpShMCreate: allocated wall_adm at 70000005056e9d0
DpCommAttachTable: attached comm table (header=7000000504e1610/ft=7000000504e1620)
DpSysAdmIntInit: initialize sys_adm
rdisp/test_roll : roll strategy is DP_NORMAL_ROLL
dia token check not active (3 token)
MBUF state OFF
DpCommInitTable: init table for 500 entries
DpRqQInit: keep protect_queue / slots_per_queue 0 / 2001 in sys_adm
rdisp/queue_size_check_value : -> on,50,30,40,500,50,500,80
EmInit: MmSetImplementation( 2 ).
MM global diagnostic options set: 0
<ES> client 0 initializing ....
<ES> InitFreeList
<ES> block size is 4096 kByte.
Using implementation std
EsStdUnamFileMapInit: ES base = 0x7000000a0000000
EsStdInit: Extended Memory 4096 MB allocated
<ES> 1023 blocks reserved for free list.
ES initialized.
mm.dump: set maximum dump mem to 96 MB
DpVmcSetActive: set vmc state DP_VMC_NOT_ACTIVE
MPI: dynamic quotas disabled.
MPI init: pipes=4000 buffers=1279 reserved=383 quota=10%
Tue Sep 13 14:48:59 2011
WARNING => System running without ICM - check rdisp/start_icman [dpxxdisp.c 13097]
Tue Sep 13 14:49:02 2011
rdisp/http_min_wait_dia_wp : 1 -> 1
***LOG Q0K=> DpMsAttach, mscon ( omni) [dpxxdisp.c 12339]
MBUF state LOADING
DpStartStopMsg: send start message (myname is >omni_TEH_15 <)
DpStartStopMsg: start msg sent
Tue Sep 13 14:49:11 2011
CCMS uses Shared Memory Key 73 for monitoring.
CCMS: SemInMgt: Semaphore Management initialized by AlAttachShm_Doublestack.
CCMS: SemInit: Semaphore 38 initialized by AlAttachShm_Doublestack.
CCMS: AlInitGlobals : alert/use_sema_lock = TRUE.
Tue Sep 13 14:49:13 2011
CCMS: start to initalize 3.X shared alert area (first segment).
DpMBufHwIdSet: set Hardware-ID
***LOG Q1C=> DpMBufHwIdSet [dpxxmbuf.c 1296]
MBUF state ACTIVE
DpWpBlksLow: max wp blocks in queue is 800 (80 %)
MBUF component UP
DpMsgProcess: 1 server in MBUF
DpAppcBlksLow: max appc blocks in queue is 500 (50 %)
Tue Sep 13 14:50:24 2011
DpModState: change server state from STARTING to ACTIVE
trc file: "dev_ms.new", trc level: 1, release: "720"
[Thr 01] Tue Sep 13 14:48:39 2011
[Thr 01] MsSOsPrivInit: Run priority adjusted to 12
[Thr 01] ms/http_max_clients = 500 -> 500
[Thr 01] MsSSetTrcLog: trc logging active, max size = 52428800 bytes
systemid 327 (IBM i with OS400)
relno 7200
patchlevel 0
patchno 92
intno 20020600
make multithreaded, ASCII, 64 bit, optimized
pid 75850
[Thr 01] Tue Sep 13 14:48:40 2011
[Thr 01] ***LOG Q01=> MsSInit, MSStart (Msg Server 1 75850) [msxxserv_mt. 2274]
[Thr 01] SigISetDefaultAction : default handling for signal SIGCHLD
[Thr 01] load acl file = /usr/sap/TEH/EHPI/abap/TEH/SYS/global/ms_acl_info
[Thr 01] MsGetOwnIpAddr: my host addresses are :
[Thr 01] 1 : [10.127.0.100] omni.plastekgroup.com (HOSTNAME)
[Thr 01] 2 : [127.0.0.1] LOOPBACK (LOCALHOST)
[Thr 01] MsHttpInit: full qualified hostname = omni.plastekgroup.com
[Thr 01] HTTP logging is switch off
[Thr 01] MsHttpOwnDomain: own domain[1] = plastekgroup.com
[Thr 01] *** I listen to port 3615 (3615) ***
[Thr 01] CUSTOMER KEY: >H1357713078<
[Thr 01] build version=720.2011.05.04
trc file: "dev_rd", trc level: 1, release: "720"
Tue Sep 13 14:49:07 2011
***LOG S00=> GwInitReader, gateway started ( 75855) [gwxxrd.c 1758]
systemid 327 (IBM i with OS400)
relno 7200
patchlevel 0
patchno 96
intno 20020600
make single threaded, ASCII, 64 bit, optimized
pid 75855
gateway runs with dp version 131(ext=118) (@(#) DPLIB-INT-VERSION-131)
gateway (version=720.2011.04.20)
Tue Sep 13 14:49:10 2011
gw/reg_no_conn_info = 1
gw/local_addr : 0.0.0.0
gw/reg_no_conn_info = 1
SWITCH TRC-RESOLUTION from 1 TO 1
CCMS: initialize CCMS Monitoring for ABAP instance with J2EE addin.
CCMS uses Shared Memory Key 73 for monitoring.
CCMS: AlInitGlobals : alert/use_sema_lock = TRUE.
Tue Sep 13 14:49:13 2011
CCMS: Initalized shared memory of size 40000000 for monitoring segment.
CCMS: Checking Downtime Configuration of Monitoring Segment.
CCMS: AlMsUpload called by wp 1002.
CCMS: AlMsUpload successful for /usr/sap/TEH/EHPI/abap/TEH/DVEBMGS15/log/ALMTTREE (0 MTEs).
Bind service sapgw15 (socket) to port 3315
GwIRegInitRegInfo: reg_info file /usr/sap/TEH/EHPI/abap/TEH/DVEBMGS15/data/reginfo not found
GwPrintMyHostAddr: my host addresses are :
1 : [10.127.0.100] omni.plastekgroup.com (HOSTNAME)
2 : [127.0.0.1] LOOPBACK (LOCALHOST)
Full qualified hostname = omni.plastekgroup.com
DpSysAdmExtCreate: ABAP is active
DpSysAdmExtCreate: VMC (JAVA VM in WP) is not active
DpIPCInit2: read dp-profile-values from sys_adm_ext
DpShMCreate: sizeof(wp_adm)##17440#(1744)
DpShMCreate: sizeof(tm_adm)##4976768#(24760)
DpShMCreate: sizeof(wp_ca_adm)##56000#(56)
DpShMCreate: sizeof(appc_ca_adm)#56000#(56)
DpCommTableSize: max/headSize/ftSize/tableSize=500/16/576048/576064
DpShMCreate: sizeof(comm_adm)##576064#(1136)
DpSlockTableSize: max/headSize/ftSize/fiSize/tableSize=0/0/0/0/0
DpShMCreate: sizeof(slock_adm)##0#(104)
DpFileTableSize: max/headSize/ftSize/tableSize=0/0/0/0
DpShMCreate: sizeof(file_adm)##0#(80)
DpShMCreate: sizeof(vmc_adm)##0#(1856)
DpShMCreate: sizeof(wall_adm)##(25648/36736/64/104)
DpShMCreate: sizeof(gw_adm)#48
DpShMCreate: sizeof(j2ee_adm)#2032
DpShMCreate: SHM_DP_ADM_KEY##(addr: 700000060000000, size: 5759216)
DpShMCreate: allocated sys_adm at 700000060000010
DpShMCreate: allocated wp_adm_list at 700000060002970
DpShMCreate: allocated wp_adm at 700000060002b60
DpShMCreate: allocated tm_adm_list at 700000060006f90
DpShMCreate: allocated tm_adm at 700000060006fe0
DpShMCreate: allocated appc_ca_adm at 7000000604d3b40
DpShMCreate: allocated comm_adm at 7000000604e1610
DpShMCreate: system runs without slock table
DpShMCreate: system runs without file table
DpShMCreate: allocated vmc_adm_list at 70000006056e060
DpShMCreate: system runs without vmc_adm
DpShMCreate: allocated gw_adm at 70000006056e110
DpShMCreate: allocated j2ee_adm at 70000006056e150
DpShMCreate: allocated ca_info at 70000006056e950
DpCommAttachTable: attached comm table (header=7000000604e1
MtxInit: -2 0 0
DpRqQInit: use protect_queue / slots_per_queue 0 / 2001 fro
Tue Sep 13 14:50:14 2011
GwDpInit: attached to gw_adm at 70000006056e110
Tue Sep 13 14:50:16 2011
DpSetProcessPriority: Run priority for gwrd adjusted to 12
Maybe you are looking for
-
Time Machine Backup on Partition
Is it possible to use Time Machine without having an external drive or iDisk, instead use a partition on the hard drive?
-
I want to reactivate my adobe premiere pro 2.0 and cannot. what can i do
Downloading, Installing, Setting UpPremiere Pro want to reactivate my adobe premiere pro 2.0 what must I do @
-
PLD - SO needs to display Text line
Dear All, Our customer's marking documents has text type lines. When I tried to print it on A/R invoice and A/R down payment invoice, it works good. When I tried to print it on Sales Order, text lines have always been printed first. Then items and su
-
Get server instance name without deploying weblogic.jar to client
I use wlclient.jar with my client. Using weblogic.jar instead causes the size of the deployment package of my client to go from 4 meg to 34 meg (roughly). I don't want full MBean functionality, all I want to do is find out what the server instance na
-
I desing a program to test the speed of using multi threads to add up from 0 to 1000000000 As I know from some books ,I assumed that the multithread to caculate should faster than single thread , but what supprised me is that I was wrong , the result