Jar file exception
I created a jar file for the following java class.
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
public class WMSMS extends JFrame{
public native void SendSMS(boolean a,boolean b,String SMSC, String phno,String msg);
static {
try
System.loadLibrary("WMSMS");
catch (UnsatisfiedLinkError e)
System.err.println("WMSMS.dll failed to load. \n" + e);
System.exit(1);
public WMSMS() {
JPanel contentpanel=(JPanel)getContentPane();
contentpanel.setLayout(null);
final JLabel jl=new JLabel("Phone NO:");
addelement(contentpanel, jl, 10, 20, 100, 20);
final JTextField jtxt=new JTextField(10);
addelement(contentpanel, jtxt, 80, 20, 100, 20);
final JLabel jl2=new JLabel("Message:");
addelement(contentpanel, jl2, 10, 50, 100, 20);
final JTextField jtxt2=new JTextField(10);
addelement(contentpanel, jtxt2, 80, 50, 100, 20);
JButton btn=new JButton("Submit");
addelement(contentpanel, btn, 10, 80, 100, 20);
btn.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent ae) {
SendSMS(false,true,"",jtxt.getText(),jtxt2.getText());
setTitle("Sample");
setSize(300, 300);
setLocation(new Point(150,150));
setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);
setVisible(true);
private void addelement(Container c,Component e,int x,int y,int h,int w){
e.setBounds(x, y, h, w);
c.add(e);
public static void main (String[] args) {
new WMSMS();
}I used the command :jar cvf WMSMS.jar WMSMS.classI created a shorcut lnk file using the the command:
*255#"\J9\PPRO11\bin\j9.exe" "-jcl:ppro11" -Djava.library.path=\Windows "-classpath" "\Program Files\WMSMS\WMSMS.jar" "WMSMS"*
to test the jar file in my windows mobile PDA.
I placed the 'WMSMS.dll' in VC++ under the \Windows folder in the device.But on clicking the link it shows the following exception.
Exception in thread "main" java.lang.UnsupportedClassVersionError: (WMSMS) bad major version at offset=6 at java.lang.ClassLoader.defineClassImpl(Native Method) at java.lang.ClassLoader.defineClass(Unknown Source) at java.security.SecureClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.findClassImpl(Unknown Source) at java.net.URLClassLoader$4.run(Unknown Source) at java.security.AccessController.doPrivileged(Unknown Source) at java.net.URLClassLoader.findClass(Unknown Source) at com.ibm.oti.vm.URLSystemClassLoader.findClass(Unknown Source)
Isnt this something related to jar file?
Edited by: shreya_ann on Aug 19, 2010 2:30 AM
No. It is related to trying to run a JAR file produced by a later JDK than the one you have installed. As it says in the Javadoc..
Similar Messages
-
Trying to create Executeable jar file.Exception in thread main NoClassDef
Hi,
I am trying to create an executeable jar file.While running i am getting exception.
Exception in thread "main" java.lang.NoClassDefinitionFoundError: jartest
my java file: jartest.java
public class jartest
public static void main(String args[])
System.out.println("Weldone Phani");
I created a jar file name jartest using following command
jar cf jt.jar jartest.class
and then i created an manifestfile m.txt the following is m.txt
Manifest-Version: 1.0
Main-Class: jartest
Created-By: Me And My Family
Name: jartest.class
Java-Bean: False
Then i updated the manifest file in the jt.jar using following command
jar cmf m.txt jt.jar
while i try to execute the jar (java -jar jt.jar ) i am getting the above said exception
Where i went wrong. Thanks in advance.
phaniPlease in the future do a search on the forum for your answer. If everyone asks the same question 10 times, then there is not one thread where a person can look, but 10 - each with a small piece. In fact, in this forum the second thread from the top answered your question/problem:
http://forum.java.sun.com/thread.jsp?forum=22&thread=141944
(You have a few problems, one of which is that the manifest MUST be named "MANIFEST.MF", and it MUST be in the folder "META-INF" from the jar's root. For the rest of the answers, look at the above thread) -
I have been following the example of instruction at:
http://forum.java.sun.com/thread.jsp?forum=31&thread=332680
But I get an exception when I do the following.
D:\pro>jar umf mf.txt myjar.class
java.io.IOException: invalid header field
at java.util.jar.Attributes.read(Attributes.java:359)
at java.util.jar.Manifest.read(Manifest.java:162)
at java.util.jar.Manifest.<init>(Manifest.java:52)
at sun.tools.jar.Main.update(Main.java:487)
at sun.tools.jar.Main.run(Main.java:167)
at sun.tools.jar.Main.main(Main.java:904)Can somebody help me on this?
Thanks I will really appreciate.I cannot execute the file, after I created, and then I add the mf intothe class, I double clicked but doesn't do anything.
Should I run it with the java -jar myjar.jar?
When I do it it throws me the following:
D:\z>jar cf myjar.jar myjar.class
D:\z>jar umf mf.txt myjar.class
D:\z>java -jar myjar.jar
Failed to load Main-Class manifest attribute from
myjar.jar
D:\chris\1\z>help please. -
What are the basic .jar files to be set in web dynpro project classpath
Hi,
I am having a problem while customizing the ESS. I used DTR, DC and imported configuration. After that, I created project from one of the DC(say ess/jp/addr). Later when I open an iView from any Web Dynpro component, I am getting lot of errors without even making any modifications.
I closed the project and reopened it and reload & rebuilt, but it doesn't solved my problem. In my classpath settings I couldn't find any jar files except the jre_lib. Could you please let me know what are the basic jar files we have to set in classpath and where to get them from. We are using NWDS 7.0.06 version.
Can you please let me know how to solve this or any other way to work around this.
It's an urgent to be fixed as early as possible, plz help me out.
Thanks & Regards,
RajHi Julien,
Thanks for your reply.
We imported the the specified SCAs in our track.
we are getting the following errors.
Kind Status Priority Description Resource In Folder Location
Error The import com.sap.xss.per cannot be resolved CcPerAddressInterface.java NS1_XSSTR_Dessusaddrsap.com/gen_wdp/packages/com/sap/xss/hr/per/us/address/cc line 18
Error com.sap.pcuigp cannot be resolved (or is not a valid type) for the argument fpm of the method loadConfiguration CcPerAddressInterface.java NS1_XSSTR_Dessusaddrsap.com/gen_wdp/packages/com/sap/xss/hr/per/us/address/cc line 113
Error com.sap.pcuigp cannot be resolved (or is not a valid return type) for the method getNextPerspective CcPerAddressInterface.java NS1_XSSTR_Dessusaddrsap.com/gen_wdp/packages/com/sap/xss/hr/per/us/address/cc line 127
Error com.sap.pcuigp cannot be resolved (or is not a valid type) for the argument currentPerspective of the method getNextPerspective CcPerAddressInterface.java NS1_XSSTR_Dessusaddrsap.com/gen_wdp/packages/com/sap/xss/hr/per/us/address/cc line 127
Error com.sap.pcuigp cannot be resolved (or is not a valid return type) for the method getCAPState CcPerAddressInterface.java NS1_XSSTR_Dessusaddrsap.com/gen_wdp/packages/com/sap/xss/hr/per/us/address/cc line 137
Error com.sap.pcuigp cannot be resolved (or is not a valid type) for the argument perspective of the method getCAPState CcPerAddressInterface.java NS1_XSSTR_Dessusaddrsap.com/gen_wdp/packages/com/sap/xss/hr/per/us/address/cc line 137
we manually set below .jar files in classpath settings.
pcuixssfpm.jar
pcuixssutils.jar
logging.jar
essper.jar
Is there any alternative to work around.
Thanks & Regards,
Raj -
Getting error while running jar file
Hi,
I am getting below error while running the jar file
"Exception in thread "main" java.lang.NoClassDefFoundError: oracle/jdeveloper/layout/XYLayout:"
I have created a simple ADF desktop app in which i am displaying the frame.I created the jar from Jdeveloper.
Please help..How do you run the jar file? Take a look at this thread for a possible a solution: Re: deploying a jdeveloper adf application to a desktop
Is the class XYLayout packaged or referenced? Take a look at this thread: XYlayout classes - can I distribute with my code? -
Jar file issue. EXCEPTION: java.lang.UnsatisfiedLinkError
Hey all,
i'm writing an application that connects to Oracles SCM. I use a lot of the oracle SCM library. Anyway, my application running in oracles jDeveloper works just fine. However when i deploy it to an executable jar file i get the above exception. In the deployment settings i have tried both using the dependency analyzer and including all content. I have selected all libraries that are used in running it within jdeveloper for the deployment. I have posted to the SCM forumn but noone there has any ideas so just wondering if its a problem with jdeveloper or if its just something stupid i've done.
find the below the full exception im getting when i run the executable jar file. i'd appreciate any ideas/suggestions anyone may have
cheers
paul
Exception occurred during event dispatching:
java.lang.UnsatisfiedLinkError: TnsAliasToAddress
at oracle.repos.helpers.environment.OSEnv.TnsAliasToAddress(Native Method)
at oracle.repos.services.connection.RepositoryConnectDetails.parseConnect(RepositoryConnectDetails.java:365)
at oracle.repos.services.connection.RepositoryConnectDetails.<init>(RepositoryConnectDetails.java:74)
at oracle.repos.services.connection.RepositoryConnection.<init>(RepositoryConnection.java:368)
at ess.ant.scm.ValidateUser.validate(ValidateUser.java:44)
at ess.ant.scm.ConnectionFrame.connect_actionPerformed(ConnectionFrame.java:175)
at ess.ant.scm.ConnectionFrame$1.actionPerformed(ConnectionFrame.java:89)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1450)
at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1504)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:378)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:250)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:216)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:230)
at java.awt.Component.processMouseEvent(Component.java:3715)
at java.awt.Component.processEvent(Component.java:3544)
at java.awt.Container.processEvent(Container.java:1164)
at java.awt.Component.dispatchEventImpl(Component.java:2593)
at java.awt.Container.dispatchEventImpl(Container.java:1213)
at java.awt.Component.dispatchEvent(Component.java:2497)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:2451)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:2216)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:2125)
at java.awt.Container.dispatchEventImpl(Container.java:1200)
at java.awt.Window.dispatchEventImpl(Window.java:926)
at java.awt.Component.dispatchEvent(Component.java:2497)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:339)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:131)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:98)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:85)This tutorial page for JNI API describes how and where Java looks for the dynamic libraries:
http://java.sun.com/docs/books/tutorial/native1.1/stepbystep/_library.html
And this is the home page of Java Native Interface (JNI) API:
http://java.sun.com/j2se/1.4/docs/guide/jni/index.html
I have tried putting my executable jar in the same folder as
this dll and including the dll in my path but both to no avail.Again: you mix binary code and JVM byte code. They are loaded
differently and located differently. classpath means nothing for the binary code.
"The Win32 VM uses a search path that includes the current directory for the process or one of the directories listed in the PATH environment variable"
The DLL may be either in the folder where the application (the JRE/JDK) runs, that is where java.exe is, or some other directory on the system PATH (according to the PATH system variable). -
"Too many open files" Exception on "tapestry-framework-4.1.1.jar"
When a browser attempts accessing to my webwork, the server opens a certain number of file descriptors to "tapestry-framework-4.1.1.jar" file and don't release them for a while.
Below is the output from "lsof | grep tapestry":
java 26735 root mem REG 253,0 62415 2425040 /usr/local/apache-tomcat-5.5.20/my_webwork/WEB-INF/lib/tapestry-portlet-4.1.1.jar
java 26735 root mem REG 253,0 2280602 2425039 /usr/local/apache-tomcat-5.5.20/my_webwork/WEB-INF/lib/tapestry-framework-4.1.1.jar
java 26735 root mem REG 253,0 320546 2425036 /usr/local/apache-tomcat-5.5.20/my_webwork/WEB-INF/lib/tapestry-contrib-4.1.1.jar
java 26735 root mem REG 253,0 49564 2424979 /usr/local/apache-tomcat-5.5.20/my_webwork/WEB-INF/lib/tapestry-annotations-4.1.1.jar
java 26735 root 28r REG 253,0 2280602 2425039 /usr/local/apache-tomcat-5.5.20/my_webwork/WEB-INF/lib/tapestry-framework-4.1.1.jar
java 26735 root 29r REG 253,0 2280602 2425039 /usr/local/apache-tomcat-5.5.20/my_webwork/WEB-INF/lib/tapestry-framework-4.1.1.jar
java 26735 root 30r REG 253,0 2280602 2425039 /usr/local/apache-tomcat-5.5.20/my_webwork/WEB-INF/lib/tapestry-framework-4.1.1.jar
These unknown references are sometimes released automatically, but sometimes not.
And I get "Too many open files" exception after using my application for a few hours.
The number of the unknown references increases as I access to my webwork or just hit on "F5" key on my browser to reload it.
I tried different types of browsers to see if I could see any differences in consequence, and in fact it differed by the browser I used.
When viewed by Internet Explorer it increased by 3 for every access.
On the other hand it increased by 7 for each attempt when accessed by FireFox.
I have already tried optimizing the max number of file discriptors, and it solved the "Too many open files" exception.
But stil I'm wondering who actually is opening "tapestry-framework-4.1.1.jar" this many.
Could anyone figure out what is going on?
Thanks in advance.
The following is my environmental version info:
- Red Hat Enterprise Linux ES release 4 (Nahant Update 4)
- Java: 1.5.0_11
- Tomcat: 5.5.20
- Tapestry: 4.1.1Hi,
Cause might The server got an exception while trying to accept client connections. It will try to backoff to aid recovery.
The OS limit for the number of open file descriptor (FD limit) needs to be increased. Tune OS parameters that might help the server to accept more client connections (e.g. TCP accept back log).
http://e-docs.bea.com/wls/docs90/messages/Server.html#BEA-002616
Regards,
Prasanna Yalam -
Exception while adding External Jar files in NWDS
Dear Friends,
Actually i am adding an external Jar file in my EJB Module in NWDS.I am using this jar file for converting XML to flat file and i am calling this module from Receiver ommunication channel.For this process, i am importing dom4j.jar file in the EJB Module.
Now i have created an external Library project for the cause that i have used the external jar file, and i have made following code in the provider.xml file
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE provider-descriptor SYSTEM "library.provider.dtd">
<provider-descriptor>
<display-name>
XML2EDI_Library
</display-name>
<component-name>
XML2EDI_Library
</component-name>
<major-version>6</major-version>
<minor-version>40</minor-version>
<micro-version>0</micro-version>
<provider-name>
dom4j.org
</provider-name>
<references>
<reference
provider-name="dom4j.org"
strength="weak"
type="library">org.dom4j.Document</reference>
<reference
provider-name="dom4j.org"
strength="weak"
type="library">org.dom4j.DocumentException</reference>
<reference
provider-name="dom4j.org"
strength="weak"
type="library">org.dom4j.Element</reference>
<reference
provider-name="dom4j.org"
strength="weak"
type="library">org.dom4j.io.SAXReader</reference>
</references>
<jars>
<jar-name>EDI_Module.jar</jar-name>
</jars>
</provider-descriptor>
I have included 4 references because i have imported following in my ejb module.
import org.dom4j.Document;
import org.dom4j.DocumentException;
import org.dom4j.Element;
import org.dom4j.io.SAXReader;
I am not sure of wht to include in reference target and provider name, I am getting the following exceptions in Message monitoring:
1. AO: Document Exception: org.dom4j.DocumentException: E:\usr\sap\BWS\DVEBMGS00\j2ee\cluster\server0\
2. Nested exception: E:\usr\sap\BWS\DVEBMGS00\j2ee\cluster\server0\
Help me in this issue..
Thanks in advance
N.Jayanth Kumarthanks for you help sidharth.
i have now jar files in the server and the application referring to the jar files. everything is deployed fine. however, when i start the application..i get the error -"package jcifs.smb does not exist". the jar i am using is jcifs-1.2.7.jar. in my web module when i expand the jar i see the package and the .class files inside. what am i missing?
Also, i din't define a SharingReference to usermanagement in portalapp.xml as i am working towards a pure j2ee enterprise application. the web module (DC) referes to the jar files. is there any step similar to defining the sharing reference for the web module DC?
please help. thanks - sowmiyar -
Getting Exception in JWS while downloading jar files from server
Hi All,
I am running JWS on j2re1.4.2_10(build 03). while JWS is trying to download jar files from web server, I am getting the following Exception.
All the jar files are signed. Any idea ?
JNLPException[category: Download Error : Exception: null : LaunchDesc: null ]
at com.sun.javaws.cache.DownloadProtocol.doDownload(Unknown Source)
at com.sun.javaws.cache.DownloadProtocol.getDownloadSize(Unknown Source)
at com.sun.javaws.LaunchDownload.downloadJarFiles(Unknown Source)
at com.sun.javaws.LaunchDownload.downloadEagerorAll(Unknown Source)
at com.sun.javaws.Launcher.downloadResources(Unknown Source)
at com.sun.javaws.Launcher.handleApplicationDesc(Unknown Source)
at com.sun.javaws.Launcher.handleLaunchFile(Unknown Source)
at com.sun.javaws.Launcher.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)Are you able to download your *.jar files directly from server
For example say,
http://127.0.0.1:8080/test/testme.jarIf yes,
Then problem should be with your *.jnlp file. Check all your *.jar with respect to context location of your url from where you are downloading *.jnlp file -
Exception is thrown only while executing the jar file
java.lang.NoClassDefFoundError: javax/mail/Address Exception is thrown only while executing the jar file. But the program compiles and executes good when executed for command prompt through the class files.
I used javamail API in my program. Classpath and every others are set to the right one's. Executed fine when used java Random.class. But the problem is only with the jar file.
Please help me out in this regard. Why the exception is thrown only in jar but not at class level.Assuming you're running your program using "java -jar", your jar file needs a Class-Path entry
in the manifest file that references mail.jar. -
Exception when Running Jar File
Hello,
I have downloaded a jar file from http://sourceforge.net/projects/sarf/
It's an Arabic Morphology System, The program run successfully but when I try to use the User Interface by entering an input and clicking on the main button, I get the following Exception:
java.io.FileNotFoundException: .\db\trilateral\augmented\?.xml (The system canno
t find the file specified)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:106)
at org.apache.commons.digester.Digester.parse(Digester.java:1477)
at sarf.verb.trilateral.augmented.AugmentedTrilateralRootTreeCreator.bui
ldXmlVerbTree(AugmentedTrilateralRootTreeCreator.java:42)
at sarf.DatabaseManager.getAugmentedTrilateralRootTree(DatabaseManager.j
ava:85)
at sarf.SarfDictionary.getAugmentedTrilateralRoot(SarfDictionary.java:37
at sarf.ui.ControlPaneContainer.processTrilateral(ControlPaneContainer.j
ava:345)
at sarf.ui.ControlPaneContainer.rootEntered(ControlPaneContainer.java:30
8)
at sarf.ui.ControlPaneContainer.access$400(ControlPaneContainer.java:32)
at sarf.ui.ControlPaneContainer$10.actionPerformed(ControlPaneContainer.
java:246)
at javax.swing.JTextField.fireActionPerformed(JTextField.java:492)
at javax.swing.JTextField.postActionEvent(JTextField.java:705)
at javax.swing.JTextField$NotifyAction.actionPerformed(JTextField.java:8
20)
at javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1636)
at javax.swing.JComponent.processKeyBinding(JComponent.java:2851)
at javax.swing.JComponent.processKeyBindings(JComponent.java:2886)
at javax.swing.JComponent.processKeyEvent(JComponent.java:2814)
at java.awt.Component.processEvent(Component.java:6040)
at java.awt.Container.processEvent(Container.java:2041)
at java.awt.Component.dispatchEventImpl(Component.java:4630)
at java.awt.Container.dispatchEventImpl(Container.java:2099)
at java.awt.Component.dispatchEvent(Component.java:4460)
at java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.ja
va:1848)
at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboard
FocusManager.java:704)
at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeybo
ardFocusManager.java:969)
at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeybo
ardFocusManager.java:841)
at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFoc
usManager.java:668)
at java.awt.Component.dispatchEventImpl(Component.java:4502)
at java.awt.Container.dispatchEventImpl(Container.java:2099)
at java.awt.Window.dispatchEventImpl(Window.java:2475)
at java.awt.Component.dispatchEvent(Component.java:4460)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThre
ad.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.
java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
ad.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at sarf.SarfDictionary.getAugmentedTrilateralRoot(SarfDictionary.java:38
at sarf.ui.ControlPaneContainer.processTrilateral(ControlPaneContainer.j
ava:345)
at sarf.ui.ControlPaneContainer.rootEntered(ControlPaneContainer.java:30
8)
at sarf.ui.ControlPaneContainer.access$400(ControlPaneContainer.java:32)
at sarf.ui.ControlPaneContainer$10.actionPerformed(ControlPaneContainer.
java:246)
at javax.swing.JTextField.fireActionPerformed(JTextField.java:492)
at javax.swing.JTextField.postActionEvent(JTextField.java:705)
at javax.swing.JTextField$NotifyAction.actionPerformed(JTextField.java:8
20)
at javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1636)
at javax.swing.JComponent.processKeyBinding(JComponent.java:2851)
at javax.swing.JComponent.processKeyBindings(JComponent.java:2886)
at javax.swing.JComponent.processKeyEvent(JComponent.java:2814)
at java.awt.Component.processEvent(Component.java:6040)
at java.awt.Container.processEvent(Container.java:2041)
at java.awt.Component.dispatchEventImpl(Component.java:4630)
at java.awt.Container.dispatchEventImpl(Container.java:2099)
at java.awt.Component.dispatchEvent(Component.java:4460)
at java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.ja
va:1848)
at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboard
FocusManager.java:704)
at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeybo
ardFocusManager.java:969)
at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeybo
ardFocusManager.java:841)
at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFoc
usManager.java:668)
at java.awt.Component.dispatchEventImpl(Component.java:4502)
at java.awt.Container.dispatchEventImpl(Container.java:2099)
at java.awt.Window.dispatchEventImpl(Window.java:2475)
at java.awt.Component.dispatchEvent(Component.java:4460)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThre
ad.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.
java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
ad.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)Can anyone please help me, is there anything that I need to install in before running the jar file???
Many thanks,
MoeDoesn't look like a widely used app to me. I suppose trying to contact the creator of it is futile and that's why you're hoping for luck here. I wouldn't hold my breath.
Or maybe you're the creator of it and this is a sneaky way of getting people to look at your product? Hmmm... -
Error: Exception while jar file setup for uri
Our environment is set up as
Adminserver running on one machine.
Managed servers running on another machine.
Communication via node manager.
Machines physically in the same location.
Trying to deploy application using the wldeploy script or the weblogic console.
I get the following error while deploying my application on one of the managed
server
Can anybody throw some light on what could be wrong ?
####<Apr 19, 2004 2:30:11 PM PDT> <Error> <Deployer> <tin.rose.hp.com> <GSOeProc-EMEA_3_0_AM_tin_AM>
<ExecuteThread: '23' for queue: 'default'> <kernel identity> <> <149201> <The
Slave Deployer failed to complete the deployment task with id 16 for the application
GSOeProc-EMEA_3_0_55.>
weblogic.management.ApplicationException: Module creation failed. Task Id = 16
Module Name: email_mdb.jar, Error: Exception while jar file setup for uri : email_mdb.jar
in Module :
TargetException: java.util.zip.ZipException: error in opening zip file
at weblogic.j2ee.J2EEApplicationContainer.addFindersForAllModules(J2EEApplicationContainer.java:660)
at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:554)
at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:1096)
at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:764)
at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:24)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:234)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:210)Does your app work if you deploy it to a single server environment?
It's complaining that it can't find the email_mdb.jar file.
-- Rob
Satya wrote:
Our environment is set up as
Adminserver running on one machine.
Managed servers running on another machine.
Communication via node manager.
Machines physically in the same location.
Trying to deploy application using the wldeploy script or the weblogic console.
I get the following error while deploying my application on one of the managed
server
Can anybody throw some light on what could be wrong ?
####<Apr 19, 2004 2:30:11 PM PDT> <Error> <Deployer> <tin.rose.hp.com> <GSOeProc-EMEA_3_0_AM_tin_AM>
<ExecuteThread: '23' for queue: 'default'> <kernel identity> <> <149201> <The
Slave Deployer failed to complete the deployment task with id 16 for the application
GSOeProc-EMEA_3_0_55.>
weblogic.management.ApplicationException: Module creation failed. Task Id = 16
Module Name: email_mdb.jar, Error: Exception while jar file setup for uri : email_mdb.jar
in Module :
TargetException: java.util.zip.ZipException: error in opening zip file
at weblogic.j2ee.J2EEApplicationContainer.addFindersForAllModules(J2EEApplicationContainer.java:660)
at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:554)
at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:1096)
at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:764)
at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:24)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:234)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:210) -
Fatal Exception occurred when trying to execute a JAR file
Hi,
I have compiled my project in a jar file with the purpose of having an 'almost' executable file that would run with a simple double click.
When running this file from the netbeans directory, it works fine, but if I move this jar file to, say, my desktop, then I get an error:
Fatal Exception occurred. Program will exit.
Is this normal?
basically, I would like to create a stand-alon file that I can send to other people who can run it on their machines
Am I doing the right thing, or missing something?
P.S I should add that my application needs to read contente from some txt files which are stored in my PC, but that is clearly speficied in the code
thanksI found that if I copy the whole of the dist directory and subdirectories, it works fine. I guess that's what could not be found.
just for my learning, is that the correct solution: basically send over the whole dist+subdirectories and have the program run from there?
thanks -
XML Sax Exception with 9.2.0.5 express*.jar files for Olap API
I was using the olap_api_92.jar that
came with jdeveloper for the olap api and having a coding problem.. In trying to see
if I could resolve the previous problem, I set my classpath to use the jar files provided with the 9.2.0.5
install for AiX.. all beginning with express*.jar
I now get an XML parsing error that I can't fix..
which jar is good, the olap_api_92.jar seems to work..
Help!
thanks,
Lisa Cox
OCLC Inc.
java.lang.RuntimeException: org.xml.sax.SAXParseException: <Line 179, Column 18>: XML-0124: (Fatal Error) An attribute cannot appear more than once in the same start tag.
at oracle.olapi.metadata.MetadataFetcher.processXML(MetadataFetcher.java:237)
at oracle.olapi.metadata.MetadataFetcher.fetchBaseMetadataObjects(MetadataFetcher.java:180)
at oracle.olapi.metadata.BaseMetadataProvider.fetchMetadataObject(BaseMetadataProvider.java:150)
at oracle.olapi.metadata.BaseMetadataProvider.fetchMetadataObject(BaseMetadataProvider.java:107)
at oracle.olapi.metadata.mdm.MdmMetadataProvider.getMetadataObject(MdmMetadataProvider.java:147)
at oracle.olapi.metadata.mdm.MdmMetadataProvider.getRootSchema(MdmMetadataProvider.java:174)
at oracle.express.mdm.MdmMetadataProvider.getRootSchema(MdmMetadataProvider.java:144)
at org.oclc.xwc.olap.OlapClient.main(OlapClient.java:494)The OLAP component versions are empty.
<Check key="OLAP Catalog version" value=""/>
<Check key="OLAP AW Engine version" value=""/>
<Check key="OLAP API Server version" value=""/>
Please doublecheck that the catpatch.sql script ran without any errors.
Aneel Shenker
Senior Product Manager
Oracle Corp. -
OutOfMemory Exception while running a JAR file
Hi,
I am working with Java 1.5 and using Eclipse to build a GUI. My application has intensive image loading involved so I set -Xmx inside Eclipse when running the application in debug mode.
However, once a JAR file is exported, I do not know how to specify the heap size required to run the program. Is there a way to ...
1. embed the heap size info inside the JAR file?
2. specify a heap size when running the JAR file?
Thanks in advance.Heap size is specified by the -Xmx option on the java command. See the java command documentation.
Maybe you are looking for
-
Reg : Top-of-page in classical report.
Hello all, This is regarding the page count that needs to be written in top-of-page event depending on the data in the internal table. I have internal table with feqw fields for example : Field 1----- Field2 Val1---- text1 Val1---- text2 Val1----
-
Change subject line of Email sent through "spool recipient functionality".
A batch job creates a spool, which is send through Email using spool recipient functionality. The subject line of the Email is as follows "Job<job name>, Step <step no.>". Is it possible to change the subject line of the Email? Any pointers on this w
-
I just got an iMac with Leopard and wanted to connect it to my Windows computer to access my files, but I clicked on the computer in the shared section of the Finder sidebar and it said "connection failed." I tried hitting "connect as" and typing in
-
Type 101 | Learn Photoshop CS6 | Adobe TV
Photoshop is an image-editing application, but that doesn't mean it doesn't do text. Let Infinite Skills author, Andy Anderson, will show you the basics of using text the creative way- the Adobe way. http://adobe.ly/NsFVOG
-
Quits unexpectedly on startup. Constantly.
Hey guys, iTunes has gone very crazy recently, and try as hard as I might... I just can't find the cause of the problem. Whenever I click on the iTunes icon in the dock, the little black triangle appears, and then a few seconds later disappears and t