linux-4e1s:/home/oguzhan/Desktop # rpm -e java-1_6_0-openjdk-1.6.0.0_b24.1.11.5-16.1.x86_64
warning: /usr/lib64/jvm/java-1.6.0-openjdk-1.6.0/jre/lib/fontconfig.SuSE.properties saved as /usr/lib64/jvm/java-1.6.0-openjdk-1.6.0/jre/lib/fontconfig.SuSE.properties.rpmsave
update-alternatives: warning: alternative /usr/lib64/jvm/jre-1.6.0-openjdk/bin/java (part of link group java) doesn't exist. Removing from list of alternatives.
update-alternatives: warning: /etc/alternatives/java is dangling, it will be updated with best choice.
update-alternatives: warning: alternative /usr/lib64/jvm/jre-1.6.0-openjdk (part of link group jre_openjdk) doesn't exist. Removing from list of alternatives.
update-alternatives: warning: /etc/alternatives/jre_openjdk is dangling, it will be updated with best choice.
update-alternatives: warning: alternative /usr/lib64/jvm/jre-1.6.0-openjdk (part of link group jre_1.6.0) doesn't exist. Removing from list of alternatives.
update-alternatives: warning: /etc/alternatives/jre_1.6.0 is dangling, it will be updated with best choice.
linux-4e1s:/home/oguzhan/Desktop # rpm -qa | grep jdk
linux-4e1s:/home/oguzhan/Desktop # java -version
bash: /usr/bin/java: No such file or directory
I ensure that OpenJDK is uninstalled completely with listing rpm packages(rpm -qa | grep jdk), again. Then, call "rpm -ivh" to install oracle JDK 1.7 64-bit version. Finally, java and javac commands works well as you see bottom of the terminal output.
rpm -ivh jdk-7u9-linux-x64.rpm
linux-4e1s:/home/oguzhan/Desktop # rpm -ivh jdk-7u9-linux-x64.rpm
Preparing... ########################################### [100%]
1:jdk ########################################### [100%]
Unpacking JAR files...
rt.jar...
Error: Could not open input file: /usr/java/jdk1.7.0_09/jre/lib/rt.pack
jsse.jar...
Error: Could not open input file: /usr/java/jdk1.7.0_09/jre/lib/jsse.pack
charsets.jar...
Error: Could not open input file: /usr/java/jdk1.7.0_09/jre/lib/charsets.pack
tools.jar...
Error: Could not open input file: /usr/java/jdk1.7.0_09/lib/tools.pack
localedata.jar...
Error: Could not open input file: /usr/java/jdk1.7.0_09/jre/lib/ext/localedata.pack
linux-4e1s:/home/oguzhan/Desktop #
linux-4e1s:/home/oguzhan/Desktop #
linux-4e1s:/home/oguzhan/Desktop #
linux-4e1s:/home/oguzhan/Desktop # java -version
java version "1.7.0_09"
Java(TM) SE Runtime Environment (build 1.7.0_09-b05)
Java HotSpot(TM) 64-Bit Server VM (build 23.5-b02, mixed mode)
linux-4e1s:/home/oguzhan/Desktop #
linux-4e1s:/home/oguzhan/Desktop #
linux-4e1s:/home/oguzhan/Desktop #
linux-4e1s:/home/oguzhan/Desktop # javac
Usage: javac
where possible options include:
-g Generate all debugging info
-g:none Generate no debugging info
-g:{lines,vars,source} Generate only some debugging info
...
...
...
All essential java commands seem works fine but there is something we have to commit, finally: Setting JAVA_HOME directory in PATH.
1) grant access under the /etc/profile.d with root
linux-4e1s:/etc/profile.d # su
2) create jdk.sh file under /etc/profile. and write output of below echo command
I' ve been already using SoapUI Pro 3.6.1 since license expires. Previous migrations to soapUI newer versions had not caused problems but when starting using SoapUI 4.5.0(free) version resulted destroying existing projects. I checked log file ("C:\...\SmartBear\soapUI-4.5.0\bin\soapui.log") and realised that something went wrong about encoding of soapUI project XMLs. Turkish language characters in wsdl files are located in soapUI project XMLs and they are violating cp1254 character convention and causes below exception log. java.io.CharConversionException: Malformed UTF-8 character: 0xc5 0x3f at org.apache.xmlbeans.impl.piccolo.xml.UTF8XMLDecoder.decode(UTF8XMLDecoder.java:80) at org.apache.xmlbeans.impl.piccolo.xml.XMLStreamReader$FastStreamDecoder.read(XMLStreamReader.java:762) at org.apache.xmlbeans.impl.piccolo.xml.XMLStreamReader.read(XMLStreamReader.java:162) at org.apache.xmlbeans.impl.piccolo.xml.PiccoloLexer.yy_refill(PiccoloLexer.java:3474) at org.apac
SoapUI satisfies the need of testing service oriented applications with test suites that depends on client scenarios. SoapUI enhances its test suite facility with Groovy scripts to create dynamic properties that helps functional testing. The example in soapUI website demonstrates how to retrieve current date in xsd:date format (yyyy-MM-dd). I am not very keen on Groovy but after a bit effort, i implemented this code snippet that returns the current date in xsd:dateTime format. I hope it helps... def dateTimeFormat = "yyyy-MM-dd'T'hh:mm:ss'Z'" def timeZone = TimeZone.getTimeZone("Etc/GMT") def dateTimeFormatter = new java.text.SimpleDateFormat(dateTimeFormat) dateTimeFormatter.setTimeZone(timeZone) return dateTimeFormatter.format(new java.util.Date()) SoapUI DataGen Test Suite Facility SoapUI is not only sending-receiving soap messages, great testing environment tools and Groovy script support makes it valueble.Do not commit any implementation
The below exception trace occurs when trying to select records from database to create an instance of an entity or collection of entities. As a result of not providing default constructor on the entity class. I gave a sample entity implementation that has a constructor with string parameter and commented out default constructor. After running iBatis with Spring's framework, iBatis cannot find the default constructor and print the example stack trace. This is also pointing the basics of entity beans in Java EE, "Entity Beans must have a public default constructor". TRACE [2011-12-22 10:28:23,863] 00000522 DEBUG java.sql.Connection - {conn-100087} Preparing Statement: SELECT * FROM DEMO.SAMPLE_TABLE WHERE ID = ? [2011-12-22 10:28:23,863] 00000522 DEBUG java.sql.PreparedStatement - {pstm-100088} Executing Statement: SELECT * FROM DEMO.SAMPLE_TABLE WHERE ID = ? [2011-12-22 10:28:23,863] 00000522 DEBUG java.sql.PreparedStatement - {pstm-100088} Parameters: [1
Comments
Post a Comment
Thx for reading! Comments are appreciated...