HelloWorld error -
[10/01/2000 15:00:23:969 EST] java.lang.IllegalArgumentException: sun.io.CharToByteUTF-8
at sun.io.CharToByteConverter.getConverterClass(CharToByteConverter.java)
at
Has anyone seen this error message?
I'm pretty sure I have the Jserv configurations setup properly.
Any help would be great.
Thanks!
Jordan
null
Already mentioned, but I had the same error with JDK 1.1.7v3 on Linux. Switching to IBM's Linux JDK 118 worked for me as well.
Similar Messages
-
Run javah -jni HelloWorld gives error...
hi all i am new to JNI. i wanted to compiled my HelloWorld.java to header file. in which directory shld i run? i am using jdk1.3.
this is my error:
D:\jdk1.3.1\bin>javah -jni HelloWorld
Error: Class HelloWorld could not be found.
i hav installed JNI1.2 but not using it yet. what are the settings i shld do?
thanks to everyone.
seiw77Check your CLASSPATH. Your HelloWorld class should come under the directories listed in the CLASSPATH. Also make sure you include the current working directory "." in the CLASSPATH
-
Java.lang.NoClassDefFoundError: HelloWorld when running SQLJ program
i can compile the program but i can't run it. when i try to run ( java HelloWorld) it gives java.lang.NoClassDefFoundError: HelloWorld error message. i have set the classpath, path and oracle_home accordingly to the oracle SQLJ documentation. i'm using win2000 and j2sdk 1.4.0. please help.
this is my sqlj's code:
import java.sql.Date;
import java.sql.SQLException;
import oracle.sqlj.runtime.Oracle;
public class HelloWorld
public static void main(String [] args)
java.sql.Date current_date;
try
Oracle.connect(
"jdbc:oracle:thin:nicole:1521:kwanyee",
"y2net",
"y90583008"
#sql { SELECT sysdate INTO :current_date FROM dual };
System.out.println( "Hello" + current_date);
catch (SQLException e)
System.err.println("SQLException " + e);
finally
try
Oracle.close();
catch (SQLException e)
System.err.println("SQLException " + e);
}I am not too sure about sqlj ...if this suggestion doesn't work I can show you the statndard 'java' way to connect to Oracle. But try this, you probably need to add the oracle drivers to your classpath. Look for a file named classes12.zip ...and add that to the classpath settings like this (on my box):
@SET CLASSPATH=%CLASSPATH%;G:\ORACLE\ORA81\JDBC\LIB\classes12.zip -
HelloWorld -- compilation problem
My current OS is Slackware Linux 9.1 with JSDK 1.4.2.05 installed. I am compiling a simple HelloWorld class but keeps on getting the a strange error (see the last part). I have no idea on how I can resolve this issue. THanks in advance for any advice, tips or help that you can give..
thanks!
jm
File: HelloWorld.java
public class HelloWorld {
public static void main(String[] args) {
System.out.println("Hello, World");
/usr/local/java -> /usr/local/j2sdk1.4.2_05/
Environment Variables
export JAVA_HOME=/usr/local/java
export PATH=.:$PATH:$JAVA_HOME/bin
export CLASSPATH=.:$JAVA_HOME/src.zip:$JAVA_HOME/lib/tools.jar
export RESIN_HOME=/usr/local/resin-3
#update CLASSPATH resin
export CLASSPATH=$CLASSPATH:$RESIN_HOME/lib/doom.jar:$RESIN_HOME/lib/jca-15.jar
export CLASSPATH=$CLASSPATH:$RESIN_HOME/lib/jmx-12.jar:$RESIN_HOME/lib/jsdk-24.jar
export CLASSPATH=$CLASSPATH:$RESIN_HOME/lib/jstl.jar:$RESIN_HOME/lib/jta-101.jar
export CLASSPATH=$CLASSPATH:$RESIN_HOME/lib/webutil.jar
root@theMatrix:~/tests# javac HelloWorld.java 1&>1 HelloWorld.error
root@theMatrix:~/tests# ls -la
total 24
drwxr-xr-x 2 root root 4096 Sep 11 15:42 .
root@theMatrix:~/tests# javac HelloWorld.java
/usr/local/java/src.zip(java/lang/Object.java):20: class Object is public, should be declared in a file named Object.java
(source unavailable)
/usr/local/java/src.zip(java/lang/Class.java):77: class Class is public, should be declared in a file named Class.java
(source unavailable)
/usr/local/java/src.zip(java/lang/reflect/Member.java):22: class Member is public, should be declared in a file named Member.java
(source unavailable)
/usr/local/java/src.zip(java/lang/reflect/Field.java):33: class Field is public, should be declared in a file named Field.java
(source unavailable)
/usr/local/java/src.zip(java/lang/reflect/Method.java):34: class Method is public, should be declared in a file named Method.java
(source unavailable)
/usr/local/java/src.zip(java/lang/reflect/Constructor.java):32: class Constructor is public, should be declared in a file named Constructor.java
(source unavailable)
/usr/local/java/src.zip(java/lang/reflect/Modifier.java):35: class Modifier is public, should be declared in a file named Modifier.java
(source unavailable)
/usr/local/java/src.zip(java/lang/reflect/InvocationTargetException.java):24: class InvocationTargetException is public, should be declared in a file named InvocationTargetException.java
(source unavailable)
/usr/local/java/src.zip(java/lang/ref/SoftReference.java):47: class SoftReference is public, should be declared in a file named SoftReference.java
(source unavailable)
/usr/local/java/src.zip(java/io/InputStream.java):28: class InputStream is public, should be declared in a file named InputStream.java
(source unavailable)
/usr/local/java/src.zip(java/io/ObjectStreamClass.java):47: class ObjectStreamClass is public, should be declared in a file named ObjectStreamClass.java
(source unavailable)
/usr/local/java/src.zip(java/io/ObjectStreamField.java):22: class ObjectStreamField is public, should be declared in a file named ObjectStreamField.java
(source unavailable)
/usr/local/java/src.zip(java/security/AccessController.java):230: class AccessController is public, should be declared in a file named AccessController.java
(source unavailable)
/usr/local/java/src.zip(java/security/PrivilegedAction.java):24: class PrivilegedAction is public, should be declared in a file named PrivilegedAction.java
(source unavailable)
/usr/local/java/src.zip(java/util/ArrayList.java):82: class ArrayList is public, should be declared in a file named ArrayList.java
(source unavailable)
/usr/local/java/src.zip(java/util/Collection.java):81: class Collection is public, should be declared in a file named Collection.java
(source unavailable)
/usr/local/java/src.zip(java/util/HashSet.java):69: class HashSet is public, should be declared in a file named HashSet.java
(source unavailable)
/usr/local/java/src.zip(java/util/Iterator.java):31: class Iterator is public, should be declared in a file named Iterator.java
(source unavailable)
/usr/local/java/src.zip(java/util/List.java):89: class List is public, should be declared in a file named List.java
(source unavailable)
/usr/local/java/src.zip(java/util/LinkedList.java):71: class LinkedList is public, should be declared in a file named LinkedList.java
(source unavailable)
/usr/local/java/src.zip(java/util/LinkedHashSet.java):98: class LinkedHashSet is public, should be declared in a file named LinkedHashSet.java
(source unavailable)
/usr/local/java/src.zip(java/util/Set.java):65: class Set is public, should be declared in a file named Set.java
(source unavailable)
/usr/local/java/src.zip(java/io/Serializable.java):104: class Serializable is public, should be declared in a file named Serializable.java
(source unavailable)
/usr/local/java/src.zip(java/lang/String.java):89: class String is public, should be declared in a file named String.java
(source unavailable)
/usr/local/java/src.zip(java/io/UnsupportedEncodingException.java):16: class UnsupportedEncodingException is public, should be declared in a file named UnsupportedEncodingException.java
(source unavailable)
/usr/local/java/src.zip(java/util/Comparator.java):79: class Comparator is public, should be declared in a file named Comparator.java
(source unavailable)
/usr/local/java/src.zip(java/util/Locale.java):163: class Locale is public, should be declared in a file named Locale.java
(source unavailable)
/usr/local/java/src.zip(java/util/regex/Matcher.java):78: class Matcher is public, should be declared in a file named Matcher.java
(source unavailable)
/usr/local/java/src.zip(java/util/regex/Pattern.java):579: class Pattern is public, should be declared in a file named Pattern.java
(source unavailable)
/usr/local/java/src.zip(java/util/regex/PatternSyntaxException.java):23: class PatternSyntaxException is public, should be declared in a file named PatternSyntaxException.java
(source unavailable)
/usr/local/java/src.zip(java/lang/Comparable.java):82: class Comparable is public, should be declared in a file named Comparable.java
(source unavailable)
/usr/local/java/src.zip(java/lang/CharSequence.java):32: class CharSequence is public, should be declared in a file named CharSequence.java
(source unavailable)
/usr/local/java/src.zip(java/lang/ClassNotFoundException.java):36: class ClassNotFoundException is public, should be declared in a file named ClassNotFoundException.java
(source unavailable)
/usr/local/java/src.zip(java/lang/Exception.java):20: class Exception is public, should be declared in a file named Exception.java
(source unavailable)
/usr/local/java/src.zip(java/lang/Throwable.java):129: class Throwable is public, should be declared in a file named Throwable.java
(source unavailable)
/usr/local/java/src.zip(java/lang/ClassLoader.java):127: class ClassLoader is public, should be declared in a file named ClassLoader.java
(source unavailable)
/usr/local/java/src.zip(java/io/IOException.java):22: class IOException is public, should be declared in a file named IOException.java
(source unavailable)
/usr/local/java/src.zip(java/io/File.java):92: class File is public, should be declared in a file named File.java
(source unavailable)
/usr/local/java/src.zip(java/net/MalformedURLException.java):21: class MalformedURLException is public, should be declared in a file named MalformedURLException.java
(source unavailable)
/usr/local/java/src.zip(java/net/URL.java):94: class URL is public, should be declared in a file named URL.java
(source unavailable)
/usr/local/java/src.zip(java/security/AccessControlContext.java):61: class AccessControlContext is public, should be declared in a file named AccessControlContext.java
(source unavailable)
/usr/local/java/src.zip(java/security/CodeSource.java):30: class CodeSource is public, should be declared in a file named CodeSource.java
(source unavailable)
/usr/local/java/src.zip(java/security/Policy.java):77: class Policy is public, should be declared in a file named Policy.java
(source unavailable)
/usr/local/java/src.zip(java/security/PrivilegedActionException.java):32: class PrivilegedActionException is public, should be declared in a file named PrivilegedActionException.java
(source unavailable)
/usr/local/java/src.zip(java/security/PrivilegedExceptionAction.java):27: class PrivilegedExceptionAction is public, should be declared in a file named PrivilegedExceptionAction.java
(source unavailable)
/usr/local/java/src.zip(java/security/ProtectionDomain.java):35: class ProtectionDomain is public, should be declared in a file named ProtectionDomain.java
(source unavailable)
/usr/local/java/src.zip(java/util/Enumeration.java):46: class Enumeration is public, should be declared in a file named Enumeration.java
(source unavailable)
/usr/local/java/src.zip(java/util/Hashtable.java):104: class Hashtable is public, should be declared in a file named Hashtable.java
(source unavailable)
/usr/local/java/src.zip(java/util/HashMap.java):100: class HashMap is public, should be declared in a file named HashMap.java
(source unavailable)
/usr/local/java/src.zip(java/util/Stack.java):26: class Stack is public, should be declared in a file named Stack.java
(source unavailable)
/usr/local/java/src.zip(java/util/Map.java):79: class Map is public, should be declared in a file named Map.java
(source unavailable)
/usr/local/java/src.zip(java/util/Vector.java):61: class Vector is public, should be declared in a file named Vector.java
(source unavailable)
/usr/local/java/src.zip(java/lang/InstantiationException.java):22: class InstantiationException is public, should be declared in a file named InstantiationException.java
(source unavailable)
/usr/local/java/src.zip(java/lang/IllegalAccessException.java):42: class IllegalAccessException is public, should be declared in a file named IllegalAccessException.java
(source unavailable)
/usr/local/java/src.zip(java/lang/reflect/AccessibleObject.java):36: class AccessibleObject is public, should be declared in a file named AccessibleObject.java
(source unavailable)
/usr/local/java/src.zip(java/lang/Package.java):87: class Package is public, should be declared in a file named Package.java
(source unavailable)
/usr/local/java/src.zip(java/util/StringTokenizer.java):86: class StringTokenizer is public, should be declared in a file named StringTokenizer.java
(source unavailable)
/usr/local/java/src.zip(java/io/FileInputStream.java):31: class FileInputStream is public, should be declared in a file named FileInputStream.java
(source unavailable)
/usr/local/java/src.zip(java/io/FileNotFoundException.java):26: class FileNotFoundException is public, should be declared in a file named FileNotFoundException.java
(source unavailable)
/usr/local/java/src.zip(java/util/jar/JarInputStream.java):28: class JarInputStream is public, should be declared in a file named JarInputStream.java
(source unavailable)
/usr/local/java/src.zip(java/util/jar/Manifest.java):32: class Manifest is public, should be declared in a file named Manifest.java
(source unavailable)
/usr/local/java/src.zip(java/util/jar/Attributes.java):35: class Attributes is public, should be declared in a file named Attributes.java
(source unavailable)
/usr/local/java/src.zip(java/util/jar/JarException.java):19: class JarException is public, should be declared in a file named JarException.java
(source unavailable)
/usr/local/java/src.zip(java/lang/SecurityException.java):17: class SecurityException is public, should be declared in a file named SecurityException.java
(source unavailable)
/usr/local/java/src.zip(java/lang/RuntimeException.java):24: class RuntimeException is public, should be declared in a file named RuntimeException.java
(source unavailable)
/usr/local/java/src.zip(java/lang/NoSuchFieldException.java):17: class NoSuchFieldException is public, should be declared in a file named NoSuchFieldException.java
(source unavailable)
/usr/local/java/src.zip(java/lang/NoSuchMethodException.java):18: class NoSuchMethodException is public, should be declared in a file named NoSuchMethodException.java
(source unavailable)
/usr/local/java/src.zip(java/io/OutputStream.java):29: class OutputStream is public, should be declared in a file named OutputStream.java
(source unavailable)
/usr/local/java/src.zip(java/lang/ref/Reference.java):24: class Reference is public, should be declared in a file named Reference.java
(source unavailable)
/usr/local/java/src.zip(java/lang/StringBuffer.java):71: class StringBuffer is public, should be declared in a file named StringBuffer.java
(source unavailable)
/usr/local/java/src.zip(java/text/MessageFormat.java):330: class MessageFormat is public, should be declared in a file named MessageFormat.java
(source unavailable)
/usr/local/java/src.zip(java/lang/Cloneable.java):36: class Cloneable is public, should be declared in a file named Cloneable.java
(source unavailable)
/usr/local/java/src.zip(java/lang/StackTraceElement.java):22: class StackTraceElement is public, should be declared in a file named StackTraceElement.java
(source unavailable)
/usr/local/java/src.zip(java/io/PrintStream.java):35: class PrintStream is public, should be declared in a file named PrintStream.java
(source unavailable)
/usr/local/java/src.zip(java/io/FilterOutputStream.java):28: class FilterOutputStream is public, should be declared in a file named FilterOutputStream.java
(source unavailable)
/usr/local/java/src.zip(java/io/PrintWriter.java):32: class PrintWriter is public, should be declared in a file named PrintWriter.java
(source unavailable)
/usr/local/java/src.zip(java/io/Writer.java):33: class Writer is public, should be declared in a file named Writer.java
(source unavailable)
/usr/local/java/src.zip(java/io/ObjectOutputStream.java):122: class ObjectOutputStream is public, should be declared in a file named ObjectOutputStream.java
(source unavailable)
/usr/local/java/src.zip(java/util/Arrays.java):39: class Arrays is public, should be declared in a file named Arrays.java
(source unavailable)
/usr/local/java/src.zip(java/io/ObjectOutput.java):22: class ObjectOutput is public, should be declared in a file named ObjectOutput.java
(source unavailable)
/usr/local/java/src.zip(java/io/DataOutput.java):32: class DataOutput is public, should be declared in a file named DataOutput.java
(source unavailable)
/usr/local/java/src.zip(java/io/ObjectStreamConstants.java):17: class ObjectStreamConstants is public, should be declared in a file named ObjectStreamConstants.java
(source unavailable)
/usr/local/java/src.zip(java/util/Dictionary.java):33: class Dictionary is public, should be declared in a file named Dictionary.java
(source unavailable)
/usr/local/java/src.zip(java/security/cert/Certificate.java):44: class Certificate is public, should be declared in a file named Certificate.java
(source unavailable)
/usr/local/java/src.zip(java/security/PublicKey.java):29: class PublicKey is public, should be declared in a file named PublicKey.java
(source unavailable)
/usr/local/java/src.zip(java/security/NoSuchAlgorithmException.java):18: class NoSuchAlgorithmException is public, should be declared in a file named NoSuchAlgorithmException.java
(source unavailable)
/usr/local/java/src.zip(java/security/NoSuchProviderException.java):18: class NoSuchProviderException is public, should be declared in a file named NoSuchProviderException.java
(source unavailable)
/usr/local/java/src.zip(java/security/InvalidKeyException.java):19: class InvalidKeyException is public, should be declared in a file named InvalidKeyException.java
(source unavailable)
/usr/local/java/src.zip(java/security/SignatureException.java):17: class SignatureException is public, should be declared in a file named SignatureException.java
(source unavailable)
/usr/local/java/src.zip(java/util/AbstractList.java):55: class AbstractList is public, should be declared in a file named AbstractList.java
(source unavailable)
/usr/local/java/src.zip(java/util/AbstractCollection.java):43: class AbstractCollection is public, should be declared in a file named AbstractCollection.java
(source unavailable)
/usr/local/java/src.zip(java/util/RandomAccess.java):48: class RandomAccess is public, should be declared in a file named RandomAccess.java
(source unavailable)
/usr/local/java/src.zip(java/util/AbstractMap.java):47: class AbstractMap is public, should be declared in a file named AbstractMap.java
(source unavailable)
/usr/local/java/src.zip(java/lang/ClassFormatError.java):20: class ClassFormatError is public, should be declared in a file named ClassFormatError.java
(source unavailable)
/usr/local/java/src.zip(java/lang/LinkageError.java):21: class LinkageError is public, should be declared in a file named LinkageError.java
(source unavailable)
/usr/local/java/src.zip(java/lang/Error.java):28: class Error is public, should be declared in a file named Error.java
(source unavailable)
/usr/local/java/src.zip(java/net/SocketPermission.java):120: class SocketPermission is public, should be declared in a file named SocketPermission.java
(source unavailable)
/usr/local/java/src.zip(java/io/ByteArrayInputStream.java):27: class ByteArrayInputStream is public, should be declared in a file named ByteArrayInputStream.java
(source unavailable)
/usr/local/java/src.zip(java/lang/IllegalArgumentException.java):20: class IllegalArgumentException is public, should be declared in a file named IllegalArgumentException.java
(source unavailable)
/usr/local/java/src.zip(java/net/URI.java):2572: warning: as of release 1.4, assert is a keyword, and may not be used as an identifier
(source unavailable)
/usr/local/java/src.zip(java/net/URI.java):2572: not a statement
(source unavailable)
/usr/local/java/src.zip(java/net/URI.java):2641: warning: as of release 1.4, assert is a keyword, and may not be used as an identifier
(source unavailable)
/usr/local/java/src.zip(java/net/URI.java):2662: warning: as of release 1.4, assert is a keyword, and may not be used as an identifier
(source unavailable)
/usr/local/java/src.zip(java/net/URI.java):2696: warning: as of release 1.4, assert is a keyword, and may not be used as an identifier
(source unavailable)
/usr/local/java/src.zip(java/net/URI.java):2707: warning: as of release 1.4, assert is a keyword, and may not be used as an identifier
(source unavailable)
/usr/local/java/src.zip(java/net/URI.java):2719: warning: as of release 1.4, assert is a keyword, and may not be used as an identifier
(source unavailable)
/usr/local/java/src.zip(java/net/URI.java):2721: warning: as of release 1.4, assert is a keyword, and may not be used as an identifier
(source unavailable)
/usr/local/java/src.zip(java/net/InetAddress.java):695: warning: as of release 1.4, assert is a keyword, and may not be used as an identifier
(source unavailable)
/usr/local/java/src.zip(java/nio/charset/CharsetEncoder.java):561: warning: as of release 1.4, assert is a keyword, and may not be used as an identifier
(source unavailable)
/usr/local/java/src.zip(java/nio/charset/CharsetEncoder.java):579: warning: as of release 1.4, assert is a keyword, and may not be used as an identifier
(source unavailable)
/usr/local/java/src.zip(java/nio/charset/CharsetDecoder.java):561: warning: as of release 1.4, assert is a keyword, and may not be used as an identifier
(source unavailable)
/usr/local/java/src.zip(java/nio/charset/CharsetDecoder.java):579: warning: as of release 1.4, assert is a keyword, and may not be used as an identifier
(source unavailable)
/usr/local/java/src.zip(java/nio/charset/CoderResult.java):263: warning: as of release 1.4, assert is a keyword, and may not be used as an identifier
(source unavailable)
/usr/local/java/src.zip(java/lang/FloatingDecimal.java):105: warning: as of release 1.4, assert is a keyword, and may not be used as an identifier
(source unavailable)
/usr/local/java/src.zip(java/lang/FloatingDecimal.java):191: warning: as of release 1.4, assert is a keyword, and may not be used as an identifier
(source unavailable)
/usr/local/java/src.zip(java/lang/FloatingDecimal.java):301: warning: as of release 1.4, assert is a keyword, and may not be used as an identifier
(source unavailable)
/usr/local/java/src.zip(java/lang/FloatingDecimal.java):696: warning: as of release 1.4, assert is a keyword, and may not be used as an identifier
(source unavailable)
/usr/local/java/src.zip(java/lang/FloatingDecimal.java):716: warning: as of release 1.4, assert is a keyword, and may not be used as an identifier
(source unavailable)
/usr/local/java/src.zip(java/lang/FloatingDecimal.java):749: warning: as of release 1.4, assert is a keyword, and may not be used as an identifier
(source unavailable)
/usr/local/java/src.zip(java/lang/FloatingDecimal.java):769: warning: as of release 1.4, assert is a keyword, and may not be used as an identifier
(source unavailable)
/usr/local/java/src.zip(java/lang/FloatingDecimal.java):813: warning: as of release 1.4, assert is a keyword, and may not be used as an identifier
(source unavailable)
/usr/local/java/src.zip(java/lang/FloatingDecimal.java):832: warning: as of release 1.4, assert is a keyword, and may not be used as an identifier
(source unavailable)
/usr/local/java/src.zip(java/lang/FloatingDecimal.java):887: warning: as of release 1.4, assert is a keyword, and may not be used as an identifier
(source unavailable)
/usr/local/java/src.zip(java/lang/FloatingDecimal.java):2134: warning: as of release 1.4, assert is a keyword, and may not be used as an identifier
(source unavailable)
/usr/local/java/src.zip(java/lang/FloatingDecimal.java):2135: warning: as of release 1.4, assert is a keyword, and may not be used as an identifier
(source unavailable)
/usr/local/java/src.zip(java/lang/FloatingDecimal.java):2246: warning: as of release 1.4, assert is a keyword, and may not be used as an identifier
(source unavailable)
/usr/local/java/src.zip(java/lang/FloatingDecimal.java):2259: warning: as of release 1.4, assert is a keyword, and may not be used as an identifier
(source unavailable)
/usr/local/java/src.zip(java/lang/FloatingDecimal.java):2266: warning: as of release 1.4, assert is a keyword, and may not be used as an identifier
(source unavailable)
/usr/local/java/src.zip(java/lang/FloatingDecimal.java):2271: warning: as of release 1.4, assert is a keyword, and may not be used as an identifier
(source unavailable)
/usr/local/java/src.zip(java/lang/FloatingDecimal.java):2272: warning: as of release 1.4, assert is a keyword, and may not be used as an identifier
(source unavailable)
/usr/local/java/src.zip(java/nio/DirectByteBuffer.java):59: warning: as of release 1.4, assert is a keyword, and may not be used as an identifier
(source unavailable)
/usr/local/java/src.zip(java/nio/DirectByteBuffer.java):165: warning: as of release 1.4, assert is a keyword, and may not be used as an identifier
(source unavailable)
/usr/local/java/src.zip(java/nio/DirectByteBuffer.java):217: warning: as of release 1.4, assert is a keyword, and may not be used as an identifier
(source unavailable)
/usr/local/java/src.zip(java/nio/DirectByteBuffer.java):269: warning: as of release 1.4, assert is a keyword, and may not be used as an identifier
(source unavailable)
/usr/local/java/src.zip(java/nio/DirectByteBuffer.java):274: warning: as of release 1.4, assert is a keyword, and may not be used as an identifier
(source unavailable)
/usr/local/java/src.zip(java/nio/DirectByteBuffer.java):286: warning: as of release 1.4, assert is a keyword, and may not be used as an identifier
(source unavailable)
/usr/local/java/src.zip(java/nio/DirectByteBuffer.java):307: warning: as of release 1.4, assert is a keyword, and may not be used as an identifier
(source unavailable)
/usr/local/java/src.zip(java/nio/DirectByteBuffer.java):332: warning: as of release 1.4, assert is a keyword, and may not be used as an identifier
(source unavailable)
/usr/local/java/src.zip(java/nio/DirectByteBuffer.java):479: warning: as of release 1.4, assert is a keyword, and may not be used as an identifier
(source unavailable)
/usr/local/java/src.zip(java/nio/DirectByteBuffer.java):570: warning: as of release 1.4, assert is a keyword, and may not be used as an identifier
(source unavailable)
/usr/local/java/src.zip(java/nio/DirectByteBuffer.java):661: warning: as of release 1.4, assert is a keyword, and may not be used as an identifier
(source unavailable)
/usr/local/java/src.zip(java/nio/DirectByteBuffer.java):752: warning: as of release 1.4, assert is a keyword, and may not be used as an identifier
(source unavailable)
/usr/local/java/src.zip(java/nio/DirectByteBuffer.java):843: warning: as of release 1.4, assert is a keyword, and may not be used as an identifier
(source unavailable)
/usr/local/java/src.zip(java/nio/DirectByteBuffer.java):934: warning: as of release 1.4, assert is a keyword, and may not be used as an identifier
(source unavailable)
/usr/local/java/src.zip(java/nio/Bits.java):632: warning: as of release 1.4, assert is a keyword, and may not be used as an identifier
(source unavailable)
/usr/local/java/src.zip(java/lang/CharacterDataLatin1.java):284: warning: as of release 1.4, assert is a keyword, and may not be used as an identifier
(source unavailable)
/usr/local/java/src.zip(java/lang/CharacterData.java):956: warning: as of release 1.4, assert is a keyword, and may not be used as an identifier
(source unavailable)
/usr/local/java/src.zip(java/nio/DirectByteBufferR.java):165: warning: as of release 1.4, assert is a keyword, and may not be used as an identifier
(source unavailable)
/usr/local/java/src.zip(java/nio/DirectByteBufferR.java):479: warning: as of release 1.4, assert is a keyword, and may not be used as an identifier
(source unavailable)
/usr/local/java/src.zip(java/nio/DirectByteBufferR.java):570: warning: as of release 1.4, assert is a keyword, and may not be used as an identifier
(source unavailable)
/usr/local/java/src.zip(java/nio/DirectByteBufferR.java):661: warning: as of release 1.4, assert is a keyword, and may not be used as an identifier
(source unavailable)
/usr/local/java/src.zip(java/nio/DirectByteBufferR.java):752: warning: as of release 1.4, assert is a keyword, and may not be used as an identifier
(source unavailable)
/usr/local/java/src.zip(java/nio/DirectByteBufferR.java):843: warning: as of release 1.4, assert is a keyword, and may not be used as an identifier
(source unavailable)
/usr/local/java/src.zip(java/nio/DirectByteBufferR.java):934: warning: as of release 1.4, assert is a keyword, and may not be used as an identifier
(source unavailable)
/usr/local/java/src.zip(java/nio/ByteBufferAsCharBufferB.java):34: warning: as of release 1.4, assert is a keyword, and may not be used as an identifier
(source unavailable)
/usr/local/java/src.zip(java/nio/ByteBufferAsCharBufferB.java):57: warning: as of release 1.4, assert is a keyword, and may not be used as an identifier
(source unavailable)
/usr/local/java/src.zip(java/nio/ByteBufferAsCharBufferB.java):123: warning: as of release 1.4, assert is a keyword, and may not be used as an identifier
(source unavailable)
/usr/local/java/src.zip(java/nio/ByteBufferAsCharBufferB.java):173: warning: as of release 1.4, assert is a keyword, and may not be used as an identifier
(source unavailable)
/usr/local/java/src.zip(java/nio/ByteBufferAsCharBufferL.java):34: warning: as of release 1.4, assert is a keyword, and may not be used as an identifier
(source unavailable)
/usr/local/java/src.zip(java/nio/ByteBufferAsCharBufferL.java):57: warning: as of release 1.4, assert is a keyword, and may not be used as an identifier
(source unavailable)
/usr/local/java/src.zip(java/nio/ByteBufferAsCharBufferL.java):123: warning: as of release 1.4, assert is a keyword, and may not be used as an identifier
(source unavailable)
/usr/local/java/src.zip(java/nio/ByteBufferAsCharBufferL.java):173: warning: as of release 1.4, assert is a keyword, and may not be used as an identifier
(source unavailable)
/usr/local/java/src.zip(java/nio/DirectCharBufferU.java):165: warning: as of release 1.4, assert is a keyword, and may not be used as an identifier
(source unavailable)
/usr/local/java/src.zip(java/nio/DirectCharBufferU.java):217: warning: as of release 1.4, assert is a keyword, and may not be used as an identifier
(source unavailable)
/usr/local/java/src.zip(java/nio/DirectCharBufferU.java):269: warning: as of release 1.4, assert is a keyword, and may not be used as an identifier
(source unavailable)
/usr/local/java/src.zip(java/nio/DirectCharBufferU.java):274: warning: as of release 1.4, assert is a keyword, and may not be used as an identifier
(source unavailable)
/usr/local/java/src.zip(java/nio/DirectCharBufferU.java):286: warning: as of release 1.4, assert is a keyword, and may not be used as an identifier
(source unavailable)
/usr/local/java/src.zip(java/nio/DirectCharBufferU.java):307: warning: as of release 1.4, assert is a keyword, and may not be used as an identifier
(source unavailable)
/usr/local/java/src.zip(java/nio/DirectCharBufferU.java):332: warning: as of release 1.4, assert is a keyword, and may not be used as an identifier
(source unavailable)
/usr/local/java/src.zip(java/nio/DirectCharBufferU.java):378: warning: as of release 1.4, assert is a keyword, and may not be used as an identifier
(source unavailable)
/usr/local/java/src.zip(java/nio/DirectCharBufferS.java):165: warning: as of release 1.4, assert is a keyword, and may not be used as an identifier
(source unavailable)
/usr/local/java/src.zip(java/nio/DirectCharBufferS.java):217: warning: as of release 1.4, assert is a keyword, and may not be used as an identifier
(source unavailable)
/usr/local/java/src.zip(java/nio/DirectCharBufferS.java):269:export CLASSPATH=.:$JAVA_HOME/src.zip:$JAVA_HOME/lib/tools.jar
There's your problem... "src.zip" shouldn't be on your classpath. Take out that entry. The actual .class files are in $JAVA_HOME/jre/lib/rt.jar, but you shouldn't need to explicity add that one to your classpath, as the compiler already knows about it (through JAVA_HOME, I think). -
Loadjava fails; create java source succeeds
When using loadjava to load a Java class into the database I receive the following error:
C:\OEMNT\bin>loadjava -user us/pw@db -verbose -resolve HelloWorld.class
initialization complete
loading : HelloWorld
Error while loading HelloWorld
ORA-00942: table or view does not exist
creating : HelloWorld
Error while creating class HelloWorld
ORA-29506: invalid query derived from USING clause
ORA-00942: table or view does not exist
resolver :
resolving: HelloWorld
Error while resolving class HelloWorld
ORA-04043: object HelloWorld does not exist
loadjava: 3 errors
When using the CREATE JAVA SOURCE command from SQL the Java source + Class is created without problems.
It seems loadjava wants to insert or check something in a table. But what table?Hi,
Omitting -jarasresource is the first step.
You probably need to specify -recursivejars in cas there are jars in your jars.
Also use -genmissing option in case some classes are still missing in the jars files you've loaded.
Kuassi http://db360.blogspot.com -
Weblogic Platform 8.1 SP2 on Debian
I've downloaded platform812_linux32.bin. When I run it I get:
$ file platform812_linux32.bin
platform812_linux32.bin: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.0.0, dynamically linked (uses shared libs), stripped
$ ./platform812_linux32.bin
bash: ./platform812_linux32.bin: Permission denied
$
Help.
Steve.Ok. Now I've downloaded and installed pj_server811_generic.jar and it installs
fine my Debian system. Problems are threefold though:
1. There doesn't seem to be a 8.1 SP2 release for the "Java" platform. Where is
pj_server811_generic.jar?
Why don't you guys make "Java" a platform option when selecting a download.
I had to select an unpopular platform to find the "Java" platform release.
2. The pj_server811_generic.jar does not include WL Integration or WL Portal.
Will there be a SP2 soon for the "Java" platform that will include Integration
and Portal?
3. After installing. I ran up Workshop 8.1 (from quickstart). The application
SampleApp does not compile. Is this intended? See build log below.
---begin build log--
Application Build Starting
Application Build Status: Schemas
BUILD STARTED
build:
check-uptodate:
build-sub:
Creating new property file: /mnt/MetalGearBox/Linux/steve/local/bea/weblogic81/samples/workshop/SamplesApp/.workshop/.ide/Schemas/build.properties
Created dir: /tmp/.wlw-temp/wlw_compile8899/Schemas
Loading schema file /mnt/MetalGearBox/Linux/steve/local/bea/weblogic81/samples/workshop/SamplesApp/Schemas/JmsSchemas.xsd
Loading schema file /mnt/MetalGearBox/Linux/steve/local/bea/weblogic81/samples/workshop/SamplesApp/Schemas/CreditReport.xsd
Loading schema file /mnt/MetalGearBox/Linux/steve/local/bea/weblogic81/samples/workshop/SamplesApp/Schemas/InputMapMultiple.xsd
Loading schema file /mnt/MetalGearBox/Linux/steve/local/bea/weblogic81/samples/workshop/SamplesApp/Schemas/ServiceFactoryClient.xsd
Loading schema file /mnt/MetalGearBox/Linux/steve/local/bea/weblogic81/samples/workshop/SamplesApp/Schemas/EasyPO.xsd
Loading schema file /mnt/MetalGearBox/Linux/steve/local/bea/weblogic81/samples/workshop/SamplesApp/Schemas/EasyPOLocal.xsd
Loading schema file /mnt/MetalGearBox/Linux/steve/local/bea/weblogic81/samples/workshop/SamplesApp/Schemas/PersonScript.xsd
Loading schema file /mnt/MetalGearBox/Linux/steve/local/bea/weblogic81/samples/workshop/SamplesApp/Schemas/SimpleMap.xsd
Loading schema file /mnt/MetalGearBox/Linux/steve/local/bea/weblogic81/samples/workshop/SamplesApp/Schemas/OutputMap.xsd
Loading schema file /mnt/MetalGearBox/Linux/steve/local/bea/weblogic81/samples/workshop/SamplesApp/Schemas/ConsolidateAddress.xsd
Loading schema file /mnt/MetalGearBox/Linux/steve/local/bea/weblogic81/samples/workshop/SamplesApp/Schemas/PriceSummary.xsd
Loading schema file /mnt/MetalGearBox/Linux/steve/local/bea/weblogic81/samples/workshop/SamplesApp/Schemas/Inventory.xsd
Loading schema file /mnt/MetalGearBox/Linux/steve/local/bea/weblogic81/samples/workshop/SamplesApp/Schemas/CustomerDBClient.xsd
Loading schema file /mnt/MetalGearBox/Linux/steve/local/bea/weblogic81/samples/workshop/SamplesApp/Schemas/EmployeeMarital.xsd
Loading config file /mnt/MetalGearBox/Linux/steve/local/bea/weblogic81/samples/workshop/SamplesApp/Schemas/EasyPOConfig.xsdconfig
Time to build schema type system: 14.034 seconds
Time to generate code: 81.304 seconds
Building zip: /tmp/.wlw-temp/wlw_compile8899/Schemas.jar
move-jar:
Moving 1 files to /mnt/MetalGearBox/Linux/steve/local/bea/weblogic81/samples/workshop/SamplesApp/APP-INF/lib
check-cleanup-jar:
BUILD SUCCESSFUL
Build project Schemas complete.
Application Build Status: ProxyClient
BUILD STARTED
build:
Deleting directory /tmp/.wlw-temp/wlw_compile8903
Created dir: /tmp/.wlw-temp/wlw_compile8903
Building zip: /mnt/MetalGearBox/Linux/steve/local/bea/weblogic81/samples/workshop/SamplesApp/APP-INF/lib/ProxyClient.jar
BUILD SUCCESSFUL
Build project ProxyClient complete.
Application Build Status: JavaControlProject
BUILD STARTED
build:
Deleting directory /tmp/.wlw-temp/wlw_compile8905
Created dir: /tmp/.wlw-temp/wlw_compile8905
make-jc-jar:
Created dir: /tmp/.wlw-temp/wlw_compile8905/META-INF
Building jar: /mnt/MetalGearBox/Linux/steve/local/bea/weblogic81/samples/workshop/SamplesApp/APP-INF/lib/JavaControlProject.jar
BUILD SUCCESSFUL
Build project JavaControlProject complete.
Application Build Status: GettingStarted
BUILD STARTED
build:
clean:
Compiling webapp-level sources...
GettingStarted/resources/jsp/header.jsp
GettingStarted/resources/jsp/template.jsp
GettingStarted/error.jsp
GettingStarted/index.jsp
GettingStarted/com/bea/wlw/runtime/core/control/EventControl.jcx
GettingStarted/weblogic/jws/control/TimerControl.jcx
GettingStarted/com/bea/wlw/runtime/core/control/jmscontrol/MDBListener.jcx
GettingStarted/com/bea/control/TimerControl.jcx
GettingStarted/verifyFunds/poUtil/POUtil.jcx
GettingStarted/verifyFunds/VerifyFunds.jcx
GettingStarted/verifyFunds/CustomerAccountEJB.jcx
GettingStarted/verifyFunds/ItemsDatabase.jcx
GettingStarted/verifyFunds/poUtil/POUtil.jcx
GettingStarted/verifyFunds/VerifyFunds.jcx
GettingStarted/verifyFunds/CustomerAccountEJB.jcx
GettingStarted/verifyFunds/ItemsDatabase.jcx
SourceLoader roots: 276
BUILD SUCCESSFUL
Build project GettingStarted complete.
Application Build Status: WebApp
BUILD STARTED
build:
clean:
Compiling webapp-level sources...
/mnt/MetalGearBox/Linux/steve/local/bea/weblogic81/samples/workshop/SamplesApp/WebApp/webServiceControl/polling/
WARNING: PollingController.jpf:97: Control type webServiceControl.polling.asyncWebService.HelloWorldAsyncControl
defines a callback interface, but page flows cannot receive asynchronous callbacks.
/mnt/MetalGearBox/Linux/steve/local/bea/weblogic81/samples/workshop/SamplesApp/WebApp/webServiceControl/helloworld/
ERROR: HelloWorldControl.jcx:8: 'com.bea.wlw.runtime.jws.compiler.ServiceCtrlChecker$JcxValidateControl'
could not be created.
ERROR: SUGGESTION: The class could not be created. Verify that it has a no-argument
constructor.
ERROR: HelloWorldControl.jcx:8: 'com.bea.wlw.runtime.jws.compiler.ServiceCtrlChecker$JcxValidateControl'
could not be created.
ERROR: SUGGESTION: The class could not be created. Verify that it has a no-argument
constructor.
ERROR: HelloWorldControl.jcx:11: 'com.bea.wlw.runtime.jws.compiler.ServiceCtrlChecker$JcxValidateMethod'
could not be created.
ERROR: SUGGESTION: The class could not be created. Verify that it has a no-argument
constructor.
/mnt/MetalGearBox/Linux/steve/local/bea/weblogic81/samples/workshop/SamplesApp/WebApp/webServiceControl/polling/asyncWebService/
ERROR: HelloWorldAsyncControl.jcx:9: 'com.bea.wlw.runtime.jws.compiler.ServiceCtrlChecker$JcxValidateControl'
could not be created.
ERROR: SUGGESTION: The class could not be created. Verify that it has a no-argument
constructor.
ERROR: HelloWorldAsyncControl.jcx:9: 'com.bea.wlw.runtime.jws.compiler.ServiceCtrlChecker$JcxValidateControl'
could not be created.
ERROR: SUGGESTION: The class could not be created. Verify that it has a no-argument
constructor.
ERROR: HelloWorldAsyncControl.jcx:37: 'com.bea.wlw.runtime.jws.compiler.ServiceCtrlChecker$JcxValidateMethod'
could not be created.
ERROR: SUGGESTION: The class could not be created. Verify that it has a no-argument
constructor.
ERROR: HelloWorldAsyncControl.jcx:45: 'com.bea.wlw.runtime.jws.compiler.ServiceCtrlChecker$JcxValidateMethod'
could not be created.
ERROR: SUGGESTION: The class could not be created. Verify that it has a no-argument
constructor.
ERROR: HelloWorldAsyncControl.jcx:51: 'com.bea.wlw.runtime.jws.compiler.ServiceCtrlChecker$JcxValidateMethod'
could not be created.
ERROR: SUGGESTION: The class could not be created. Verify that it has a no-argument
constructor.
ERROR: HelloWorldAsyncControl.jcx:57: 'com.bea.wlw.runtime.jws.compiler.ServiceCtrlChecker$JcxValidateMethod'
could not be created.
ERROR: SUGGESTION: The class could not be created. Verify that it has a no-argument
constructor.
/mnt/MetalGearBox/Linux/steve/local/bea/weblogic81/samples/workshop/SamplesApp/WebApp/jsp/controls/helloworld/
ERROR: HelloWorldControl.jcx:8: 'com.bea.wlw.runtime.jws.compiler.ServiceCtrlChecker$JcxValidateControl'
could not be created.
ERROR: SUGGESTION: The class could not be created. Verify that it has a no-argument
constructor.
ERROR: HelloWorldControl.jcx:8: 'com.bea.wlw.runtime.jws.compiler.ServiceCtrlChecker$JcxValidateControl'
could not be created.
ERROR: SUGGESTION: The class could not be created. Verify that it has a no-argument
constructor.
ERROR: HelloWorldControl.jcx:11: 'com.bea.wlw.runtime.jws.compiler.ServiceCtrlChecker$JcxValidateMethod'
could not be created.
ERROR: SUGGESTION: The class could not be created. Verify that it has a no-argument
constructor.
/mnt/MetalGearBox/Linux/steve/local/bea/weblogic81/samples/workshop/SamplesApp/WebApp/dbcontrol/
ERROR: ItemsDBControl.jcx:49: Validation class for this value was not provided
or was not found.
ERROR: SUGGESTION: Verify that the validation class for this type is available.
ERROR: 13 error(s), 1 warning(s).
BUILD FAILED
ERROR: Build failed with 13 error(s).
Application Build had errors.
---end build log---
Regards,
Steve. -
Load a .dll in my jsp file
I have .dll written with c, I want to use some functions in .jsp file.but how can call function defined in that .dll file from .jsp page or .java?
thank you so much
I followed tutorial but got another question:
I think I did everything well like
create .java
create .class
create .h
create .c
create .dll
but when I tried :java HelloWorld
error accured:
Exception in thread "main" java.lang.unsatisfiedLinkError:
I am not sure how to solve this error.
thank you .
June 15 -
NewBie Question: Javac.exe Not recognized?
Hi I just want to try out my v first hello world program in MOTOROLA IDEN SDK For J2ME Tech (v 1.2)
I added a hello-world java file in the javafiles folder. Then when i try to build, an error occurred:
"start building...
compile D:\IAProject\TRIALCODEEXAMPLE\Example.java...
javac.exe is not recognized as an internal or external command,
operable program or batch file.
Building over"
Wat's the problem? Did i missed out any settings? THanks!!!!!THX, but I have new problem with this:
Unhandled Exception in constructor java.lang.ClassNotFoundException: HelloWorld
Error creating MIDlet HelloWorld
sorce from UserGuide Motorola iDEN SDK..
package com.mot.j2me.midlets.helloworld;
import javax.microedition.lcdui.*;
import javax.microedition.midlet.*;
public class HelloWorld extends MIDlet {
private Form mainScreen;
private Display myDisplay;
HelloWorld() {
myDisplay = Display.getDisplay(this);
mainScreen = new Form("Hello World");
StringItem strItem = new StringItem("Hello", "This is a J2ME MIDlet."); mainScreen.append(strItem);
public void startApp() throws MIDletStateChangeException
{ myDisplay.setCurrent(mainScreen);
public void pauseApp() {
public void destroyApp(boolean unconditional) {
}Why this code doesn't work?? -
J2me Mobile client calling method which return byte[]
java.rmi.MarshalException: Expected Byte, received: SGVsbG8gV29ybGQ=
WebService1_Stub ws=new WebService1_Stub();
try {
String s=ws.getStringHelloWorld();// works fine
byte s[]=ws.helloWorld(); // error java.rmi.MarshalException: Expected Byte, received: SGVsbG8gV29ybGQ=
}catch(Expception e){
ex.printStackTrace();
}This same ws working fine in java standalone application please guide me what can be a problem ??
Regards
Haroon Idreesclear your app. server logs ( or make copies of them if will you need them) and redo the whole process. check out the logs and you should see some reason for this. i do not know if Borland's logs will turn out helpful, but it did help me out in certain other situations.
-
Collection Name path format (newbie question)
Hi,
In the below code, the definition of the name of the collection in "queryString" is giving mistake. I already tried other syntaxes, inclusive, using setDefaultCollection and/or setBaseURI, but without success.
Please, someone can orientate me in the correct format to make reference to Collection IDSendRA.dbxml. The container is located in D:\SES\XMLDatabases\VMService\IDSendRA.dbxml.
Definitions:
String containerName = "D:\\SES\\XMLDatabases\\VMService\\IDSendRA.dbxml";
String queryString = "collection('D:\\SES\\XMLDatabases\\VMService\\IDSendRA.dbxml')/Cred[ID1=$name]";
Error message:
XmlException during helloWorld: Error: Invalid URI format [err:FODC0002], <query>:1:1
Exception in thread "main" com.sleepycat.dbxml.XmlException: Error: Invalid URI format [err:FODC0002], <query>:1:1, errcode = XPATH_PARSER_ERROR
at com.sleepycat.dbxml.dbxml_javaJNI.XmlManager_prepare__SWIG_0(Native Method)
at com.sleepycat.dbxml.XmlManager.prepare(XmlManager.java:586)
Thank you.
Regivaldo CostaRon,
Thanks by the return.
I am using the version 2.3.10.
The code is the "query.java" example what accompanies the version. I hardly changed the container path and the XML Document. It follows:
public static void main(String args[]) Throws Throwable {
String containerName = "D:\\SES\\XMLDatabases\\VMService\\IDSendRA.dbxml";
String content = "<Cred><ID1>260300786</ID1><ID2>>454545454</ID2></Cred>";
String docName = "0001";
String queryString = "collection('D:\\SES\\XMLDatabases\\VMService\\IDSendRA.dbxml')/Cred[ID1=$name]";
XmlManager mgr = null;
XmlContainer cont = null;
try {
mgr = new XmlManager();
if (mgr.existsContainer(containerName) != 0)
mgr.removeContainer(containerName);
cont = mgr.createContainer(containerName);
XmlUpdateContext uc = mgr.createUpdateContext();
cont.putDocument(docName, content, uc);
XmlQueryContext qc = mgr.createQueryContext();
qc.setVariableValue("name", new XmlValue("260300786"));
XmlQueryExpression expr = mgr.prepare(queryString, qc);
XmlResults res = expr.execute(qc);
System.out.println("The query, '" + expr.getQuery() +
"'\n\t returned " + res.size() + " result(s)");
XmlValue value = new XmlValue();
System.out.print("Result: ");
while ((value = res.next()) != null) {
System.out.println("\t" + value.asString());
value.delete();
res.delete();
expr.delete();
} catch (XmlException xe) {
System.err.println("XmlException during helloWorld: " +
xe.getMessage());
throw xe;
finally {
cleanup(mgr, cont);
} -
CPU : AMD64 opeteron
O S : Redhat Enterprise 9 AS
JAVA: java-1.4.1-ibm-1.4.1.2-1jpp_2rh --> rpm
I`m on testing JNI in 64bit linux
it`s just HelloWorld program in this site jni tutorial
I succeeded same program in Solaris8 but in linux failed
In linux compiled with -fPIC and runed java
:gcc -shared -fPIC -I/usr/lib/jvm/java/include -o libhello.so HelloWorldImp.c
-->libhello.so created
-->libhello.so was listed LD_LIBRARY_PATH
:java HelloWorld
-->error occured
The java class could not be loaded. java.lang.UnsatisfiedLinkError: /data/test/jni3/libhello.so: /data/test/jni3/libhello.so: :g ; 4: =
java program can find .so but can`t load so file
why this happen? someone have idea? need help
sorry about my englishI think I will go read the release notes. Of java? Hmm, haven't looked there yet, but this is a just a fact of the biarch system.
I wonder if any of this mumbo jumbo is documented.I tried to find a link somewhere on the web but nothing too exciting. Believe me, I have an amd64 with both 32 bit and 64 bit applications. Both work excellently as long as the appropraite libraries are present. For instance, 32 bit mplayer (to use windows codecs) must link with 32 bit X11, glibc, gif, etc. This is also why most 64 bit users have a 32 bit browser - to use 32 bit flash and java plugin (there is no 64 bit version ATM) .This is also why you most likely (if you're on linux) have a /lib,/lib32, etc. -
Error while executing HelloWorld.java program
Hi All,
I am trying to execute the samples(HelloWorld.java) program from Jdeveloper and provided the following details in runtime.defaults:
CONTENT_DB_URL
ADMIN_USER_NAME
ADMIN_USER_PASSWORD
however getting the following exception:
FdkException:
Error Code: ORACLE.FDK.UnexpectedError
Detailed Error Code: ORACLE.FDK.FeatureNotEnabled
Trace Id:
info (NamedValue[]): null
can any one please help me to resolve this issue.
Thanks
Krrish.See the Cleartext Authentication note in the running_client_samples.html file of the CDB devkit.
The default configuration for an out-of-box Oracle Content DB installation allows Cleartext Authentication only if SSL has been enabled (and the Web Services connection string begins with https). See the authentication topic for details.
To allow Cleartext Authentication to take place over standard (non-SSL) HTTP, set the Oracle Content DB domain property IFS.DOMAIN.WS.CleartextAuthenticationRequiresHttps to false using Enterprise Manager (Application Server Control). See the Content DB Administration Guide for details.
If the domain property above is not modified to false and Cleartext Authentication is attempted using using standard HTTP, an FdkException will be thrown:
ORACLE.FDK.UnexpectedError : ORACLE.FDK.FeatureNotEnabled
cheers
Matt. -
Error while running helloworld example
Hi Every one!
I am getting the following error while running the helloworld page....can some one help me please....
[Starting OC4J using the following ports: HTTP=8988, RMI=23891, JMS=9227.]
G:\OAF1\jdevhome\jdev\system\oracle.j2ee.10.1.3.41.57\embedded-oc4j\config>
G:\OAF1\jdevbin\jdk\bin\javaw.exe -hotspot -classpath G:\OAF1\jdevbin\j2ee\home\oc4j.jar;G:\OAF1\jdevbin\jdev\lib\jdev-oc4j-embedded.jar -DFND_JDBC_STMT_CACHE_SIZE=200 -DCACHENODBINIT=true -DRUN_FROM_JDEV=true -mx256m -XX:MaxPermSize=256M -Doracle.j2ee.dont.use.memory.archive=false -Xverify:none -DcheckForUpdates=adminClientOnly -Doracle.application.environment=development -Doracle.j2ee.dont.use.memory.archive=true -Doracle.j2ee.http.socket.timeout=500 -Doc4j.jms.usePersistenceLockFiles=false oracle.oc4j.loader.boot.BootStrap -config G:\OAF1\jdevhome\jdev\system\oracle.j2ee.10.1.3.41.57\embedded-oc4j\config\server.xml
[waiting for the server to complete its initialization...]
Could not canonicalize 'C:\Program Files\Java\jdk1.5.0_08\libC:\Program Files\Apache Software Foundation\Tomcat 6.0\bin' (The filename, directory name, or volume label syntax is incorrect). From system property java.library.path.
Could not canonicalize '"C:\Program Files\NetBeans 6.5\bin' (The filename, directory name, or volume label syntax is incorrect). From system property java.library.path.
Apr 16, 2012 5:27:05 PM com.evermind.server.jms.JMSMessages log
INFO: JMSServer[]: OC4J JMS server recovering transactions (commit 0) (rollback 0) (prepared 0).
Apr 16, 2012 5:27:05 PM com.evermind.server.jms.JMSMessages log
INFO: JMSServer[]: OC4J JMS server recovering local transactions Queue[jms/Oc4jJmsExceptionQueue].
WARNING: Code-source G:\OAF1\jdevbin\jdev\appslibrt\xml.jar (from <library> in /G:/OAF1/jdevhome/jdev/system/oracle.j2ee.10.1.3.41.57/embedded-oc4j/config/application.xml) has the same filename but is not identical to /G:/OAF1/jdevbin/lib/xml.jar (from <code-source> (ignore manifest Class-Path) in META-INF/boot.xml in G:\OAF1\jdevbin\j2ee\home\oc4j.jar). If it contains different versions of the same classes, it will be masked as the latter is already visible in the search path of loader default.root:0.0.0.
WARNING: Code-source G:\OAF1\jdevbin\jdev\appslibrt\jazn.jar (from <library> in /G:/OAF1/jdevhome/jdev/system/oracle.j2ee.10.1.3.41.57/embedded-oc4j/config/application.xml) has the same filename but is not identical to /G:/OAF1/jdevbin/j2ee/home/jazn.jar (from <code-source> in META-INF/boot.xml in G:\OAF1\jdevbin\j2ee\home\oc4j.jar). If it contains different versions of the same classes, it will be masked as the latter is already visible in the search path of loader default.root:0.0.0.
WARNING: Code-source G:\OAF1\jdevbin\jdev\appslibrt\jazncore.jar (from manifest of /G:/OAF1/jdevbin/jdev/appslibrt/jazn.jar) has the same filename but is not identical to /G:/OAF1/jdevbin/j2ee/home/jazncore.jar (from <code-source> in META-INF/boot.xml in G:\OAF1\jdevbin\j2ee\home\oc4j.jar). If it contains different versions of the same classes, it will be masked as the latter is already visible in the search path of loader default.root:0.0.0.
WARNING: Code-source G:\OAF1\jdevhome\jdev\system\oracle.j2ee.10.1.3.41.57\embedded-oc4j\applications\datatags\webapp\WEB-INF\lib\uix2.jar (from WEB-INF/lib/ directory in G:\OAF1\jdevhome\jdev\system\oracle.j2ee.10.1.3.41.57\embedded-oc4j\applications\datatags\webapp\WEB-INF\lib) has the same filename but is not identical to /G:/OAF1/jdevbin/jdev/appslibrt/uix2.jar (from <library> in /G:/OAF1/jdevhome/jdev/system/oracle.j2ee.10.1.3.41.57/embedded-oc4j/config/application.xml). If it contains different versions of the same classes, it will be masked as the latter is already visible in the search path of loader datatags.web.webapp:0.0.0.
Ready message received from Oc4jNotifier.
Embedded OC4J startup time: 21093 ms.
Target URL -- http://bloom.bspl.com:8988/OA_HTML/runregion.jsp
12/04/16 17:27:14 Oracle Containers for J2EE 10g (10.1.3.3.0) initialized
12/04/16 17:27:19 TIME: runregion: initialization [16 ms]
oracle.apps.fnd.framework.OAException: Application: ICX, Message Name: Could not find the specified responsibility.
at oracle.apps.fnd.framework.CreateIcxSession.getEncryptedSessId(Unknown Source)
at oracle.apps.fnd.framework.CreateIcxSession.createSession(Unknown Source)
at _runregion._jspService(_runregion.java:136)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
at java.lang.Thread.run(Thread.java:595)Hi,
Goto Project Properties:
Search for the following in left pane:
Oracle Applications -> Runtime Connection
DBC file : Choose the correct dbc file from your local machine. You have to get it from your dba and paste it in this path: jdevhome\jdev\dbc_files\secure\*.dbc
User Name: Application User Name
Password : Application password
Responsibilty Key:
Goto Application Developer --> Responsibility --> Define -- >
Query for the available responsibility for the given user. Say for example: "Order Management Super User"
Application: Order Management
Responsibilty Key: ORDER_MGMT_SUPER_USER
Application Short Name:
Goto Application Developer --> Application --> Register -- >
Query for the given application " Order Management"
Short Name: ONT
Responsibility Key and Application Short Name depends upon the object you are developing.
Regards. -
Getting the error while deploying the HelloWorld BPEL process
Hi Folks...
I installed the BPM of version soa_windows_x86_bpel_101310.
I designed and rebuilt the HelloWorld BPEL process in Jdeveloper10.13.1. It is executed with out any errors.
I tried to deploy it in BPEL console 10.1.3.1.0. Then I got the following error
Missing process descriptor file. The process deployment descriptor file "bpel.xml" has not been packaged in the BPEL archive "bpel_41030.tmp". Please generate the BPEL archive again using the "bpelc" tool and redeploy the process. The BPEL archive "bpel_41030.tmp" may have been generated with an older version of "bpelc"
Can any body help me how to rectify the error in BPEL console.
Thanks in advance...
Gopal.Hi Gopal,
Did you find any solution? I am having same problem...while compiling it compiles with 1 warning and am able to deploy from jdeveloper not from bpel server.
Warning: TopLink found problems in bpelProccessName. Please ensure that these are corrected before deployment.
Thanks -
Error while running OA Framework (HelloWorld.jpr) in Jdeveloper 10g
Hi all,
I have a created sample HelloWorld Page thru Jdeveloper 10g with OA Extension on R12 Instance. I am running to following error when I run the page from Jdeveloper 10g. Can you please help me out in resolving this issue?
I would really appreciate your help. Thx
java.lang.ExceptionInInitializerError at oracle.apps.fnd.common.WebRequestUtil.validateContextPrivate(WebRequestUtil.java:439) at oracle.apps.fnd.common.WebRequestUtil.validateContext(WebRequestUtil.java:322) at oracle.apps.fnd.common.WebRequestUtil.validateContext(WebRequestUtil.java:225) at OAErrorPage.jspService(_OAErrorPage.java:62) [OAErrorPage.jsp] at com.orionserver[Oracle Containers for J2EE 10g (10.1.3.3.0) ].http.OrionHttpJspPage.service(OrionHttpJspPage.java:59) at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462) at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594) at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:259) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:51) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:193) at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:283) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:198) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.EvermindPageContext.handlePageThrowable(EvermindPageContext.java:847) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.EvermindPageContext.handlePageException(EvermindPageContext.java:813) at runregion.jspService(_runregion.java:193) [runregion.jsp] at com.orionserver[Oracle Containers for J2EE 10g (10.1.3.3.0) ].http.OrionHttpJspPage.service(OrionHttpJspPage.java:59) at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462) at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594) at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:122) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:111) at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260) at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239) at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34) at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298) at java.lang.Thread.run(Thread.java:595)Caused by: java.lang.IllegalArgumentException: WebAppsContext.getJDBCConnection() == null at oracle.apps.fnd.functionSecurity.FunctionSecurity.init(FunctionSecurity.java:1602) at oracle.apps.fnd.functionSecurity.FunctionSecurity.<init>(FunctionSecurity.java:188) at oracle.apps.fnd.sso.SSOUtil.getLocalPwdChangeUrl(SSOUtil.java:709) at oracle.apps.fnd.sso.SSOUtil.getLocalPwdChangeUrl(SSOUtil.java:765) at oracle.apps.fnd.sso.SSOManager.<clinit>(SSOManager.java:2209) ... 37 moreHi
Thanks for your reply. I have checked my Runtime Connection. Everything looks good. The following are settings done.
1) Project Properties -> Oracle Applications -> Runtime Connection
Dbc FileName: C:\Jdev10g_R12\jdevhome\jdev\dbc_files\secure\dld.dbc
username: kthalakoti (Apps Username & password as given)
password: ************
Applcation Short Name: AK
Responsibility Key: FWK_TBX_TUTORIAL
2) Project Properties -> Oracle Applications -> Database Connection
User Name: apps
Connect String:
jdbc:oracle:thin:@//mrpdev24.sirf.com:1521/DLD
Can you please help me out where I'm getting wrong?
Thanks
3) Project Properties -> Oracle Applications -> Run Options
Selected Options: OADiagnostic
OADeveloperMode
Maybe you are looking for
-
Problems with dispatchers after upgrading to SP5
Hi We have just updated our productive environment to IdM 7.1 SP5. Apparantly everything works as expected, but for some reason the provisioning queue is just growing and growing. Jobs and provisionings are not executed. When checking the dispatchers
-
ITunes looks like it's working, but won't play a thing - NOTHING
I don't have the same issues as others on here. I updated to iTunes 7.0.2 a ways back but only today did I update my iPod Nano (1st gen.) to the updated firmware. I then had to restore my iPod Nano and it luckily reloaded all my music from my library
-
SRM7.0 - PO status issue in ECS
Hi, We are observing status (Tracking-Status) of ECS POs is always "In Transfer to Execution system". Can some body help me in analysing why is it so?. We are working on SRM7.0-SP03 and we are observing above mentioned issue only in Extended Classic
-
How to email PDF form as an attachment?
Hi All, I have developed online interactive form app(dynamic). When user clicks the submit button after entered the data, I want to email the PDF form as an attachment to some users. Could anyone please explain the steps or give me some sample code?
-
Error with flash player on my worpress blog
i can't use flash player on my blog, i used many flash player wordpress plugin but can't used flash player for watching video. can anybody help me? my blog: http:musicbold.com