Problem with AppletViewer in Forte
Hi,
my applet runs fine when the 1.4 appletviewer is called from the command line, it also runs fine when executing the forte-generated html-file from forte, but the appletviewer won't start from forte (applet debugging and applet execution set)
when i try to execute my applet from forte, the process starts, runs 1 or two seconds, and terminates without showing any messages (errormessages).
any ideas? thanks in advance...
J2ME forte integration destroyed something in my forte-projects-folder. Uninstall was not enough, i had to rename this folder and create a new one.
Similar Messages
-
Problem with variadic macros, Forte 6U2
The following code demonstrates a problem with namespace qualifiers used in variadic macros. The workaround (if you want to call it that) is to use triple colons as the scope resolution operator inside certain cases of variadic macros. The following piece of very contrived code demonstrates the problem. If you look at preproccessed output, its pretty clear that the variadic macro eats colons.
unix experiments/C++/badmacros> cat badmacros.cpp
/*************** badmacros.cpp *******************/
#define INTERFACE(ifc) virtual public ifc
#define EXTENDS(...) __VA_ARGS__
namespace foo {
namespace bar {
class Interface {};
}//namespace bar
}//namespace foo
#if !defined(HACK_TO_FIX)
class DerivedInterface : EXTENDS( INTERFACE(::foo::bar::Interface) )
#else
class DerivedInterface : EXTENDS( INTERFACE(:::foo:::bar:::Interface) )
#endif
int main(int argc, char* argv[]){}
/*************** badmacros.cpp *******************/unix experiments/C++/badmacros> CC badmacros.cpp
"badmacros.cpp", line 18: Error: Identifier expected instead of ":".
1 Error(s) detected.
unix experiments/C++/badmacros> CC -DHACK_TO_FIX badmacros.cpp
unix experiments/C++/badmacros>OK - that is good to hear. OTOH, I think I've found another one. The following code builds properly whether or not DEFINE_IN_CLASS_BODY is set on both g++ 3.0.1 and on the online comeau C++ compiler. However, in Forte 6U2, if DEFINE_IN_CLASS_BODY is not set, compilation fails.
unix experiments/C++/over_template> cat over_template.cpp
#if defined(DEFINE_IN_CLASS_BODY)
class Factory {
public:
void * create() const {
return new int;
template<typename T> T * create() const {
return reinterpret_cast<T*>(create());
#else
class Factory {
public:
void * create() const;
template<typename T> T * create() const;
inline void * Factory::create() const {
return new int;
template<typename T> inline T * Factory::create() const {
return reinterpret_cast<T*>(create());
#endif
int main(int argc, char * argv[]){}unix experiments/C++/over_template> \rm -rf SunWS_cache/; CC over_template.cpp
"over_template.cpp", line 30: Error: Factory::create() const already had a body defined.
1 Error(s) detected.
unix experiments/C++/over_template> \rm -rf SunWS_cache/; CC -DDEFINE_IN_CLASS_BODY over_template.cpp
This last compile works fine. Using Forte6U2, all the latest patches installed. -
Problems with 2011 Kia Forte hands free following upgrade to ios 7.1
I have had nothing but problems with the Bluetooth hands free feature in my 2011 Kia Forte ever since I upgraded to IOS7.1. I have removed and repaired the device to no avail. I have discovered the following behavior through the troubleshooting I have done so far:
If I use hands free to dial, the phone will dial but nothing is heard on either end of the call. If I switch the audio feed from the car to iPhone, both parties can then talk, but as soon as I switch it back to the car there is silence on both ends. I have determined that streaming Bluetooth audio still works in my car in spite of the hands free issues. I can switch audio back and forth during the entirety of the call and as long as audio is set to either iPhone or speaker it works, it just won't work when the car is selected.
I have checked and there is no new firmware available from Kia for my vehicle's Bluetooth.
Any thoughts?Same problem for me after the update. No matter what movie I try to download, it stalls halfway. Interestingly, could be a wider iTunes issue as I ended up with the same problem trying to download movies to my MacBook Air.
-
I've been programming using the lateste J2SE version of Forte. When I've tried turning in my java and class files, my professor was unable to use them. Is there a reason why the java file won't work in JPadPro or on another IDE?
I don't think so, Are you sure?
Using bbritta's example of "package something;", all of the files should be in a directory named \something\ or a subdirectory of it.
To execute the program from DOS, go to the parent directory of /something/ and enter: java something.<yourclassname>
This works for me with programs created in S1S. If you're using some special S1S classea and it says some are missing, you'll have to add them.
Can't help with getting it to work in another IDE. -
Problem with appletViewer.exe
After installed JDK1.4.1 on my system (Win2000, SP3), I tried to run a very simple java applet. But I got the exception like the following:
F:\javaTest>appletviewer Hello.html
Exception in thread "main" java.util.MissingResourceException: Can't find resource for bundle sun.applet.resources.MsgA
pletViewer, key appletpanel.badattribute.exception
at java.util.ResourceBundle.getObject(ResourceBundle.java:314)
at java.util.ResourceBundle.getString(ResourceBundle.java:274)
at sun.applet.AppletMessageHandler.getMessage(AppletMessageHandler.java:39)
at sun.applet.AppletPanel.showAppletStatus(AppletPanel.java:755)
at sun.applet.AppletPanel.init(AppletPanel.java:190)
at sun.applet.AppletViewer.<init>(AppletViewer.java:177)
at sun.applet.StdAppletViewerFactory.createAppletViewer(AppletViewer.java:82)
at sun.applet.AppletViewer.parse(AppletViewer.java:1122)
at sun.applet.AppletViewer.parse(AppletViewer.java:1056)
at sun.applet.Main.run(Main.java:138)
at sun.applet.Main.main(Main.java:80)
Anyone has idea what's the cause?
Thanks in advanced.http://search.java.sun.com/search/java/index.jsp?qp=&nh=10&qt=%2Bappletviewer%2C+%2B%22find+resource+for+bundle%22&col=javaforums&x=25&y=9
-
I am typing the exact path to my class file and I get this error.....
I/O exception while reading "C:\Blah, blah" (The filename, directory name or volume doesn't exist)
WHY!!!!!??? I am cutting and pasting the path into the dos prompt.The appletviewer program expects to get a HTML file as a parameter, not a class file.
Actually the file type does not matter; appletviewer only checks if it has any <applet>-tags and tries to start the applets. .class files usually don't have <applet>-tags, so the program exits silently.
Don't you get the "I/O exception" anymore? -
Cant load SwingApplet in IE5.0, works with appletviewer
hello again
I Can't load a SwingApplet in IE5.0, there are no problems with appletviewer.
with IE5.0 I get "class aaa.Bcd" not found - error, and the java-console shows this:
java.lang.ClassNotFoundException: javax.swing.JApplet
at com/ms/vm/loader/URLClassLoader.loadClass
at java/lang/ClassLoader.loadClassInternal
at java/lang/ClassLoader.resolveClass
at com/ms/vm/loader/URLClassLoader.loadClass
at com/ms/vm/loader/URLClassLoader.loadClass
at com/ms/applet/AppletPanel.processSentEvent
at com/ms/applet/AppletPanel.processSentEvent
at com/ms/applet/AppletPanel.run
at java/lang/Thread.run
As awt.applets are displayed it seems that IE5.0 doesn't
know Swing !
So what is to do ?
So does it make sense to use swing in applets, assuming that not everybody has a swing-enabled browser, and ( like me ) does not know how to make the browse "swing"ing ?
Hanns
AThis is what the HTML file will look like after converting
the code using HTML converter.And the java plugin link
also specified in this , cut and paste the link and use it.
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
<title>Business Tool</title>
</head>
<body>
<h1>Business Tool</h1>
<!--"CONVERTED_APPLET"-->
<!-- HTML CONVERTER -->
<SCRIPT LANGUAGE="JavaScript"><!--
var info = navigator.userAgent; var ns = false; var _ns6 = false;
var ie = (info.indexOf("MSIE") > 0 && info.indexOf("Win") > 0 && info.indexOf("Windows 3.1") < 0);
//--></SCRIPT>
<COMMENT><SCRIPT LANGUAGE="JavaScript1.1"><!--
var ns = (navigator.appName.indexOf("Netscape") >= 0 && ((info.indexOf("Win") > 0 && info.indexOf("Win16") < 0 && java.lang.System.getProperty("os.version").indexOf("3.5") < 0) || (info.indexOf("Sun") > 0) || (_info.indexOf("Linux") > 0) || (_info.indexOf("AIX") > 0) || (_info.indexOf("OS/2") > 0)));
var ns6 = ((ns == true) && (_info.indexOf("Mozilla/5") >= 0));
//--></SCRIPT></COMMENT>
<SCRIPT LANGUAGE="JavaScript"><!--
if (_ie == true) document.writeln('<OBJECT classid="clsid:CAFEEFAC-0013-0001-0000-ABCDEFFEDCBA" WIDTH = 695 HEIGHT = 525 codebase="http://java.sun.com/products/plugin/1.3.1/jinstall-131-win32.cab#Version=1,3,1,0"><NOEMBED><XMP>');
else if (_ns == true && _ns6 == false) document.writeln('<EMBED type="application/x-java-applet;jpi-version=1.3.1" CODE = CompTree CODEBASE = "." ARCHIVE = "TreeDemo.jar" WIDTH = 695 HEIGHT = 525 scriptable=false pluginspage="http://java.sun.com/products/plugin/1.3.1/plugin-install.html"><NOEMBED><XMP>');
//--></SCRIPT>
<APPLET CODE = CompTree CODEBASE = "." ARCHIVE = "TreeDemo.jar" WIDTH = 795 HEIGHT = 525></XMP>
<PARAM NAME = CODE VALUE = CompTree >
<PARAM NAME = CODEBASE VALUE = "." >
<PARAM NAME = ARCHIVE VALUE = "TreeDemo.jar" >
<PARAM NAME="type" VALUE="application/x-java-applet;jpi-version=1.3.1">
<PARAM NAME="scriptable" VALUE="false">
</APPLET>
</NOEMBED></EMBED></OBJECT>
<!--
<APPLET CODE = CompTree CODEBASE = "." ARCHIVE = "TreeDemo.jar" WIDTH = 695 HEIGHT = 525>
</APPLET>
-->
<!--"END_CONVERTED_APPLET"-->
</body>
</html>
bye -
Problems with ListViews Drag and Drop
I'm surprised that there isn't an Active X control that can do this more
easily? Would
be curious to find out if there is - although we aren't really embracing the
use of
them within Forte because it locks you into the Microsoft arena.
---------------------- Forwarded by Peggy Lynn Adrian/AM/LLY on 02/03/98 01:33
PM ---------------------------
"Stokesbary, Michael" <[email protected]> on 02/03/98 12:19:52 PM
Please respond to "Stokesbary, Michael" <[email protected]>
To: "'[email protected]'" <[email protected]>
cc:
Subject: Problems with ListViews Drag and Drop
I am just curious as to other people's experiences with the ListView
widget when elements in it are set to be draggable. In particular, I am
currently trying to design an interface that looks a lot like Windows
Explorer where a TreeView resides on the left side of the window and a
ListView resides on the right side. Upon double clicking on the
ListView, if the current node that was clicked on was a folder, then the
TreeView expands this folder and the contents are then displayed in the
ListView, otherwise, it was a file and it is brought up in Microsoft
Word. All this works great if I don't have the elements in the ListView
widget set to be draggable. If they are set to be draggable, then I am
finding that the DoubleClick event seems to get registered twice along
with the ObjectDrop event. This is not good because if I double click
and the current node is a folder, then it will expand this folder in the
TreeView, display the contents in the ListView, grab the node that is
now displayed where that node used to be displayed and run the events
for that as well. What this means, is that if this is a file, then Word
is just launched and no big deal. Unfortunately, if this happens to be
another directory, then the previous directory is dropped into this
current directory and a recursive copy gets performed, giving me one
heck of a deep directory tree for that folder.
Has anybody else seen this, or am I the only lucky one to experience.
If need be, I do have this exported in a .pex file if anybody needs to
look at it more closely.
Thanks in advance.
Michael Stokesbary
Software Engineer
GTE Government Systems Corporation
tel: (650) 966-2975
e-mail: [email protected]here is the required code....
private static class TreeDragGestureListener implements DragGestureListener {
public void dragGestureRecognized(DragGestureEvent dragGestureEvent) {
// Can only drag leafs
JTree tree = (JTree) dragGestureEvent.getComponent();
TreePath path = tree.getSelectionPath();
if (path == null) {
// Nothing selected, nothing to drag
System.out.println("Nothing selected - beep");
tree.getToolkit().beep();
} else {
DefaultMutableTreeNode selection = (DefaultMutableTreeNode) path
.getLastPathComponent();
if (selection.isLeaf()) {
TransferableTreeNode node = new TransferableTreeNode(
selection);
dragGestureEvent.startDrag(DragSource.DefaultCopyDrop,
node, new MyDragSourceListener());
} else {
System.out.println("Not a leaf - beep");
tree.getToolkit().beep();
} -
Problem with socket permissions!
Hi All!
I'm developing an applet that displays an image after downlading it from a server; this server is different from the server I download the applet from, so I have problems with security. In fact I get the following exception:
java.security.AccessControlException: access denied (java.net.SocketPermission 172.16.1.22:8080 connect,resolve)
I'm using:
- Java Plugin 1.3;
- Netscape 7.0;
- IE 6;
I've tried to self-sign the applet but with no results (maybe I cannot use selfsigned certificate with java plugin 1.3);
After that I've created a new policy file ("MyPolicy" file)and mentioned it into:
C:\Program Files\JavaSoft\JRE\1.3.1_03\lib\security\java.policy
but it didn't resolve my problem (maybe I'm doing something wrong in creating my policy file??!!).
Which steps do I have to follow in order to make my applet connect to images server without security problems?
Thanks so much in advance,
Carlo1. Compile the applet
2. Create a JAR file
3. Generate Keys
4. Sign the JAR file
5. Export the Public Key Certificate
6. Import the Certificate as a Trusted Certificate
7. Create the policy file
8. Run the applet
Susan
Susan bundles the applet executable in a JAR file, signs the JAR file, and exports the public key certificate.
1. Compile the Applet
In her working directory, Susan uses the javac command to compile the SignedAppletDemo.java class. The output from the javac command is the SignedAppletDemo.class.
javac SignedAppletDemo.java
2. Make a JAR File
Susan then makes the compiled SignedAppletDemo.class file into a JAR file. The -cvf option to the jar command creates a new archive (c), using verbose mode (v), and specifies the archive file name (f). The archive file name is SignedApplet.jar.
jar cvf SignedApplet.jar SignedAppletDemo.class
3. Generate Keys
Susan creates a keystore database named susanstore that has an entry for a newly generated public and private key pair with the public key in a certificate. A JAR file is signed with the private key of the creator of the JAR file and the signature is verified by the recipient of the JAR file with the public key in the pair. The certificate is a statement from the owner of the private key that the public key in the pair has a particular value so the person using the public key can be assured the public key is authentic. Public and private keys must already exist in the keystore database before jarsigner can be used to sign or verify the signature on a JAR file.
In her working directory, Susan creates a keystore database and generates the keys:
keytool -genkey -alias signFiles -keystore susanstore -keypass kpi135 -dname "cn=jones" -storepass ab987c
This keytool -genkey command invocation generates a key pair that is identified by the alias signFiles. Subsequent keytool command invocations use this alias and the key password (-keypass kpi135) to access the private key in the generated pair.
The generated key pair is stored in a keystore database called susanstore (-keystore susanstore) in the current directory, and accessed with the susanstore password (-storepass ab987c).
The -dname "cn=jones" option specifies an X.500 Distinguished Name with a commonName (cn) value. X.500 Distinguished Names identify entities for X.509 certificates.
You can view all keytool options and parameters by typing:
keytool -help
4. Sign the JAR File
JAR Signer is a command line tool for signing and verifying the signature on JAR files. In her working directory, Susan uses jarsigner to make a signed copy of the SignedApplet.jar file.
jarsigner -keystore susanstore -storepass ab987c -keypass kpi135 -signedjar SSignedApplet.jar SignedApplet.jar signFiles
The -storepass ab987c and -keystore susanstore options specify the keystore database and password where the private key for signing the JAR file is stored. The -keypass kpi135 option is the password to the private key, SSignedApplet.jar is the name of the signed JAR file, and signFiles is the alias to the private key. jarsigner extracts the certificate from the keystore whose entry is signFiles and attaches it to the generated signature of the signed JAR file.
5. Export the Public Key Certificate
The public key certificate is sent with the JAR file to the whoever is going to use the applet. That person uses the certificate to authenticate the signature on the JAR file. To send a certificate, you have to first export it.
The -storepass ab987c and -keystore susanstore options specify the keystore database and password where the private key for signing the JAR file is stored. The -keypass kpi135 option is the password to the private key, SSignedApplet.jar is the name of the signed JAR file, and signFiles is the alias to the private key. jarsigner extracts the certificate from the keystore whose entry is signFiles and attaches it to the generated signature of the signed JAR file.
5: Export the Public Key Certificate
The public key certificate is sent with the JAR file to the whoever is going to use the applet. That person uses the certificate to authenticate the signature on the JAR file. To send a certificate, you have to first export it.
In her working directory, Susan uses keytool to copy the certificate from susanstore to a file named SusanJones.cer as follows:
keytool -export -keystore susanstore -storepass ab987c -alias signFiles -file SusanJones.cer
Ray
Ray receives the JAR file from Susan, imports the certificate, creates a policy file granting the applet access, and runs the applet.
6. Import Certificate as a Trusted Certificate
Ray has received SSignedApplet.jar and SusanJones.cer from Susan. He puts them in his home directory. Ray must now create a keystore database (raystore) and import the certificate into it. Ray uses keytool in his home directory /home/ray to import the certificate:
keytool -import -alias susan -file SusanJones.cer -keystore raystore -storepass abcdefgh
7. Create the Policy File
The policy file grants the SSignedApplet.jar file signed by the alias susan permission to create newfile (and no other file) in the user's home directory.
Ray creates the policy file in his home directory using either policytool or an ASCII editor.
keystore "/home/ray/raystore";
// A sample policy file that lets a JavaTM program
// create newfile in user's home directory
// Satya N Dodda
grant SignedBy "susan"
permission java.security.AllPermission;
8. Run the Applet in Applet Viewer
Applet Viewer connects to the HTML documents and resources specified in the call to appletviewer, and displays the applet in its own window. To run the example, Ray copies the signed JAR file and HTML file to /home/aURL/public_html and invokes Applet viewer from his home directory as follows:
Html code :
</body>
</html>
<OBJECT classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
width="600" height="400" align="middle"
codebase="http://java.sun.com/products/plugin/1.3/jinstall-13-win32.cab#Version=1,3,1,2">
<PARAM NAME="code" VALUE="SignedAppletDemo.class">
<PARAM NAME="archive" VALUE="SSignedApplet.jar">
<PARAM NAME="type" VALUE="application/x-java-applet;version=1.3">
</OBJECT>
</body>
</html>
appletviewer -J-Djava.security.policy=Write.jp
http://aURL.com/SignedApplet.html
Note: Type everything on one line and put a space after Write.jp
The -J-Djava.security.policy=Write.jp option tells Applet Viewer to run the applet referenced in the SignedApplet.html file with the Write.jp policy file.
Note: The Policy file can be stored on a server and specified in the appletviewer invocation as a URL.
9. Run the Applet in Browser
Download JRE 1.3 from Javasoft -
Applet not working in browser, works with appletviewer
Hi,
I'm trying to use an Applet program from the tutorials which keeps on displaying time in the HTML page:
import java.awt.Graphics;
import java.util.*;
import java.text.DateFormat;
import java.applet.Applet;
public class home_page extends Applet implements Runnable {
private Thread clockThread = null;
public void init()
public void start() {
if (clockThread == null) {
clockThread = new Thread(this, "Clock");
clockThread.start();
public void run() {
Thread myThread = Thread.currentThread();
while (clockThread == myThread) {
repaint();
try {
Thread.sleep(1000);
} catch (InterruptedException e){
// the VM doesn't want us to sleep anymore,
// so get back to work
public void paint(Graphics g) {
// get the time and convert it to a date
Calendar cal = Calendar.getInstance();
Date date = cal.getTime();
// format it and display it
DateFormat dateFormatter = DateFormat.getTimeInstance();
g.drawString(dateFormatter.format(date), 5, 20);
// overrides Applet's stop method, not Thread's
public void stop() {
clockThread = null;
}When i use this program in the browser, i cannot see the clock but i'm able to see only a gray box. I'm using the applet tag within the HTML page.
I can see the same compiled applet running successfully with appletviewer program.
Please help me out of this predicament.
-ManishI have recently had the same problem, after lots of searching, I found that only Java 1.1 is supported by browsers, leaving out everything else including swing. So if you cant play the applet through your browser you need to download the appropriate patch i think about 5mbs.
You should find one at java.sun.com/getjava/download.html
Mine worked fine afterwards -
Problem with 'Edit Locally' command -- Due to IISProxy?
Hi,
We have a problem with 'Edit Locally' command since we are using Windows Authentication. Our architecture is:
SAP EP 6.0 SP2 Patch 28 (Solaris)
IIS Proxy (Windows 2003)
The situation is:
If we access to SAP Portal using old url (directly to Solaris) using form-based authentication we do not have any problem with 'edit locally' command.
However, if we access to SAP Portal using IISProxy and Windows Authentication we get an 'Operation failed' error message.
Java plug-in console shows the following message:
cargar: clase com/sapportals/wcm/app/docapplet/DocApplet.class no encontrada.
java.lang.ClassNotFoundException: com.sapportals.wcm.app.docapplet.DocApplet.class
at sun.applet.AppletClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadCode(Unknown Source)
at sun.applet.AppletPanel.createApplet(Unknown Source)
at sun.plugin.AppletViewer.createApplet(Unknown Source)
at sun.applet.AppletPanel.runLoader(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.io.IOException: open HTTP connection failed.
at sun.applet.AppletClassLoader.getBytes(Unknown Source)
at sun.applet.AppletClassLoader.access$100(Unknown Source)
at sun.applet.AppletClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
... 10 more
Where is the problem? Is due to authentication method? SAP Portal or IISProxy configuration?
Thanks,Thanks for your comment,
Now, we have tested with version 1.5.0_01 plugin version but the result is the same: 'Operation failed'
This is a very important topic to solve before installing Windows Authentication in a productive environment.
Has anybody any solution?
Damiá -
ActiveX problems with 3.0.F.2 (fwd)
This is the message I sent to tech support. Has anyone else seen this
type of thing? Any suggestions (even half-baked) would be appreciated.
-- Adam
---------- Forwarded message ----------
Date: Tue, 17 Mar 1998 13:48:17 -0600 (CST)
From: Adam Mckee <[email protected]>
To: [email protected]
Subject: ActiveX problems
Product: Forte
Version of Forte: 3.0.F.2
Server OS: HPUX
Client OS: NT/Win 95
DBMS: Oracle
Reproducible(?): Yes
Brief description of issue:
I have experienced problems using ActiveX controls. I have tried several
controls, including:
o Microsoft Forms 2.0 SpinButton
o Microsoft Forms 2.0 CheckBox
o Microsoft Forms 2.0 EditBox
o AddSoft Gantt/OCX
o Sheridan MonthView
o Sheridan DayView
o Sheridan DateCombo
o Microsoft Calendar Control
(specifically mentioned in a Forte technote)
I have experienced problems with all of these controls. With the Sheridan
DateCombo, the Forte environment crashes when I attempt to drop the
control into a form using the "Insert Control..." button. Before the
environment crashes, I get a series of informational and error dialog
boxes as follows:
o error: unexpected exception -10737415717
o error: The Error Manager stack is empty (repeated 3 times)
o information: the workspace is now read-only because the
repository is disabled.
o error: Exception escaped from terminating task CW.Display
o ERROR: TMgr.Terminate: fatal error terminated partition
With all the other controls I tried, the ActiveX support appears to work
properly until I attempt to bind an instance of the olegen-generated
class to the control itself in the window's Init() method:
--- MyWindowClass.Init() ----
super.Init();
myActiveXControl = new();
After this has been done, the Forte environment may "hang" when I interact
with the control at run-time. For example, each time a generate a mouse
event inside the control, I risk hanging the Forte environment. I might
be able to interact with the control 50 times before the environment
hangs, or it might hang after a single mouse click. Until the crash/hang
occurs, the ActiveX support appears to work properly: I am able to trap
mouse events, and interact with the control using the provided interface.
Any help or advice you can offer would be appreciated. I would be happy
to provide any additional information you may require.
-- Adam McKeeI don’t recall any problems importing to “selected item’ which I always use so I define where it goes and what it’s called.
Do you have Aperture’s Activity Window open so you can see where it is hanging up? Is it just busy generating Previews etc.? I know it sounds more serious than just ‘busy’ but would be interesting to know what it’s doing then.
After these problems, assuming that previews and thumbnails are generated correctly, it may be a good precaution to restart Aperture while holding down the OPTION and COMMAND keys so you can Repair Permissions or Repair the database. Even rebuilding the database is fairly quick if those first two options are ineffective. -
Problems with java j2re using mozilla
Hi,
i'm using j2re1.4.2_05 plugin for mozilla in linux (Fedora Core 2). My internet access goes throught a router (SMC Networks ISDN Barricade SMC7301TA). It's settings can be edited throught a web browser LAN connection. And here the problems begin. On routers settings page a java output console (for error and other messages) is running, which doesn't work, despite java applications on other web pages work well (I tested it on sun's java test page and it's working properly). Java console exits the following errorr message:
>
load: class DynamicTable.class not found.
java.lang.ClassNotFoundException: DynamicTable.class
at sun.applet.AppletClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadCode(Unknown Source)
at sun.applet.AppletPanel.createApplet(Unknown Source)
at sun.plugin.AppletViewer.createApplet(Unknown Source)
at sun.applet.AppletPanel.runLoader(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.io.IOException: open HTTP connection failed.
at sun.applet.AppletClassLoader.getBytes(Unknown Source)
at sun.applet.AppletClassLoader.access$100(Unknown Source)
at sun.applet.AppletClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
... 10 more
Is there a way to fix this problem? Cause without the command output it's mearly unpossible to configure the router.Yes i can make changes. Not everything is realised with java, just the output console, which reports if the changes i made succeded, prints out logs, gives additional info about some settings etc. So, i can make changes, but i have no response, for example: everytime i save something i don't know if the save was succesful. I can't take a look at IP routing table and DHCP configuration...
On windows xp, using internet explorer (the default version for xp) everything works perfect. But mozilla for windows has also problems with java. I know i can still change settings on wins, but right now i'm having some problems with networking on linux and i have to set things up in it (besides i use wins only because of school purposes). -
I'm having a weird problem with JApplet. So first I create an Applet with this code
public class japp extends JApplet {
public void init() {
Container content=getContentPane();
JButton jb=new JButton("Hello");
content.add(jb);
}and with this in the .html file;
<html>
<body>
<APPLET CODE="japp.class" WIDTH="650" HEIGHT="500"></APPLET>
</body>
</html>
And opened it in Firefox, it worked as expected. However, when I change the code in any way, i.e.
public class japp extends JApplet {
public void init() {
Container content=getContentPane();
JButton jb=new JButton("Goodbye");
content.add(jb);
}and compile it, it still shows the old button that displays "Hello". I've tried deleting the .class file from before and recompiling, that doesn't work. What am I doing wrong?
Thanks.Reloading the page usually doesn't work. You will need to open the Java Console and clear classloader cache (x). You can also use appletviewer for testing purposes.
-
Hi,
We have a problem with a Oracle procedure call using the Sql Execute
Procedure statement.
The call gives us this error :
SYSTEM ERROR: (This error was converted)
(This error was converted)
OpenCursor failed for SQL statement in project LFB010, class
ClsDemarreLFB010,
method Demarre, methodId 4, line 32, error from database is:
ORA-01036: illegal variable name/num
Class: qqdb_ResourceException
Distributed method called: qqdb_SessionProxy.OpenCursor!22 (object
name
instance/d4745a10-c8e4-11d1-97fd-90cad1e7aa77:0x196:0x4/lfb010_cl0/lfb010_cl
0-fonctiondbservice0x196:0x2)
from partition "LFB010_CL0_Client", (partitionId =
D4745A10-C8E4-11D1-97FD-90CAD1E7AA77:0x196:0x4, taskId =
[D4745A10-C8E4-11D1-97FD-90CAD1E7AA77:0x196.3]) in application
"FTLaunch_cl0", pid 4290975297 on node LAXOU146 in environment
CentralEnv
Oracle error: 1036, Server: sipre_tcp, UserName: forte
Database Statement: begin
:qqReturnValue := AID_CUMUL_ELTVAL;
end;
Class: qqdb_ResourceException ..........
And this is the TOOL code :
BEGIN TRANSACTION
TmpEtat : IntegerData = new;
TmpEtat.SetValue (( SQL EXECUTE PROCEDURE AID_CUMUL_ELTVAL ON SESSION
FonctionDBService ));
Etat = TmpEtat.Value;
END TRANSACTION;
Our procedure has no parameter and when we put a dummy parameter to the
procedure and pass it in the TOOL SQL statement, it works fine althoug the
Forté help says the parameter list is optionnal !
We tried to execute the procedure in a "SQL Select OurProdecure Into ..."
statement, but it does'nt work because there is a SQL update in the
procedure and it is forbidden by Oracle.
Has anyone seen this error before ?
Any ideas would be greatly appreciated.
Many thanks and regards,
Manuel DEVEAUX
Previade, France
e-mail : deveauxpreviade.frHi,
We have a problem with a Oracle procedure call using the Sql Execute
Procedure statement.
The call gives us this error :
SYSTEM ERROR: (This error was converted)
(This error was converted)
OpenCursor failed for SQL statement in project LFB010, class
ClsDemarreLFB010,
method Demarre, methodId 4, line 32, error from database is:
ORA-01036: illegal variable name/num
Class: qqdb_ResourceException
Distributed method called: qqdb_SessionProxy.OpenCursor!22 (object
name
instance/d4745a10-c8e4-11d1-97fd-90cad1e7aa77:0x196:0x4/lfb010_cl0/lfb010_cl
0-fonctiondbservice0x196:0x2)
from partition "LFB010_CL0_Client", (partitionId =
D4745A10-C8E4-11D1-97FD-90CAD1E7AA77:0x196:0x4, taskId =
[D4745A10-C8E4-11D1-97FD-90CAD1E7AA77:0x196.3]) in application
"FTLaunch_cl0", pid 4290975297 on node LAXOU146 in environment
CentralEnv
Oracle error: 1036, Server: sipre_tcp, UserName: forte
Database Statement: begin
:qqReturnValue := AID_CUMUL_ELTVAL;
end;
Class: qqdb_ResourceException ..........
And this is the TOOL code :
BEGIN TRANSACTION
TmpEtat : IntegerData = new;
TmpEtat.SetValue (( SQL EXECUTE PROCEDURE AID_CUMUL_ELTVAL ON SESSION
FonctionDBService ));
Etat = TmpEtat.Value;
END TRANSACTION;
Our procedure has no parameter and when we put a dummy parameter to the
procedure and pass it in the TOOL SQL statement, it works fine althoug the
Forté help says the parameter list is optionnal !
We tried to execute the procedure in a "SQL Select OurProdecure Into ..."
statement, but it does'nt work because there is a SQL update in the
procedure and it is forbidden by Oracle.
Has anyone seen this error before ?
Any ideas would be greatly appreciated.
Many thanks and regards,
Manuel DEVEAUX
Previade, France
e-mail : deveauxpreviade.fr
Maybe you are looking for
-
HT4356 How do I set up iPad to use wireless Kodak printer?
I have iPad 2. looked at air print instructions but Kodak printers are not listed. can I not use iPad with printer that is not listed?
-
New to iMovie - Slide Show project
I've been lurking in the iMovie discussions for a couple of months now, and I'm trying to absorb the knowledge of the community. I'm also working my way through "The Missing Manual" which is invaluable. I have two projects in mind, so I'm starting tw
-
RWD error during Configuration of RWD Server: Object Required webservice.js
We are in the process of Configuring the Server - after installing the Autonomy IDOL/DISH and the RWD Server. We get to the point of entering Company Name - and Product Key, as soon as we click on SAVE we get the error message Object Required
-
MOVED: ATI Mobility Radeon HD5470 causes blank screen.
This topic has been moved to MSI Notebooks & Netbooks. https://forum-en.msi.com/index.php?topic=167347.0
-
How do i delete the compass app
how do I deletel tho compass app.