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
Early in the morning, I hit this issue because of putting my nose into boot options. I changed the option form AHCI to RAID then restart but what I see flood of "COMRESET failed (errno=-32)" errors. I immediately restart and rollback my action but this doesnt prevent me from falling into desperate flow of error logs in /var/log/syslog. To solve problem, I make my talisman: used screwdriver to remove dvdrom. Because some ubuntu forum posts mentioning the reason is poor SATA cable connection. In my laptop there is no cable but there is a socket to easily remove dvdrom. Anyway after removing, start the system and EUREKA the problem logs are gone! I checked mounted disks and validate reading and writing data is ok with some consequent restarts. Then of course I didnt leave the dvdrom empty. I shutdown the system and stick it into place roughly. And now everyone is allright. The lesson do not touch (mess up with) anything if it is working. :) Aug 10 08:25:09 msi kernel:
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
Comments
Post a Comment
Thx for reading! Comments are appreciated...