Java 1.6.0_update29+ problem / unsupported
After updating to Java 1.6.0_29, all TES 5.3.1 and 6.0.x releases configured for Microsoft SQL servers will no longer work. This is an issue relating to a severe bug in the Java 1.6.0_29 version, therefore, all Enterprise Scheduler customers are strongly advised not to upgrade Java beyond version 1.6.0_27. If you have already upgraded to the
1.6.0_29 version, rollback Java to the officially supported 1.6.0_21 version.
Just wanted to update this message and inform everyone that Oracle addressed this issue with release 1.6 update 30 of Java. Therefore, there are no issues if using Java version 1.6 update 30+.
John
Tidal TAC CSE
Similar Messages
-
The JAVA program for "Philosopher Problem"
When I learn the book of "Operating Systems (Design and Implementation)"(written by Andrew S.Tanenbaum), I try to write a program for the "Philosopher Problem" . In the book there is a sample of this problem in C language, and I write it in JAVA. The following is my program, I have tested it. It is correct, but maybe it is not the most efficient way to solve the problem. Can you think out a more efficient program in JAVA to solve this problem?
* Philosopher Eating Problem
* @author mubin
* @version 1.0
public class PhilosopherEating {
//Philosophers' number
private final static int PHER_NUM = 20;
//Philosophers' state
private volatile static int[] pherState = new int[PHER_NUM];
//THINKING
private final static int THINKING = 0;
//HUNGRY
private final static int HUNGRY = 1;
//EATING
private final static int EATING = 2;
//Philosophers thread group
public static Philosopher[] philosophers = new Philosopher[PHER_NUM];
//finish indicator
public volatile static boolean finished =false;
//thread lock
public static Object threadLock = new Object();
public PhilosopherEating() {
* Philosopher class
* @author mubin
* @version 1.0
public static class Philosopher extends Thread{
int pherNo ;
public Philosopher(int no){
this.pherNo = no;
public void run(){
while(!PhilosopherEating.finished){
think();
takeForks(this.pherNo);
eat();
putForks(this.pherNo);
* Thinking
private void think(){
System.out.println("Philosopher"+this.pherNo+"is thinking...");
try {
Thread.sleep( (int)(Math.random()*100));
}catch (Exception ex) {
ex.printStackTrace(System.out);
* Eating
private void eat(){
System.out.println("Philosopher"+this.pherNo+"is eating...");
try {
Thread.sleep( (int)(Math.random()*100));
}catch (Exception ex) {
ex.printStackTrace(System.out);
* Take the fork
private void takeForks(int no){
//System.out.println("takeForks:no:"+no);
synchronized (threadLock) {
pherState[no] = HUNGRY;
testPher(no);
* Put down the fork
private void putForks(int no){
//System.out.println("putForks:no:"+no);
synchronized (threadLock) {
pherState[no] = THINKING;
if( pherState[getLeft()]==HUNGRY ){
philosophers[getLeft()].interrupt();
if( pherState[getRight()]==HUNGRY ){
philosophers[getRight()].interrupt();
* Return the NO. of philosopher who is sitting at the left side of this philosopher
* @return the NO. of the left philosopher
private int getLeft(){
int ret = (pherNo-1)<0? PHER_NUM-1 : (pherNo-1);
return ret;
* Return the NO. of philosopher who is sitting at the right side of this philosopher
* @return the NO. of the right philosopher
private int getRight(){
int ret = (pherNo+1)>=PHER_NUM ? 0 :(pherNo+1);
return ret;
private void testPher(int no){
while(true){
if(pherState[no]==HUNGRY
&&pherState[getLeft()]!=EATING
&&pherState[getRight()]!=EATING) {
pherState[no] = EATING;
//Print and check the philosophers' state
printPher(pherState);
return;
}else{
try {
System.out.println(" Philosopher "+this.pherNo+"is waiting a fork");
threadLock.wait();
}catch (java.lang.InterruptedException ex) {
System.out.println(" Philosopher "+this.pherNo+"is interrupted and woken up to take fork");
//when it is interrupted, do nothing. Just let it continue!
}//end of while(true)
* Print and check the philosophers' state.
* To insure there are no two philosophers sit side by side
* are eating at the same time.
private static void printPher(int[] phers){
System.out.print(" philosophers' state��");
for (int i = 0; i < phers.length; i++) {
System.out.print(" "+phers);
System.out.println("");
for (int i = 0; i < phers.length-1; i++) {
if (phers[i]==EATING && phers[i+1]==EATING){
System.err.println(i+" and "+(i+1)+"two of philosophers sitted side by side are eating at the same time!");
if (phers[0]==EATING && phers[PHER_NUM-1]==EATING){
System.err.println("0 and "+PHER_NUM+"two of philosophers sitted side by side are eating at the same time!");
public static void main(String[] args) {
for (int i = 0; i < PHER_NUM; i++) {
PhilosopherEating.pherState[i] = THINKING;
PhilosopherEating aPhilosopherEating = new PhilosopherEating();
for (int i = 0; i < PHER_NUM; i++) {
philosophers[i] = new Philosopher(i);
philosophers[i].start();
try {
Thread.sleep(30000);
catch (InterruptedException ex) {
ex.printStackTrace(System.out);
//End all the threads of philosophers
PhilosopherEating.finished = true;this problem is about learning how to use threads/synchronise objects etc, the efficiency of the code isn't really an issue, if that's what you mean. As for the efficiency of the solution, it's very hard to tell how efficient it is, but as long as all the philosphers get to eat there's no problem. I haven't really scrutized your code, but I'm not sure that you have a deadlock free solution: as long as it is possible for all the phils to pick up one fork at the same time there's a problem, and it seems from your code that each philosopher will pick up "his" fork. Again, I could be wrong, I haven't really looked. If you haven't come up with a solution, try drawing it on paper and working it out, or if you're lazy a quick google will probably give you the answer, but I'm pretty sure nobody here will :)
-
HI Team,
while starting the node manager in wls 8.1 and java1.4
we are facing this issue plz help on this immediately.
+ CLASSPATH=/srvrs/bdv/patches/CR210310_81sp4.jar:/usr/java14/lib/tools.jar:/srvrs/bdv/bea/weblogic81/server/lib/weblogic_sp.jar:/srvrs/bdv/bea/weblogic81/server/lib/weblogic.jar::/srvrs/bdv/bea
+ export CLASSPATH
+ export PATH
+ set -x
+ [ 5555 != ]
+ [ 142.182.112.123 != ]
+ /usr/java14/bin/java -Xms32m -Xmx32m -Dweblogic.security.SSL.enforceConstraints=off -Djava.security.policy=/srvrs/bdv/bea/weblogic81/server/lib/weblogic.policy -Dweblogic.nodemanager.javaHome=/usr/java14 -DListenAddress=142.182.112.123 -DListenPort=5555 weblogic.NodeManager
<Sep 15, 2013 7:35:26 AM EDT> <Info> <NodeManager> <NodeManager: for information on command line options, try "java weblogic.NodeManager -h">
<Sep 15, 2013 7:35:26 AM EDT> <Info> <NodeManager> <Starting NodeManager >
<Sep 15, 2013 7:35:26 AM EDT> <Info> <NodeManager> <Setting listenAddress to 142.182.112.123..>
<Sep 15, 2013 7:35:26 AM EDT> <Info> <NodeManager> <Setting listenPort to 5,555..>
<Sep 15, 2013 7:35:26 AM EDT> <Info> <NodeManager> <Setting java home to '/usr/java14'>
<Sep 15, 2013 7:35:26 AM EDT> <Info> <NodeManager> <Effective values of properties :
ListenAddress=142.182.112.123
ListenPort=5555
ListenerType=secureSocket
SavedLogsDirectory=NodeManagerLogs
NativeVersionEnabled=true
TrustedHosts=nodemanager.hosts
StartTemplate=../../server/lib/unix/nodemanager.sh
ReverseDnsEnabled=false
ScavangerDelaySeconds=180
PIDFileReadRetryCount=0
WeblogicHome=null
bea.home=null
JavaHome=/usr/java14
PropertiesVersion=8.1
>
<Sep 15, 2013 7:35:26 AM EDT> <Info> <NodeManager> <Saving logs in'NodeManagerLogs'>
<Sep 15, 2013 7:35:31 AM EDT> <Info> <[email protected]:5555> <Reading private key and certificate chain from the keystore /srvrs/bdv/bea/weblogic81/server/lib/DemoIdentity.jks. KeyStore type = jks, Using keystore passphrase = true, Alias = DemoIdentity>
<Sep 15, 2013 7:35:31 AM EDT> <Info> <[email protected]:5555> <Reading trusted CAs from the keystore /srvrs/bdv/bea/weblogic81/server/lib/DemoTrust.jks. KeyStore type = jks, Using keystore passphrase = true>
<Sep 15, 2013 7:35:31 AM EDT> <Info> <[email protected]:5555> <Reading trusted CAs from the keystore /usr/java14/jre/lib/security/cacerts. KeyStore type = jks, Using keystore passphrase = false>
SecureSocketListener: Could not setup context and create a secure socket on 142.182.112.123:5555 : java.security.cert.CertificateParsingException: PKIX: Unsupported OID in the AlgorithmIdentifier object: 1.2.840.113549.1.1.11.
java.security.cert.CertificateParsingException: PKIX: Unsupported OID in the AlgorithmIdentifier object: 1.2.840.113549.1.1.11
at com.certicom.security.cert.internal.x509.X509V3CertImpl.<init>(Unknown Source)
at com.certicom.tls.interfaceimpl.CertificateSupport.addTrustedCertificate(Unknown Source)
at com.certicom.net.ssl.SSLContext.addTrustedCertificate(Unknown Source)
at com.bea.sslplus.CerticomSSLContext.addTrustedCA(Unknown Source)
at weblogic.security.utils.SSLContextWrapper.addTrustedCA(SSLContextWrapper.java:52)
at weblogic.nodemanager.internal.SecureSocketListener.run(SecureSocketListener.java:57)
at weblogic.nodemanager.internal.GenericListener.startListener(GenericListener.java:16)
at weblogic.nodemanager.NodeManager.startSecureSocketListener(NodeManager.java:461)
at weblogic.nodemanager.NodeManager.init(NodeManager.java:305)
at weblogic.nodemanager.NodeManager.run(NodeManager.java:511)
at weblogic.NodeManager.main(NodeManager.java:31)
Thanks,
EswarHi,
Did you find a solution to this? We are running into the same issue since upgrading to Weblogic 9.2.3 for WebCT Vista 8.0.4.
Thanks,
Ron -
BI setup: WebAS ABAP Setting - Java to ABAP communication problem
Hello,
i've got a problem during intallation of BI in Netweaver 2004s. The Diagnostics & Support Desktop Tool reports errors in WebAS ABAP Settings. These errors are:
- "Web Template Validation failed due Java to ABAP communication problem (return code:ERSBOLAP018)" with the suggested solution "Check Connector Connection of System Object in Portal System Landscape". What does it mean?
- "Call ABAP->Java for function RSWR_RFC_SERVICE_TEST failed for destination <destination>" and "Call ABAP->Java for function RSRD_MAP_TO_PORTAL_USERS failed for destination <destination>" with suggested solution "Check the data of the destination in transaction SM59. Check that the target host is running and has registered a program id in the gateway." Run of transaction SM59 returns no errors.
Further i've take a look in the log 'dev_jrfc.trc' and there i found the errors:
- Exception thrown by application running in JCo Server
java.lang.RuntimeException: Bean RSRD_MAP_TO_PORTAL_USERS not found on host <host>
- Exception thrown by application running in JCo Server
java.lang.RuntimeException: Bean RSWR_RFC_SERVICE_TEST not found on host <host>
- Exception thrown by application running in JCo Server
java.lang.RuntimeException: Bean RSWR_PREEXECUTION_PROXY not found on host <host>
Can these errors be the cause of the WebAS ABAP Setting error displayed in the Diagnostics & Support Desktop Tool? How they can be solved?
Thanks for your help,
MartinHello Chetan,
thanks for your response. Maybe i've described my problem not clear enough. There is no problem of installation and usage of support & dektop tool, but of installation of BI. The support & dektop tool indicates the errors described above with no other hints. My questions is, if anybody knows, what is the cause of the errors and what i must do, to install BI correctly.
Cheers,
Martin -
Different JDK problems: Unsupported major minor version
We have a very large application, with a client that runs on a PDA and a client (and server) that will run on a normal desktop computer...
These clients use partially the same code, and partially specific code.
For the PDA-client we're bound to Creme (it's something like jdk 1.3) and for the Desktop-client we want to go to JDK 6.
Now I'm getting the error Unsupported major minor version 50 insteadof 47...
What would be the best solution to this problem?
- Should I try to split all common files (increasing the amount of code and the maintenance to the code)
- Or should I keep the commonfiles compiled with JDK 1.4.2 (adding another necessary JDK, a lot of checkstyle complaints, and not the ability to use the new Java-functionality like generics etc...
- Or is there a better way?
Any help would be grately appreciated :)by reading the documentation.
You have your system set up wrong. This is common with people who don't read the documentation.
If after reading the documentation you still can't get it to work, try the search option.
The answer to your question has been supplied dozens, nay hundreds, of times already and is easy to find.
If you still can't get it, find something else to do, like labelling mail for advertising campaigns. -
JSP and Java Beans with Database Problem
hellow, this is my first posting and i hope to help me as fast as you can...
my problem is simplly i cant get any data from the database (whatever the database it is, i test it with MS Access and MySQL server) when i use a bean, But if i put my connection statement in the JSP file thair is no problem... ???? !!!!
for example i have a class "Authentication" that have a method to test if the username and password is correct or not and return 1 if true, 0 if false, -1 if thair are some problem in connecting DB.
now if i create a normal java application that uses this method, it's work and no problems, BUT if i used a JSP page to use this method it's return allways -1T1 class:
package VX;
import java.sql.*;
import java.util.*;
import javax.swing.*;
public class T1
//public MBJDBConnection(String driver,String url)
public T1()
JDBC_DRIVER = "com.mysql.jdbc.Driver";//driver;
DATABASE_URL = "jdbc:mysql://localhost:3306/rawafed?user=root;password=0000";//url;
//=======DB CONNECTION===========================================
private static String JDBC_DRIVER;
private static String DATABASE_URL;
protected Connection connection;
protected Statement statement;
//===========End DBC==============================================
public int update(String sqlUpdate)
int i=0;
//connectDB();
try{
i=statement.executeUpdate(""+sqlUpdate);
catch(Exception e)
System.out.println("Error Inserting Statement Or Connection Not Opened");
//disconnectDB();
return i;
public ResultSet select(String sqlQuery)
//connectDB();
ResultSet rs;
try
{//open try
rs=statement.executeQuery(""+sqlQuery);
return rs;
}//end try
catch(Exception e2)
//System.out.println("Error Selecting Statement Or Connection Not Opened");
}//end catch
//add to array list
//return resultList;
return null;
//------Methods-------
public void connectDB()
//===========================Connection===================
try
Class.forName(JDBC_DRIVER);
catch(Exception e)
System.out.println("Error : FOR NAME");
try
connection = DriverManager.getConnection(DATABASE_URL, "root", "0000");
catch(Exception e)
System.out.println("Error : DB URL");
try
statement = connection.createStatement();
catch(Exception e)
System.out.println("Error : CREATE STATEMENT ERROR");
public void disconnectDB()
try
statement.close();
connection.close();
catch(Exception e2)
System.out.println("Error : CAN'T CLOSE DB");
T2 Class
package VX;
// class Person.
//Required Class : EDC.EDCDB
import java.sql.*;
public class T2
public T2()
//initialization
//........................ Attributes .........................
private String user;
private String password;
private T1 db=new T1();
private ResultSet rs;
//......................... Methods .........................
public String getAdmin(String u,String p)// 0: Failure, 1:Success and he is Administrator, 2: success and he is a regular employee 3: SUCCESS AND HE IS agent
try
user=u;
password=p;
rs=db.select("SELECT emp_id,password FROM Employee WHERE emp_id="+user+" AND password="+password+" AND Rank_ID=1");
if(rs.next())
return ""+1;
else
rs=db.select("SELECT emp_id,password FROM Employee WHERE emp_id="+user+" AND password="+password+" AND Rank_ID=2");
if(rs.next())
return ""+2;
else
rs=db.select("SELECT emp_id,password FROM Employee WHERE emp_id="+user+" AND password="+password+" AND Rank_ID=3");
if(rs.next())
return ""+3;
else return ""+0;
catch(Exception e){System.out.println("Error \n"+e.getMessage());return ""+e.getMessage()+"\n"+(-1);}
public int getCard(String u,String p)// 0: Failure, 1:Success and he is Administrator, 2: success
user=u;
password=p;
try
db.connectDB();
rs=db.select("SELECT Card_ID,password FROM Card WHERE Card_ID='"+user+"' AND password='"+password+"'");
if(rs.next())
return 1;
return 0;
catch(Exception w)
return -1;
finally
//System.out.println("Done");
db.disconnectDB();
public int getAny()
return 1;
}//end class
This is a tested class and it's work OK
import VX.T2;
public class T3
public static void main(String [] args)
System.out.println("System Started...");
try
T2 t2=new T2();
System.out.println(t2.getCard("1","a"));
catch(Exception e)
System.out.println("Opsssss ...");
Now this is the JSP Code that OK and Run without any problems
<%@ page contentType="text/html; charset=windows-1256" language="java" import="java.sql.*" errorPage="" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1256" />
<title>test</title>
</head>
<body>
<%
//Mazin B. Jabarin 20210464
//Testing JSP - MySQL Server Driver
String connectionURL = "jdbc:mysql://localhost:3306/EDCDB?user=root;password=0000";
Connection connection = null;
Statement statement = null;
ResultSet rs = null;
%>
<%
try{
Class.forName("com.mysql.jdbc.Driver");
connection = DriverManager.getConnection(connectionURL, "root", "0000");
statement = connection.createStatement();
rs = statement.executeQuery("SELECT * FROM a");
while (rs.next()) {
out.println(rs.getString("id")+"<br>");
rs.close();
catch(Exception e)
out.print("Error : "+e.getMessage());
%>
</body>
</html>
Now this JSP File always returns (-1) ???? !!!!!!!
<%@ page contentType="text/html; charset=iso-8859-1" language="java" import="java.sql.*" import="VX.T2" import="java.util.*" errorPage="" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<%
try
T2 t2=new T2();
out.println("Result Still : "+t2.getCard("1","a"));
catch(Exception w)
out.println("<BR> Error In Execution ??? "+w.getMessage());
%>
</body>
</html>
++++++++++++++++++++++++++++
any one can help me please :(
i use tomcat as web-application
and i install jdk 1.5
also JBulder 7
(now i supposed that the JBulder make some conflict, so i uninstalled it but still Not Working) ...
before one year i was working just like this way and it was working
but now i dont know what is the problem
i am really need help. -
SAP NetWeaver 2004s Java Trial Version installation problem
I am trying to install SAP NetWeaver 2004s Java Trial Version in my windows xp machine.
I have the following error.
Nothing is written in to my E:\usr\sap folder which I have share as saploc and sapmnt.
I read the forum threads on this.
I still do not know how to do this.
Please help
vijay
INFO 2006-12-17 21:23:58
Execute step getSID of component |NW_Java_OneHost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_GetSidNoProfiles|ind|ind|ind|ind|1|0.
ERROR 2006-12-17 21:24:01
FJS-00003 TypeError: dir_profile has no properties (in script NW_Java_OneHost|ind|ind|ind|ind, line 39640: ???)
ERROR 2006-12-17 21:24:01
MUT-03025 Caught ESAPinstException in Modulecall: executing JS script failed.
ERROR 2006-12-17 21:24:01
FCO-00011 The step getSID with step key |NW_Java_OneHost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_GetSidNoProfiles|ind|ind|ind|ind|1|0|getSID was executed with status ERROR .Rajat,
Sorry for the delay. I was on vacation.
Which environment variable are you referring to?
JAVA_HOME is set to C:\j2sdk1.4.2_09.
I am using j2sdk1.4.2_09.
Only port changes I tried was
#sapdp01 3201/tcp.
I tried with and without the # .
Both had the same results.
I have given below the last few statememts from the sapinst log file
Any help to solve my problem will be greatly appreciated.
Thanks.
Vijay
INFO 2007-01-02 16:13:25
Execution of the command "C:\j2sdk1.4.2_09\bin\java.exe -classpath C:/DOCUME1/VIJAYV1/LOCALS1/Temp/sapinst_exe.5432.1167783061/JAR/ins-j2ee.jar com.sap.ins.j2ee.GetSystemProperty" finished with return code 0. Output: ##Tue Jan 02 16:13:25 PST 2007java.runtime.name=Java(TM) 2 Runtime Environment, Standard Editionsun.boot.library.path=C\:
j2sdk1.4.2_09
jre
binjava.vm.version=1.4.2_09-b05java.vm.vendor=Sun Microsystems Inc.java.vendor.url=http\://java.sun.com/path.separator=;java.vm.name=Java HotSpot(TM) Client VMfile.encoding.pkg=sun.iouser.country=USsun.os.patch.level=Service Pack 2java.vm.specification.name=Java Virtual Machine Specificationuser.dir=C\:
Program Files
sapinst_instdir
NW04S
SNEAK_PREVIEW
FULL
INSTALLjava.runtime.version=1.4.2_09-b05java.awt.graphicsenv=sun.awt.Win32GraphicsEnvironmentjava.endorsed.dirs=C\:
j2sdk1.4.2_09
jre
lib
endorsedos.arch=x86java.io.tmpdir=C\:
DOCUME1
VIJAYV1
LOCALS1
Temp
line.separator=\r\njava.vm.specification.vendor=Sun Microsystems Inc.user.variant=os.name=Windows XPsun.java2d.fontpath=java.library.path=C\:
j2sdk1.4.2_09
bin;.;C\:
WINDOWS
system32;C\:
WINDOWS;e\:
sapdb
programs
bin;e\:
sapdb
programs
pgm;C\:
MCC18
mpasm;C\:
MCC18
bin;C\:
MCC18
mpasm;C\:
MCC18
bin;C\:
MCC18
mpasm;C\:
MCC18
bin;f\:
oracle
product
10gDSHome
jdk
jre
bin
classic;f\:
oracle
product
10gDSHome
jdk
jre
bin;f\:
oracle
product
10gDSHome
jdk
jre
bin
client;f\:
oracle
product
10gDSHome
jlib;f\:
oracle
product
10gDSHome
bin;f\:
oracle
product
10gDSHome
jre
1.1.8
bin;f\:
oracle
product
10.1.0
Db_1
bin;f\:
oracle
product
10.1.0
Db_1
jre
1.4.2
bin
client;f\:
oracle
product
10.1.0
Db_1
jre
1.4.2
bin;C\:
WINDOWS
system32;C\:
WINDOWS;C\:
WINDOWS
System32
Wbem;C\:
Program Files
Microsoft SQL Server
80
Tools
BINN;C\:
Program Files
Microsoft SQL Server
80
Tools
Binn
;C\:
WINDOWS
Microsoft.NET
Framework
v1.1.4322;F\:
maven
Maven 1.0
bin;C\:
Program Files
QuickTime
QTSystem
;C\:
MCC18
mpasm;C\:
MCC18
bin;C\:
MCC18
mpasm;C\:
MCC18
bin;C\:
MCC18
mpasm;C\:
MCC18
bin;java.specification.name=Java Platform API Specificationjava.class.version=48.0java.util.prefs.PreferencesFactory=java.util.prefs.WindowsPreferencesFactoryos.version=5.1user.home=C\:
Documents and Settings
vijay vijayakumaruser.timezone=America/Los_Angelesjava.awt.printerjob=sun.awt.windows.WPrinterJobfile.encoding=Cp1252java.specification.version=1.4java.class.path=C\:/DOCUME1/VIJAYV1/LOCALS~1/Temp/sapinst_exe.5432.1167783061/JAR/ins-j2ee.jaruser.name=vijay vijayakumarjava.vm.specification.version=1.0java.home=C\:
j2sdk1.4.2_09
jresun.arch.data.model=32user.language=enjava.specification.vendor=Sun Microsystems Inc.awt.toolkit=sun.awt.windows.WToolkitjava.vm.info=mixed modejava.version=1.4.2_09java.ext.dirs=C\:
j2sdk1.4.2_09
jre
lib
extsun.boot.class.path=C\:
j2sdk1.4.2_09
jre
lib
rt.jar;C\:
j2sdk1.4.2_09
jre
lib
i18n.jar;C\:
j2sdk1.4.2_09
jre
lib
sunrsasign.jar;C\:
j2sdk1.4.2_09
jre
lib
jsse.jar;C\:
j2sdk1.4.2_09
jre
lib
jce.jar;C\:
j2sdk1.4.2_09
jre
lib
charsets.jar;C\:
j2sdk1.4.2_09
jre
classesjava.vendor=Sun Microsystems Inc.file.separator=
java.vendor.url.bug=http\://java.sun.com/cgi-bin/bugreport.cgisun.io.unicode.encoding=UnicodeLittlesun.cpu.endian=littlesun.cpu.isalist=pentium i486 i386
INFO 2007-01-02 16:13:25
Execute step setNWOption of component |NW_Java_OneHost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_getJavaHome|ind|ind|ind|ind|0|0.
INFO 2007-01-02 16:13:26
Execute step collect of component |NW_Java_OneHost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_GetSidNoProfiles|ind|ind|ind|ind|1|0.
ERROR 2007-01-02 16:13:28
FJS-00003 TypeError: this._name has no properties (in script NW_Java_OneHost|ind|ind|ind|ind, line 8987: ???)
ERROR 2007-01-02 16:13:29
FCO-00011 The step collect with step key |NW_Java_OneHost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_GetSidNoProfiles|ind|ind|ind|ind|1|0|collect was executed with status ERROR . -
Dreamweaver and Java SE 6 Runtime problem on MAC Mountain Lion OSX
I have a problem with dreamweaver. I really love dreamweaver for building web pages and have used it for years with a PC. I recently switched from a PC to a MAC but I find that when I open the Dreamweaver app for the first time I get a prompt that says something like "You must download Java SE 6 runtime, would you like to install it now?" I click yes, and the download fails. I called Apple about it, they said the software resides on Oracle's Java web site, and its out of their control. I go to the Oracle Java web site it says "Apple supplies their version of Java SE 6 runtime and there's no way to download it from the Java.com site. All this means is that YOUR software does not work on my MAC because these two companies can't agree on who suppies this software.
What I need to know is HOW DO I GET DREAMWEAVER TO WORK? How do I get around this crazy *** catch 22 situation? And why doesn't your software recognize Java SE 7 runtime?I'm in the same boat with you. I recently used Time Machine to backup my profile and then wiped my entire drive and installed Mountain Lion. After importing all of my data with the Migration Assitant, Dreamweaver will NOT open.
SnakEyez02, Oracle's website does NOT have the dowload. The link you posted is to version 7. We've been down this road already. Martiantime is correct, neither Apple nor Oracle are providing Java SE 6, but Dreamweaver is crying to have it installed.
So, Adobe, how do we get out of the hole that we did not dig? -
Some differences in Java settings giving me problems running a java program
Hello,
We have a Java app in our web-site. We haven't done that app our self and it has been working for quite some time.
Now on my computer the java app loads just nicely.
But for other users there java app crashes. So basically there has to be somekind of settings problem between.
But we have checked the settings and I simply can't find the difference.
The other users keep getting error that class not found.
Debug print:
security: Certificate has been verified with Internet Explorer ROOT certificates successfully
security: Valid certificate from HTTPS server
security: Adding certificate in Deployment session certificate store
security: Added certificate in Deployment session certificate store
security: Saving certificates in Deployment session certificate store
security: Saved certificates in Deployment session certificate store
network: Connecting http://site.xxx.com:443/ with proxy=DIRECT
security: Loading certificates from Deployment session certificate store
security: Loaded certificates from Deployment session certificate store
security: Checking if certificate is in Deployment denied certificate store
security: Checking if certificate is in Deployment session certificate store
network: Cache entry not found [url: https://site.xxx.com/EMS/classes/chart/Chart/class.class, version: null]
network: Connecting https://site.xxx.com/EMS/classes/chart/Chart/class.class with proxy=DIRECT
network: Connecting http://site.xxx.com:443/ with proxy=DIRECT
security: Loading certificates from Deployment session certificate store
security: Loaded certificates from Deployment session certificate store
security: Checking if certificate is in Deployment denied certificate store
security: Checking if certificate is in Deployment session certificate store
network: Connecting http://site.xxx.com:443/ with proxy=DIRECT
security: Loading certificates from Deployment session certificate store
security: Loaded certificates from Deployment session certificate store
security: Checking if certificate is in Deployment denied certificate store
security: Checking if certificate is in Deployment session certificate store
basic: load: class chart/Chart.class not found.
load: class chart/Chart.class not found.
java.lang.ClassNotFoundException: chart.Chart.class
at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source)
at sun.plugin2.applet.Plugin2Manager.createApplet(Unknown Source)
at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Exception: java.lang.ClassNotFoundException: chart.Chart.class
Ignored exception: java.lang.ClassNotFoundException: chart.Chart.class
So you guys have any idea what setting could be wrong between my and the other users machines.
We have Windows Xp sp3 and Internet Explorer 8 in use.
I actually made a clean Xp install the otherday. Installing latest java and no security settings added from domain. Also I put the site on trusted sites and allowed all in IE. And I still got that error in that new clean Xp install. On my personal computer the Java app still works just fine. Unlucky the one who has done the Java app is not able to help us.Hello,
I downloaded the jar-file and opened it with Winzip. The class in question was in the jar-file.
I also put logging on in my computer where the App is working.
My debug print:
security: property package.access value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.
security: property package.access new value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.javaws
security: property package.access value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.javaws
security: property package.access new value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.javaws,com.sun.deploy
security: property package.access value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.javaws,com.sun.deploy
security: property package.access new value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.javaws,com.sun.deploy,com.sun.jnlp
security: property package.definition value null
security: property package.definition new value com.sun.javaws
security: property package.definition value com.sun.javaws
security: property package.definition new value com.sun.javaws,com.sun.deploy
security: property package.definition value com.sun.javaws,com.sun.deploy
security: property package.definition new value com.sun.javaws,com.sun.deploy,com.sun.jnlp
security: property package.access value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.javaws,com.sun.deploy,com.sun.jnlp
security: property package.access new value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.javaws,com.sun.deploy,com.sun.jnlp,org.mozilla.jss
security: property package.definition value com.sun.javaws,com.sun.deploy,com.sun.jnlp
security: property package.definition new value com.sun.javaws,com.sun.deploy,com.sun.jnlp,org.mozilla.jss
basic: Added progress listener: sun.plugin.util.GrayBoxPainter$GrayBoxProgressListener@291aff
network: Cache entry found [url: https://site.xxx.com/EMS/classes/chart/Chart.class, version: null] prevalidated=false/0
network: Connecting https://site.xxx.com/EMS/classes/chart/Chart.class with proxy=DIRECT
network: Connecting http://site.xxx.com:443/ with proxy=DIRECT
security: Loading Root CA certificates from C:\Program Files\Java\jre6\lib\security\cacerts
security: Loaded Root CA certificates from C:\Program Files\Java\jre6\lib\security\cacerts
security: Loading SSL Root CA certificates from C:\Program Files\Java\jre6\lib\security\cacerts
security: Loaded SSL Root CA certificates from C:\Program Files\Java\jre6\lib\security\cacerts
security: Loading Deployment SSL certificates from C:\Documents and Settings\me\Application Data\Sun\Java\Deployment\security\trusted.jssecerts
security: Loaded Deployment SSL certificates from C:\Documents and Settings\me\Application Data\Sun\Java\Deployment\security\trusted.jssecerts
security: Loading certificates from Deployment session certificate store
security: Loaded certificates from Deployment session certificate store
security: Loading certificates from Internet Explorer ROOT certificate store
security: Loaded certificates from Internet Explorer ROOT certificate store
security: Checking if certificate is in Deployment denied certificate store
security: Checking if certificate is in Deployment session certificate store
security: Checking if SSL certificate is in Deployment permanent certificate store
network: Connecting https://site.xxx.com/EMS/classes/chart/Chart.class with cookie "__utma=63616955.207177272.1293600941.1293600941.1298453489.2; __utmz=63616955.1293600941.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); __utmb=63616955.5.10.1298453489; __utmc=63616955"
security: Loading certificates from Deployment session certificate store
security: Loaded certificates from Deployment session certificate store
security: Checking if certificate is in Deployment denied certificate store
security: Checking if certificate is in Deployment session certificate store
security: Checking if SSL certificate is in Deployment permanent certificate store
network: ResponseCode for https://site.xxx.com/EMS/classes/chart/Chart.class : 304
network: Encoding for https://site.xxx.com/EMS/classes/chart/Chart.class : null
network: Disconnect connection to https://site.xxx.com/EMS/classes/chart/Chart.class
network: Cache entry not found [url: https://site.xxx.com/EMS/classes/, version: null]
network: Cache entry found [url: https://site.xxx.com/EMS/classes/bar/Bar.class, version: null] prevalidated=false/0
network: Connecting https://site.xxx.com/EMS/classes/bar/Bar.class with proxy=DIRECT
network: Connecting https://site.xxx.com/EMS/classes/bar/Bar.class with cookie "__utma=63616955.207177272.1293600941.1293600941.1298453489.2; __utmz=63616955.1293600941.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); __utmb=63616955.5.10.1298453489; __utmc=63616955"
network: ResponseCode for https://site.xxx.com/EMS/classes/bar/Bar.class : 304
network: Encoding for https://site.xxx.com/EMS/classes/bar/Bar.class : null
network: Disconnect connection to https://site.xxx.com/EMS/classes/bar/Bar.class
network: Cache entry found [url: https://site.xxx.com/EMS/classes/coordaxes/CoordAxes.class, version: null] prevalidated=false/0
network: Connecting https://site.xxx.com/EMS/classes/coordaxes/CoordAxes.class with proxy=DIRECT
network: Connecting https://site.xxx.com/EMS/classes/coordaxes/CoordAxes.class with cookie "__utma=63616955.207177272.1293600941.1293600941.1298453489.2; __utmz=63616955.1293600941.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); __utmb=63616955.5.10.1298453489; __utmc=63616955"
network: ResponseCode for https://site.xxx.com/EMS/classes/coordaxes/CoordAxes.class : 304
network: Encoding for https://site.xxx.com/EMS/classes/coordaxes/CoordAxes.class : null
network: Disconnect connection to https://site.xxx.com/EMS/classes/coordaxes/CoordAxes.class
network: Cache entry found [url: https://site.xxx.com/EMS/classes/xaxial/XAxial.class, version: null] prevalidated=false/0
network: Connecting https://site.xxx.com/EMS/classes/xaxial/XAxial.class with proxy=DIRECT
network: Connecting https://site.xxx.com/EMS/classes/xaxial/XAxial.class with cookie "__utma=63616955.207177272.1293600941.1293600941.1298453489.2; __utmz=63616955.1293600941.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); __utmb=63616955.5.10.1298453489; __utmc=63616955"
network: ResponseCode for https://site.xxx.com/EMS/classes/xaxial/XAxial.class : 304
network: Encoding for https://site.xxx.com/EMS/classes/xaxial/XAxial.class : null
network: Disconnect connection to https://site.xxx.com/EMS/classes/xaxial/XAxial.class
network: Cache entry found [url: https://site.xxx.com/EMS/classes/serie/Serie.class, version: null] prevalidated=false/0
network: Connecting https://site.xxx.com/EMS/classes/serie/Serie.class with proxy=DIRECT
network: Connecting https://site.xxx.com/EMS/classes/serie/Serie.class with cookie "__utma=63616955.207177272.1293600941.1293600941.1298453489.2; __utmz=63616955.1293600941.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); __utmb=63616955.5.10.1298453489; __utmc=63616955"
network: ResponseCode for https://site.xxx.com/EMS/classes/serie/Serie.class : 304
network: Encoding for https://site.xxx.com/EMS/classes/serie/Serie.class : null
network: Disconnect connection to https://site.xxx.com/EMS/classes/serie/Serie.class
basic: Applet loaded.
basic: Applet resized and added to parent container
basic: PERF: AppletExecutionRunnable - applet.init() BEGIN ; jvmLaunch dt 151766 us, pluginInit dt 14982493 us, TotalTime: 15134259 us
basic: Applet initialized
basic: Removed progress listener: sun.plugin.util.GrayBoxPainter$GrayBoxProgressListener@291aff
basic: Applet made visible
basic: Starting applet
basic: completed perf rollup
basic: Applet started
basic: Told clients applet is started
NullPointerException in interval part
NullPointerException in interval label part
Lot more security messages in this. -
Java 1.6.0_35 problems
After my system updated to this latest version of Java one of my Java apps is messed up. When it does an open file dialog - the dialog box doesn't have all the device names and allow that kind of navigation - I can live with that. But I can still navigate to a file (.JPG) select it, the OPEN button is enabled, but clicking open does nothing. This was on 10.6.8.
So I thought I'd upgrade to Mountain Lion. So I did. Still the same problem. So it is a problem with that version of Java and my Java app.
I found an earlier version of Java 1.6.0_29 but I cannot install it because it says a newer version is already installed.
So....
Can I just unintall Java and then install the older one? How do I do that?
Thanks much in advance.I am having similar problems, but on Windows XP x64 Edition. When I try to install new applications, they tell me there's no JRE installed, when in fact there are two - 1.5.0u11 and 1.6.0u3. No applets will display in Firefox - it asks me to download the JRE! CLASSPATH, PATH and JAVA_HOME are all set in my environment variables. I've developed Java apps on here previously, so I know it worked at some point.
OpenOffice, IntelliJ, Eclipse, etc - all installed before this problem began - continue to work. In OpenOffice, under the JRE settings, it shows no JREs installed. When I try to specify a JRE to use, it tells me the folder I'm specifying doesn't contain a JRE.
Reinstalling the JRE has had no effect at all.
Any ideas what's going on? It's very strange, and I need to get some new Java apps installed. -
Java Applet Background Color Problem on Internet Explorer
Hi,
Please check out the following URL:
http://www.utopiainteractive.com/clients/AkonFinal/glossary.htm
The menu bar is writting in Java Applet. If you scroll down the page, and scroll back up, I see white background as I scroll back up. It happens only on Internet explorer. Neither Java Applet nor HTML Body bg color is white. I am kinda lost, and any help would really be appreciated.
Thank you and look forward to hearing from someone soon.
SachinHi,
Well I used HtmlConver utility to generate applet html code, so I assume nothing is wrong with Object tag. Do you know what could cause this problem on Internet explorer? To be honest, I spent last couple of days, but I am just lost. It absolutely works fine on Netscape.
Thanks,
Sachin -
Java Applet call javascript problem
Hi I have a web page as follow and embedded a applet. The applet call the java script, and instead of showing an alarm, the browser show the javascript code. Is that strange ? Any suggestion for this problem.
HTML:
================================================================
<HTML>
<HEAD>
function ShowEmbd()
alert("Test Applet call Javascript");
</SCRIPT>
</HEAD>
<BODY>
<FORM NAME="AppletEmbdStart">
<OBJECT classid="clsid:48B2DD7B-6B52-4DB0-97C9-ECB940113B47" id="CIVON_DEmbdObj" width="0" height="0"></OBJECT>
<APPLET code="MyApplet.class" width="0" height="0"></APPLET>
</FORM>
</BODY>
</HTML>MyApplet.java
=========================================================================
import netscape.javascript.*;
public class MyApplet extends javax.swing.JApplet
private JSObject m_win = null;
private JSObject m_doc = null;
public void init()
getJSWin().call("ShowEmbd", null);
private getJSDoc()
if(m_doc == bull)
m_doc = (JSObject) getJSWin().getMember("document");
return m_doc;
private JSObject getJSWin()
if (m_win == null)
m_win = netscape.javascript.JSObject.getWindow(this);
return m_win;
}The page was load and it should call the applet MyApplet. The MyApplet should do the init() method and call the Javascript "ShowEmbd()", BUT, instead of show alert from ShowEmbd(), the browser show the code of ShowEmbd() itself ...... It did not run the javascript and shows the alert ??
The browser shows a message from status bar "The applet not initial" ???? why ???
Can anyone help ?!On first look:
I am not sure about the Object Tag, but the Applet Tag requires the MAYSCRIPT attribute before Java can call Javascript. -
Java stored proc deploy problem
I get follow error,when I deploy Java stored proc with JDeveloper3.2.
Errors:
*** Errors occurred while loading the archive into 8i JVM ***
How can i do?
Thanks a lot!!The problem is with the OUT parameters. If you read the documentation you will see that OUT parameters
need to be declared as one element arrays. Hence this should compile:
CREATE OR REPLACE PROCEDURE TEST ( id IN NUMBER,
i IN NUMBER,
j IN VARCHAR2,
ret1 OUT NUMBER,
ret2 OUT VARCHAR2,
k IN NUMBER) AS
LANGUAGE JAVA NAME 'com.fn.oracle.proc.trading.TestProcedure.testIt(int, double, java.lang.String, int[], java.lang.String[], int)';Cheers, APC -
Java object XSLT parameters problem. JDK vs Xalan.
Hello all,
I need to create a small application which requires to run some transformation interacting with a number of Java classes.
Small example is below: I have a Java class, which I'm going to use within transformation.
package com.example;
public class Document
private String filename=null;
public String getFilename() {
return this.filename;
}and transformation which extracts some information from the passed parameter object
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:document="com.example.Document">
<xsl:param name="theDocument"/>
<xsl:template match="/">
<example>
<xsl:value-of select="document:getFilename($theDocument)"/>
</example>
</xsl:template>
</xsl:stylesheet>The code which launches transformation is following:
try {
TransformerFactory factory = TransformerFactory.newInstance();
Templates template = factory.newTemplates(new StreamSource(new FileInputStream(transformationFilename)));
Source source = new StreamSource(new FileInputStream(theSourceFilename));
Result result = new StreamResult(new FileOutputStream(theTargetFilename));
Transformer transformer = template.newTransformer();
transformer.setParameter("theDocument", theDocument);
transformer.transform(source, result);
} catch (TransformerConfigurationException e) {
e.printStackTrace();
} catch (FileNotFoundException e) {
e.printStackTrace();
}When I run it I get
ERROR: 'Cannot find external method 'com.example.Document.getFilename' (must be public).'
FATAL ERROR: 'Could not compile stylesheet'at this line
Templates template = factory.newTemplates(new StreamSource(new FileInputStream(transformationFilename)));I made a test with a variable, when Document instance is not a parameter but an instance created within transformation and assigned to an XSLT variable. Everything works fine in variable case, but not with parameter.
Once I've added Xalan-2.7.1 .jars to the classpath it had been fixed. I guess the issue is described here (yep, I'm using 1.5).
XSLTC does not support all the extensions that Xalan does. These extensions are beyond the definition of the JAXP and XSLT specifications. For those users impacted by this, the work around of downloading the Xalan classes from Apache is still available. Also, going forward we expect to be supporting more and more extensions in XSLTC.
However, I'd like to find Xalan free solution. Could someone explain what is the difference and how implement the same behaviour without using Xalan?
Thank you in advance.georgemc, your answer may not have helped the original poster, but it just helped me out. So, thank you very much.
To clarify, for the benefit of anyone else who encounters this issue, it looks as if a possible cause of the 'Cannot find external method' error is that the transformer is defaulting to something - possibly XSLTC - that does not support certain extension methods. Ensuring that a recent Xalan JAR is in the classpath may resolve the problem.
Edited by: slamci on Mar 13, 2010 11:14 AM -
Java Stored Procedure Deployment Problem with JDev 3.1.1.2
Dear JDeveloper Team:
I am having a problem deploying a test Java stored procedure to the database. In the Deployment Profile Wizard Connection tab, it displays no connection in the connection dropdown even though I have defined some connections that have been sucessfully connected to the database.
Please help.
Thanks,
TomTom,
Verify that your Connections are valid as follows:
Double Click on the Connections folder of JDeveloper Navigator.
This opens up the Connection Manager.
Make sure you have defined JDBC Connections.
Pick your connection of intrest and select Edit... and then press the Test button to test the conneciton.
If this is a valid JDBC connection, then it should appear later when you run the deployment wizard.
-John
Maybe you are looking for
-
Question? I have accidentally deleted a large number of develped images in Lightroom before I did a backup. I reimported the original raw files back into Lightroom hoping the develop settings would be re-established but no luck. Notice system mau hav
-
The Eye icon for loops is missing from Garageband for me. I've never used it, but I only have the Plus icon and the Scissor icon. How do I get it to display?
-
Project System - How to do reversal of Settlement
Hi Gurus, Please tell me how can i do the reversal for monthly or Final Settlement, if i settled something? Pleaser revert asap. Thank You
-
Ipod touch home button now working
My ipod touch's home button ( circle with white square) is not working for some reason, which means i have to completely turn off my ipod touch. My ipod touch is 2nd generation, and has the newest software version , 4.0. If anyone can help me with my
-
A site I use keeps saying This page needs AC_RunActiveContent.js
When oening up the site "www.oneinmessiah.net" I get an error message about AC_RunActiveContent.js Using IE8 I get no error message and the page opens correctly. Do I need to download this java script file and install it on my PC?