Error when runnin jar
hello people,
I am getting the following error when running my jar file
Failed to load Main-Class manifest attribute from
Krismt.jar Can anybody please help.
Thanks
can you advise on this too please,
E:\mt>jar cfm KrisMT.jar kris.txt *.class *.jpg
java.io.IOException: invalid header field name: Main-Class
at java.util.jar.Attributes.read(Attributes.java:409)
at java.util.jar.Manifest.read(Manifest.java:167)
at java.util.jar.Manifest.<init>(Manifest.java:52)
at sun.tools.jar.Main.run(Main.java:123)
at sun.tools.jar.Main.main(Main.java:903)Thanks
Similar Messages
-
Hi all,
I am getting this error when i try to include xbean.jar. The error is:
The project was not built since its build path is incomplete. Cannot find the class file for javax.xml.stream.XMLStreamReader. Fix the build path then try building this project.
Can you recommend a solution for this? Should i download this jar file again?First, need more info.. where is xbean.jar located ? locally ? if yes is the path included in your class path ? Let me give you a quick workaround if you have the jar file with you and are still struggling to include it :)
say you have a jar file with a package foo. Just decompress the jar file and you should get a folder named foo. Copy this to the place where you have your .class files. Then use the following command to create the jar file. * will include everything including all the folders and this is a quick workaround to get it to work. If you want to know how to actually do it the correct way, more info is needed on your problem !
jar cvfm bar.jar MANIFEST.TXT *Let me know if you still have difficulties
Cheers
Prashanth -
I am trying to execute a JAR file, via the command line, when I get the following error:
Exception in thread "main" java.util.zip.ZipException: The system cannot find th
e file specified
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(Unknown Source)
at java.util.jar.JarFile.<init>(Unknown Source)
at java.util.jar.JarFile.<init>(Unknown Source)
Any suggestions?I am trying to execute a JAR file, via the command
line, when I get the following error:
Any suggestions?How are you trying to execute the file?
some suggestions
create a manifest.mf file with the following content
Main-Class:TheNameOfTheClassWithMainMethod
and hit return
jar this file with any other .class files folders etc like this
java -jar manifest.mf nameUwantToGive.jar *.class
run by double click or by with the following
java -jar nameUwantToGive.jar
Hope this helps
AA -
Error when executing jar from command window pla help
Hello
I have a project which calls a webservice, I am using Jdeveloper 10.1.3.4
I deployed the project in a jar file and included all the necessary libraries in it,
but when executing the jar from command window I am getting the exceptions below
the statement which cause the error is : PROXY= new JoPayWebServiceClient();
please help
Exception in thread "main" java.lang.NoClassDefFoundError
at oracle.j2ee.ws.common.encoding.soap.StandardSOAPTypeMappings.class$(S
tandardSOAPTypeMappings.java:125)
at oracle.j2ee.ws.common.encoding.soap.StandardSOAPTypeMappings.<init>(S
tandardSOAPTypeMappings.java:558)
at oracle.j2ee.ws.client.BasicService.createSoapMappings(BasicService.ja
va:259)
at oracle.j2ee.ws.client.BasicService.createStandardTypeMappingRegistry(
BasicService.java:236)
at has.proxy.runtime.JoPayWebServiceService_SerializerRegistry.getRegist
ry(JoPayWebServiceService_SerializerRegistry.java:26)
at has.proxy.runtime.JoPayWebServiceService_Impl.<init>(JoPayWebServiceS
ervice_Impl.java:26)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
orAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
onstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at java.lang.Class.newInstance0(Class.java:350)
at java.lang.Class.newInstance(Class.java:303)
at oracle.j2ee.ws.client.ServiceFactoryImpl.createService(ServiceFactory
Impl.java:92)
at oracle.j2ee.ws.client.ServiceFactoryImpl.loadService(ServiceFactoryIm
pl.java:121)
at has.proxy.JoPayWebServiceClient.<init>(JoPayWebServiceClient.java:18)
at moict.Main.confirmPayment(Main.java:142)
at moict.Main.main(Main.java:93)
Caused by: java.lang.ClassNotFoundException: javax.activation.DataHandler
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:164)
... 17 more
C:\>Hi Arun
I added all the jars I found in jdeveloper log as you told me , but still I have this error:-
standard type mapping initialization error: javax.xml.rpc.JAXRPCException: javax
.xml.soap.SOAPException: Unable to create SOAP Factory: Provider com.sun.xml.mes
saging.saaj.soap.ver1_1.SOAPFactory1_1Impl not found
at oracle.j2ee.ws.client.BasicService.createLiteralMappings(BasicService
.java:282)
at oracle.j2ee.ws.client.BasicService.createStandardTypeMappingRegistry(
BasicService.java:244)
at has.proxy.runtime.JoPayWebServiceService_SerializerRegistry.getRegist
ry(JoPayWebServiceService_SerializerRegistry.java:26)
at has.proxy.runtime.JoPayWebServiceService_Impl.<init>(JoPayWebServiceS
ervice_Impl.java:26)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
orAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
onstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at java.lang.Class.newInstance0(Class.java:350)
at java.lang.Class.newInstance(Class.java:303)
at oracle.j2ee.ws.client.ServiceFactoryImpl.createService(ServiceFactory
Impl.java:92)
at oracle.j2ee.ws.client.ServiceFactoryImpl.loadService(ServiceFactoryIm
pl.java:121)
at has.proxy.JoPayWebServiceClient.<init>(JoPayWebServiceClient.java:18)
at moict.Main.confirmPayment(Main.java:142)
at moict.Main.main(Main.java:93)
CAUSE:
javax.xml.rpc.JAXRPCException: javax.xml.soap.SOAPException: Unable to create SO
AP Factory: Provider com.sun.xml.messaging.saaj.soap.ver1_1.SOAPFactory1_1Impl n
ot found
at oracle.j2ee.ws.client.BasicService.createLiteralMappings(BasicService
.java:282)
at oracle.j2ee.ws.client.BasicService.createStandardTypeMappingRegistry(
BasicService.java:244)
at has.proxy.runtime.JoPayWebServiceService_SerializerRegistry.getRegist
ry(JoPayWebServiceService_SerializerRegistry.java:26)
at has.proxy.runtime.JoPayWebServiceService_Impl.<init>(JoPayWebServiceS
ervice_Impl.java:26)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
orAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
onstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at java.lang.Class.newInstance0(Class.java:350)
at java.lang.Class.newInstance(Class.java:303)
at oracle.j2ee.ws.client.ServiceFactoryImpl.createService(ServiceFactory
Impl.java:92)
at oracle.j2ee.ws.client.ServiceFactoryImpl.loadService(ServiceFactoryIm
pl.java:121)
at has.proxy.JoPayWebServiceClient.<init>(JoPayWebServiceClient.java:18)
at moict.Main.confirmPayment(Main.java:142)
at moict.Main.main(Main.java:93)
Caused by: javax.xml.rpc.JAXRPCException: javax.xml.soap.SOAPException: Unable t
o create SOAP Factory: Provider com.sun.xml.messaging.saaj.soap.ver1_1.SOAPFacto
ry1_1Impl not found
at oracle.j2ee.ws.common.encoding.literal.LiteralFragmentSerializer.<ini
t>(LiteralFragmentSerializer.java:95)
at oracle.j2ee.ws.common.encoding.literal.LiteralFragmentSerializer.<ini
t>(LiteralFragmentSerializer.java:62)
at oracle.j2ee.ws.common.encoding.literal.LiteralAnyElementSerializer.<i
nit>(LiteralAnyElementSerializer.java:16)
at oracle.j2ee.ws.common.encoding.literal.StandardLiteralTypeMappings.<i
nit>(StandardLiteralTypeMappings.java:198)
at oracle.j2ee.ws.client.BasicService.createLiteralMappings(BasicService
.java:280)
... 14 more
Caused by: javax.xml.soap.SOAPException: Unable to create SOAP Factory: Provider
com.sun.xml.messaging.saaj.soap.ver1_1.SOAPFactory1_1Impl not found
at javax.xml.soap.SOAPFactory.newInstance(SOAPFactory.java:33)
at oracle.j2ee.ws.common.encoding.literal.LiteralFragmentSerializer.<ini
t>(LiteralFragmentSerializer.java:93)
... 18 more
CAUSE:
javax.xml.rpc.JAXRPCException: javax.xml.soap.SOAPException: Unable to create SO
AP Factory: Provider com.sun.xml.messaging.saaj.soap.ver1_1.SOAPFactory1_1Impl n
ot found
at oracle.j2ee.ws.client.BasicService.createLiteralMappings(BasicService
.java:282)
at oracle.j2ee.ws.client.BasicService.createStandardTypeMappingRegistry(
BasicService.java:244)
at has.proxy.runtime.JoPayWebServiceService_SerializerRegistry.getRegist
ry(JoPayWebServiceService_SerializerRegistry.java:26)
at has.proxy.runtime.JoPayWebServiceService_Impl.<init>(JoPayWebServiceS
ervice_Impl.java:26)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
orAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
onstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at java.lang.Class.newInstance0(Class.java:350)
at java.lang.Class.newInstance(Class.java:303)
at oracle.j2ee.ws.client.ServiceFactoryImpl.createService(ServiceFactory
Impl.java:92)
at oracle.j2ee.ws.client.ServiceFactoryImpl.loadService(ServiceFactoryIm
pl.java:121)
at has.proxy.JoPayWebServiceClient.<init>(JoPayWebServiceClient.java:18)
at moict.Main.confirmPayment(Main.java:142)
at moict.Main.main(Main.java:93)
Caused by: javax.xml.rpc.JAXRPCException: javax.xml.soap.SOAPException: Unable t
o create SOAP Factory: Provider com.sun.xml.messaging.saaj.soap.ver1_1.SOAPFacto
ry1_1Impl not found
at oracle.j2ee.ws.common.encoding.literal.LiteralFragmentSerializer.<ini
t>(LiteralFragmentSerializer.java:95)
at oracle.j2ee.ws.common.encoding.literal.LiteralFragmentSerializer.<ini
t>(LiteralFragmentSerializer.java:62)
at oracle.j2ee.ws.common.encoding.literal.LiteralAnyElementSerializer.<i
nit>(LiteralAnyElementSerializer.java:16)
at oracle.j2ee.ws.common.encoding.literal.StandardLiteralTypeMappings.<i
nit>(StandardLiteralTypeMappings.java:198)
at oracle.j2ee.ws.client.BasicService.createLiteralMappings(BasicService
.java:280)
... 14 more
Caused by: javax.xml.soap.SOAPException: Unable to create SOAP Factory: Provider
com.sun.xml.messaging.saaj.soap.ver1_1.SOAPFactory1_1Impl not found
at javax.xml.soap.SOAPFactory.newInstance(SOAPFactory.java:33)
at oracle.j2ee.ws.common.encoding.literal.LiteralFragmentSerializer.<ini
t>(LiteralFragmentSerializer.java:93)
... 18 more
Exception in thread "main" java.lang.NullPointerException
at has.proxy.runtime.JoPayWebServiceService_SerializerRegistry.registerS
erializer(JoPayWebServiceService_SerializerRegistry.java:45)
at has.proxy.runtime.JoPayWebServiceService_SerializerRegistry.getRegist
ry(JoPayWebServiceService_SerializerRegistry.java:32)
at has.proxy.runtime.JoPayWebServiceService_Impl.<init>(JoPayWebServiceS
ervice_Impl.java:26)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
orAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
onstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at java.lang.Class.newInstance0(Class.java:350)
at java.lang.Class.newInstance(Class.java:303)
at oracle.j2ee.ws.client.ServiceFactoryImpl.createService(ServiceFactory
Impl.java:92)
at oracle.j2ee.ws.client.ServiceFactoryImpl.loadService(ServiceFactoryIm
pl.java:121)
at has.proxy.JoPayWebServiceClient.<init>(JoPayWebServiceClient.java:18)
at moict.Main.confirmPayment(Main.java:142)
at moict.Main.main(Main.java:93)
C:\> -
Error when executing jar from command window PLZ HELP URGENT
Hello
I have a project which calls a webservice, I am using Jdeveloper 10.1.3.4
I deployed the project in a jar file and included all the necessary libraries in it,
but when executing the jar from command window I am getting the exceptions below
the statement which cause the error is : PROXY= new JoPayWebServiceClient();
please help
Exception in thread "main" java.lang.NoClassDefFoundError
at oracle.j2ee.ws.common.encoding.soap.StandardSOAPTypeMappings.class$(S
tandardSOAPTypeMappings.java:125)
at oracle.j2ee.ws.common.encoding.soap.StandardSOAPTypeMappings.<init>(S
tandardSOAPTypeMappings.java:558)
at oracle.j2ee.ws.client.BasicService.createSoapMappings(BasicService.ja
va:259)
at oracle.j2ee.ws.client.BasicService.createStandardTypeMappingRegistry(
BasicService.java:236)
at has.proxy.runtime.JoPayWebServiceService_SerializerRegistry.getRegist
ry(JoPayWebServiceService_SerializerRegistry.java:26)
at has.proxy.runtime.JoPayWebServiceService_Impl.<init>(JoPayWebServiceS
ervice_Impl.java:26)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
orAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
onstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at java.lang.Class.newInstance0(Class.java:350)
at java.lang.Class.newInstance(Class.java:303)
at oracle.j2ee.ws.client.ServiceFactoryImpl.createService(ServiceFactory
Impl.java:92)
at oracle.j2ee.ws.client.ServiceFactoryImpl.loadService(ServiceFactoryIm
pl.java:121)
at has.proxy.JoPayWebServiceClient.<init>(JoPayWebServiceClient.java:18)
at moict.Main.confirmPayment(Main.java:142)
at moict.Main.main(Main.java:93)
Caused by: java.lang.ClassNotFoundException: javax.activation.DataHandler
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:164)
... 17 more
C:\>I added all required jars but still I get this error :-
standard type mapping initialization error: javax.xml.rpc.JAXRPCException: javax
.xml.soap.SOAPException: Unable to create SOAP Factory: Provider com.sun.xml.mes
saging.saaj.soap.ver1_1.SOAPFactory1_1Impl not found
at oracle.j2ee.ws.client.BasicService.createLiteralMappings(BasicService
.java:282)
at oracle.j2ee.ws.client.BasicService.createStandardTypeMappingRegistry(
BasicService.java:244)
at has.proxy.runtime.JoPayWebServiceService_SerializerRegistry.getRegist
ry(JoPayWebServiceService_SerializerRegistry.java:26)
at has.proxy.runtime.JoPayWebServiceService_Impl.<init>(JoPayWebServiceS
ervice_Impl.java:26)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
orAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
onstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at java.lang.Class.newInstance0(Class.java:350)
at java.lang.Class.newInstance(Class.java:303)
at oracle.j2ee.ws.client.ServiceFactoryImpl.createService(ServiceFactory
Impl.java:92)
at oracle.j2ee.ws.client.ServiceFactoryImpl.loadService(ServiceFactoryIm
pl.java:121)
at has.proxy.JoPayWebServiceClient.<init>(JoPayWebServiceClient.java:18)
at moict.Main.confirmPayment(Main.java:142)
at moict.Main.main(Main.java:93)
CAUSE:
javax.xml.rpc.JAXRPCException: javax.xml.soap.SOAPException: Unable to create SO
AP Factory: Provider com.sun.xml.messaging.saaj.soap.ver1_1.SOAPFactory1_1Impl n
ot found
at oracle.j2ee.ws.client.BasicService.createLiteralMappings(BasicService
.java:282)
at oracle.j2ee.ws.client.BasicService.createStandardTypeMappingRegistry(
BasicService.java:244)
at has.proxy.runtime.JoPayWebServiceService_SerializerRegistry.getRegist
ry(JoPayWebServiceService_SerializerRegistry.java:26)
at has.proxy.runtime.JoPayWebServiceService_Impl.<init>(JoPayWebServiceS
ervice_Impl.java:26)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
orAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
onstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at java.lang.Class.newInstance0(Class.java:350)
at java.lang.Class.newInstance(Class.java:303)
at oracle.j2ee.ws.client.ServiceFactoryImpl.createService(ServiceFactory
Impl.java:92)
at oracle.j2ee.ws.client.ServiceFactoryImpl.loadService(ServiceFactoryIm
pl.java:121)
at has.proxy.JoPayWebServiceClient.<init>(JoPayWebServiceClient.java:18)
at moict.Main.confirmPayment(Main.java:142)
at moict.Main.main(Main.java:93)
Caused by: javax.xml.rpc.JAXRPCException: javax.xml.soap.SOAPException: Unable t
o create SOAP Factory: Provider com.sun.xml.messaging.saaj.soap.ver1_1.SOAPFacto
ry1_1Impl not found
at oracle.j2ee.ws.common.encoding.literal.LiteralFragmentSerializer.<ini
t>(LiteralFragmentSerializer.java:95)
at oracle.j2ee.ws.common.encoding.literal.LiteralFragmentSerializer.<ini
t>(LiteralFragmentSerializer.java:62)
at oracle.j2ee.ws.common.encoding.literal.LiteralAnyElementSerializer.<i
nit>(LiteralAnyElementSerializer.java:16)
at oracle.j2ee.ws.common.encoding.literal.StandardLiteralTypeMappings.<i
nit>(StandardLiteralTypeMappings.java:198)
at oracle.j2ee.ws.client.BasicService.createLiteralMappings(BasicService
.java:280)
... 14 more
Caused by: javax.xml.soap.SOAPException: Unable to create SOAP Factory: Provider
com.sun.xml.messaging.saaj.soap.ver1_1.SOAPFactory1_1Impl not found
at javax.xml.soap.SOAPFactory.newInstance(SOAPFactory.java:33)
at oracle.j2ee.ws.common.encoding.literal.LiteralFragmentSerializer.<ini
t>(LiteralFragmentSerializer.java:93)
... 18 more
CAUSE:
javax.xml.rpc.JAXRPCException: javax.xml.soap.SOAPException: Unable to create SO
AP Factory: Provider com.sun.xml.messaging.saaj.soap.ver1_1.SOAPFactory1_1Impl n
ot found
at oracle.j2ee.ws.client.BasicService.createLiteralMappings(BasicService
.java:282)
at oracle.j2ee.ws.client.BasicService.createStandardTypeMappingRegistry(
BasicService.java:244)
at has.proxy.runtime.JoPayWebServiceService_SerializerRegistry.getRegist
ry(JoPayWebServiceService_SerializerRegistry.java:26)
at has.proxy.runtime.JoPayWebServiceService_Impl.<init>(JoPayWebServiceS
ervice_Impl.java:26)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
orAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
onstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at java.lang.Class.newInstance0(Class.java:350)
at java.lang.Class.newInstance(Class.java:303)
at oracle.j2ee.ws.client.ServiceFactoryImpl.createService(ServiceFactory
Impl.java:92)
at oracle.j2ee.ws.client.ServiceFactoryImpl.loadService(ServiceFactoryIm
pl.java:121)
at has.proxy.JoPayWebServiceClient.<init>(JoPayWebServiceClient.java:18)
at moict.Main.confirmPayment(Main.java:142)
at moict.Main.main(Main.java:93)
Caused by: javax.xml.rpc.JAXRPCException: javax.xml.soap.SOAPException: Unable t
o create SOAP Factory: Provider com.sun.xml.messaging.saaj.soap.ver1_1.SOAPFacto
ry1_1Impl not found
at oracle.j2ee.ws.common.encoding.literal.LiteralFragmentSerializer.<ini
t>(LiteralFragmentSerializer.java:95)
at oracle.j2ee.ws.common.encoding.literal.LiteralFragmentSerializer.<ini
t>(LiteralFragmentSerializer.java:62)
at oracle.j2ee.ws.common.encoding.literal.LiteralAnyElementSerializer.<i
nit>(LiteralAnyElementSerializer.java:16)
at oracle.j2ee.ws.common.encoding.literal.StandardLiteralTypeMappings.<i
nit>(StandardLiteralTypeMappings.java:198)
at oracle.j2ee.ws.client.BasicService.createLiteralMappings(BasicService
.java:280)
... 14 more
Caused by: javax.xml.soap.SOAPException: Unable to create SOAP Factory: Provider
com.sun.xml.messaging.saaj.soap.ver1_1.SOAPFactory1_1Impl not found
at javax.xml.soap.SOAPFactory.newInstance(SOAPFactory.java:33)
at oracle.j2ee.ws.common.encoding.literal.LiteralFragmentSerializer.<ini
t>(LiteralFragmentSerializer.java:93)
... 18 more
Exception in thread "main" java.lang.NullPointerException
at has.proxy.runtime.JoPayWebServiceService_SerializerRegistry.registerS
erializer(JoPayWebServiceService_SerializerRegistry.java:45)
at has.proxy.runtime.JoPayWebServiceService_SerializerRegistry.getRegist
ry(JoPayWebServiceService_SerializerRegistry.java:32)
at has.proxy.runtime.JoPayWebServiceService_Impl.<init>(JoPayWebServiceS
ervice_Impl.java:26)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
orAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
onstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at java.lang.Class.newInstance0(Class.java:350)
at java.lang.Class.newInstance(Class.java:303)
at oracle.j2ee.ws.client.ServiceFactoryImpl.createService(ServiceFactory
Impl.java:92)
at oracle.j2ee.ws.client.ServiceFactoryImpl.loadService(ServiceFactoryIm
pl.java:121)
at has.proxy.JoPayWebServiceClient.<init>(JoPayWebServiceClient.java:18)
at moict.Main.confirmPayment(Main.java:142)
at moict.Main.main(Main.java:93)
C:\> -
Error when compiling jar of a project
I'm trying to create a .jar file of my project to run it on mobile (SymbianOs) to test it.
When i try to compile several errors of those types occurs:
first error type
JAR creation failed. See details for additional information.
Exported with compile warnings: /TutWD_FlightList/gen_wdp/packages/com/sap/tut/wd/flightlist/FlightListCust.java
second error type
Problem writing /TutWD_FlightList/gen_ddic/datatypes/com/sap/tut/wd/flightlist/model/types/Balmnr.gsimpletype to JAR: duplicate entry:
is technically possible to do it?
thanksHi,
an archive of your application gets created .ear for deploying it to J2EE engine and applicaiton is called through browser so it is not possible to deploy application in mobile (symbianOS )because it doesn't have J2EE engine to deploy.as moblie browser doesn't support too much UI controls and properties u have to refer the mobile compatibility of UI controls ..
thanks,
yashpal -
Compiler Error when Loading JAR File
I am attempting to load a third party JAR file into an Oracle 8.1.6 database. Most of the packages in the JAR loaded, however one did not. It generated the following Oracle error: ORA-29545: badly formed class: sendData overrides a final method.
The loadjava command that I used was:
loadjava -u myid/mypass@mydb:1521:orcl -t -r myjar.jar.After examining the JAR file, the error statement is true. The class with the error was overriding the sendData final method of a base class. Obviously the code compiled, hence a JAR was created.
Are there options that can be set when using loadjava to ignore this?
Any help is greatly appreciated.Update. If anyone should come across this problem, I found an option to the loadjava command for 8.1.6 called -noverify. Running loadjava with this option on, will get the compiled code into the database and validate it, without verifying the structure. This bypasses the invalid structure and everything works great.
-
Error when running WebServicesAssembler.jar
I want to setup a web service for a simple database query. I've modified the sample (C:\ORA_DEV10g\webservices\demo\demo\basic\db\sqlstatement\config.xml) for my needs (other database & table):
When I run the WebServiceAssembler I get the following error messages:
java -jar C:\ORA_DEV10g\webservices\lib\WebServicesAssembler.jar -config config.xml
Please wait ...
SqlStmtsBase
oracle.demo.db.sqlstatement.SqlStmtsUser_getAdrCountRowBase
oracle.demo.db.sqlstatement.SqlStmtsUser_getAdressenRowBase
oracle.demo.db.sqlstatement.SqlStmtsUser_getAdresseByIDRowBase
java.io.IOException: CreateProcess: javac -J-Djavac.pipe.output=true -d ./tmp\nu
ll -classpath C:\ORA_DEV10g\webservices\lib\WebServicesAssembler.jar;C:\ORA_DEV1
0g\webservices\lib\../../lib/xmlparserv2.jar;C:\ORA_DEV10g\webservices\lib\../..
/oracle/lib/xmlparserv2.jar;C:\ORA_DEV10g\webservices\lib\../../xdk/lib/xmlparse
rv2.jar;C:\ORA_DEV10g\webservices\lib\../../sqlj/lib/runtime12ee.jar;C:\ORA_DEV1
0g\webservices\lib\../../sqlj/lib/translator.jar;C:\ORA_DEV10g\webservices\lib\.
./../dbjava/lib/classes12dms.jar;C:\ORA_DEV10g\webservices\lib\../../jdbc/lib/cl
asses12dms.jar;C:\ORA_DEV10g\webservices\lib\../../lib/dms.jar;C:\ORA_DEV10g\web
services\lib\../../dms/lib/dms.jar;C:\ORA_DEV10g\webservices\lib\../../soap/lib/
soap.jar;C:\ORA_DEV10g\webservices\lib\../../j2ee/home/lib/ejb.jar;C:\ORA_DEV10g
\webservices\lib\../../webservices/lib/wsdl.jar;C:\ORA_DEV10g\webservices\lib\..
/../webservices/lib/wsserver.jar;C:\ORA_DEV10g\webservices\lib\../../j2ee/home/l
ib/mail.jar;C:\ORA_DEV10g\webservices\lib\../../j2ee/home/lib/activation.jar;C:\
ORA_D?
at java.lang.Win32Process.create(Native Method)
at java.lang.Win32Process.<init>(Win32Process.java:66)
at java.lang.Runtime.execInternal(Native Method)
at java.lang.Runtime.exec(Runtime.java:566)
at java.lang.Runtime.exec(Runtime.java:428)
at java.lang.Runtime.exec(Runtime.java:364)
at java.lang.Runtime.exec(Runtime.java:326)
at sqlj.tools.Sqlj.runCompilation(Sqlj.java:1157)
at sqlj.tools.Sqlj.statusMain(Sqlj.java:400)
at oracle.j2ee.ws.tools.DBJarGenerator.doIt(DBJarGenerator.java:311)
at oracle.j2ee.ws.tools.WsAssemblerConfig.parseStatelessJavaNode(WsAssem
blerConfig.java:201)
at oracle.j2ee.ws.tools.WsAssemblerConfig.parseDeploymentMainNode(WsAsse
mblerConfig.java:81)
at oracle.j2ee.ws.tools.WsAssemblerConfig.<init>(WsAssemblerConfig.java:
49)
at oracle.j2ee.ws.tools.WsAssembler.assemble(WsAssembler.java:91)
at oracle.j2ee.ws.tools.WsAssembler.main(WsAssembler.java:66)
Fehler bei Java-Kompilierung: CreateProcess: javac -J-Djavac.pipe.output=true -d
./tmp\null -classpath C:\ORA_DEV10g\webservices\lib\WebServicesAssembler.jar;C:
\ORA_DEV10g\webservices\lib\../../lib/xmlparserv2.jar;C:\ORA_DEV10g\webservices\
lib\../../oracle/lib/xmlparserv2.jar;C:\ORA_DEV10g\webservices\lib\../../xdk/lib
/xmlparserv2.jar;C:\ORA_DEV10g\webservices\lib\../../sqlj/lib/runtime12ee.jar;C:
\ORA_DEV10g\webservices\lib\../../sqlj/lib/translator.jar;C:\ORA_DEV10g\webservi
ces\lib\../../dbjava/lib/classes12dms.jar;C:\ORA_DEV10g\webservices\lib\../../jd
bc/lib/classes12dms.jar;C:\ORA_DEV10g\webservices\lib\../../lib/dms.jar;C:\ORA_D
EV10g\webservices\lib\../../dms/lib/dms.jar;C:\ORA_DEV10g\webservices\lib\../../
soap/lib/soap.jar;C:\ORA_DEV10g\webservices\lib\../../j2ee/home/lib/ejb.jar;C:\O
RA_DEV10g\webservices\lib\../../webservices/lib/wsdl.jar;C:\ORA_DEV10g\webservic
es\lib\../../webservices/lib/wsserver.jar;C:\ORA_DEV10g\webservices\lib\../../j2
ee/home/lib/mail.jar;C:\ORA_DEV10g\webservices\lib\../../j2ee/home/lib/activatio
n.jar;C:\ORA_D\u0094
Exception in thread "main" java.lang.NullPointerException: class oracle.demo.db.
sqlstatement.SqlStmtsUser not found
at oracle.j2ee.ws.tools.WsAssemblerConfig.toEAR(WsAssemblerConfig.java:5
20)
at oracle.j2ee.ws.tools.WsAssembler.assemble(WsAssembler.java:92)
at oracle.j2ee.ws.tools.WsAssembler.main(WsAssembler.java:66)
The directory listet at the end of the message "C:\ORA_D\u0094" does not exist! Where is it registred?
I would be happy if somebody could help me!This helped! Thank you very much!
Greetings Chris -
Error when testing java -jar whitelist.jar -help
I found an error when executing this commande
C:\oracle-javacloud-sdk\lib>java -jar whitelist.jar -help
Exception in thread "main" java.lang.UnsupportedClassVersionError: oracle/cloud/
scanning/cli/ScannerMain (Unsupported major.minor version 50.0)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
what can be the origine of this error
ThanksTry using JDK 1.7 - (version 51.0) as I have no problem running with 1.7.0_21
/michael -
Error while generating JAR using adadmin
Hi all,
EBS Version: R12.1.1
I am in the middle of migrating the EBS from windows 2003-32bit to Linux 5-64Bit.
I am getting the below error while generating the JAR files using adadmin.
Error generated in adadmin
Signing product JAR files in JAVA_TOP -
/u01/appltest/TEST/apps/apps_st/comn/java/classes
using entity TEST_vm1213l and certificate 1.
Successfully created javaVersionFile.
Generating product JAR files in JAVA_TOP -
/u01/appltest/TEST/apps/apps_st/comn/java/classes with command:
adjava -mx512m -nojit oracle.apps.ad.jri.adjmx @/u01/appltest/TEST/apps/apps_st/appl/admin/TEST/out/genjars.cmd
Failed to generate product JAR files in JAVA_TOP -
/u01/appltest/TEST/apps/apps_st/comn/java/classes.
adogjf() Unable to generate jar files under JAVA_TOP
Backing up restart files, if any......Done.
You should check the file
/u01/appltest/TEST/apps/apps_st/appl/admin/TEST/log/gen_jar.log
for errors.
Entries from gen_jar.log
Reading language information from applUS.txt ...
Temporarily resetting CLASSPATH to:
"/u01/appltest/TEST/apps/apps_st/appl/ad/12.0.0/java/adjava.zip:/u01/appltest/TEST/apps/tech_st/10.1.3/appsutil/jdk/lib/dt.jar:/u01/appltest/TEST/apps/tech_st/10.1.3/appsutil/jdk/lib/tools.jar:/u01/appltest/TEST/apps/tech_st/10.1.3/appsutil/jdk/jre/lib/rt.jar:/u01/appltest/TEST/apps/apps_st/comn/java/lib/appsborg.zip:/u01/appltest/TEST/apps/tech_st/10.1.2/forms/java:/u01/appltest/TEST/apps/tech_st/10.1.2/forms/java/frmall.jar:/u01/appltest/TEST/apps/tech_st/10.1.2/jlib/ewt3.jar:/u01/appltest/TEST/apps/tech_st/10.1.2/j2ee/OC4J_BI_Forms/applications/formsapp/formsweb/WEB-INF/lib/frmsrv.jar:/u01/appltest/TEST/apps/apps_st/comn/java/classes"
Calling /u01/appltest/TEST/apps/tech_st/10.1.3/appsutil/jdk/jre/bin/java ...
The JDK version is 1.6.0_10
Validating the files/directories specified for -areas option
ERROR: File/directory 61A9A14779A1A8 does not exist
ERROR: File/directory -keyPass does not exist
ERROR: File/directory AA65D2F9B26DDBABEF33 does not exist
ERROR: File/directory -storePass does not exist
ERROR: File/directory -keysEncrypted does not exist
Validating the files/directories specified for -outputSpec option
Validating the directory specified for -lstDir option
Error(s) have occurred; exiting with status 1
Failed to generate product JAR files in JAVA_TOP -
/u01/appltest/TEST/apps/apps_st/comn/java/classes.
Kindly provide some inputs to troubleshoot further.
If you need further details, kindly let me know.
Regards,
Krish.Hi all,
I have applied the consolidated JRI fixes - patch 17191279 .
Then, when generating Jar, received keypass is tampered error.
re-generated the key using $ adjkey -initialize.
Now, its working fine.
Regards,
Krish. -
Error when starting Java(TM) ME Platform SDK 3.0
hey guys, I get this error when starting Java(TM) ME Platform SDK 3.0. When I installed it it installed 'successfully' and then I double clicked the file on the desktop (I'm using Windows Vista 32bit Home premium) and it gave me the following error when saying 'Starting Modules':-------------------------------------------------------------------------------
Log Session: Sunday, February 13, 2011 1:52:25 PM GMT
System Info: Product Version = Java(TM) ME Platform SDK 3.0
Operating System = Windows Vista version 6.0 running on x86
Java; VM; Vendor = 1.6.0_23; Java HotSpot(TM) Client VM 19.0-b09; Sun Microsystems Inc.
Runtime = Java(TM) SE Runtime Environment 1.6.0_23-b05
Java Home = C:\Program Files\Java\jdk1.6.0_23\jre
System Locale; Encoding = en_GB (cdctoolbar); Cp1252
Home Directory = C:\Users\Molten Ice
Current Directory = C:\Program Files\Java\Java_ME_platform_SDK_3.0\bin
User Directory = C:\Users\Molten Ice\javame-sdk\toolbar\3.0
Installation = C:\Program Files\Java\Java_ME_platform_SDK_3.0\toolbar\javamesdk1
C:\Program Files\Java\Java_ME_platform_SDK_3.0\toolbar\ide10
C:\Program Files\Java\Java_ME_platform_SDK_3.0\toolbar\java2
C:\Program Files\Java\Java_ME_platform_SDK_3.0\toolbar\mobility8
C:\Program Files\Java\Java_ME_platform_SDK_3.0\toolbar\profiler2
C:\Program Files\Java\Java_ME_platform_SDK_3.0\toolbar\platform9
Boot & Ext. Classpath = C:\Program Files\Java\jdk1.6.0_23\jre\lib\resources.jar;C:\Program Files\Java\jdk1.6.0_23\jre\lib\rt.jar;C:\Program Files\Java\jdk1.6.0_23\jre\lib\sunrsasign.jar;C:\Program Files\Java\jdk1.6.0_23\jre\lib\jsse.jar;C:\Program Files\Java\jdk1.6.0_23\jre\lib\jce.jar;C:\Program Files\Java\jdk1.6.0_23\jre\lib\charsets.jar;C:\Program Files\Java\jdk1.6.0_23\jre\lib\modules\jdk.boot.jar;C:\Program Files\Java\jdk1.6.0_23\jre\classes;C:\Program Files\Java\jdk1.6.0_23\jre\lib\ext\dnsns.jar;C:\Program Files\Java\jdk1.6.0_23\jre\lib\ext\localedata.jar;C:\Program Files\Java\jdk1.6.0_23\jre\lib\ext\sunjce_provider.jar;C:\Program Files\Java\jdk1.6.0_23\jre\lib\ext\sunmscapi.jar;C:\Program Files\Java\jdk1.6.0_23\jre\lib\ext\sunpkcs11.jar
Application Classpath = C:\Program Files\Java\Java_ME_platform_SDK_3.0\toolbar\platform9\lib\boot.jar;C:\Program Files\Java\Java_ME_platform_SDK_3.0\toolbar\platform9\lib\org-openide-modules.jar;C:\Program Files\Java\Java_ME_platform_SDK_3.0\toolbar\platform9\lib\org-openide-util.jar;C:\Program Files\Java\jdk1.6.0_23\lib\dt.jar;C:\Program Files\Java\jdk1.6.0_23\lib\tools.jar
Startup Classpath = C:\Program Files\Java\Java_ME_platform_SDK_3.0\toolbar\platform9\core\core.jar;C:\Program Files\Java\Java_ME_platform_SDK_3.0\toolbar\platform9\core\org-openide-filesystems.jar;C:\Program Files\Java\Java_ME_platform_SDK_3.0\toolbar\javamesdk1\core\locale\core_cdctoolbar.jar
WARNING [org.netbeans.core.projects.cache]: Inefficient to include an empty layer in a module: jar:file:/C:/Program%20Files/Java/Java_ME_platform_SDK_3.0/toolbar/javamesdk1/modules/org-netbeans-modules-javame-common.jar!/org/netbeans/modules/javame/common/resources/layer.xml
WARNING [org.netbeans.core.projects.cache]: Inefficient to include an empty layer in a module: jar:file:/C:/Program%20Files/Java/Java_ME_platform_SDK_3.0/toolbar/javamesdk1/modules/org-netbeans-modules-e2e.jar!/org/netbeans/modules/e2e/layer.xml
WARNING [org.openide.filesystems.Ordering]: Not all children in Services/MIMEResolver/ marked with the position attribute: [org-netbeans-modules-javame-netmon-data-NetMonDataResolver.xml], but some are: [org-netbeans-modules-java-mime-resolver.xml, org-apache-tools-ant-module-mime-resolver.xml, org-netbeans-modules-editor-settings-storage-mime-resolver.xml, org-netbeans-modules-url-mime-resolver.xml, org-netbeans-modules-pdf-mime-resolver.xml, org-netbeans-modules-jar-mime-resolver.xml, org-netbeans-modules-editor-codetemplates-mime-resolver.xml]
WARNING [org.openide.filesystems.Ordering]: Not all children in Services/MIMEResolver/ marked with the position attribute: [org-netbeans-modules-javame-netmon-data-NetMonDataResolver.xml], but some are: [org-netbeans-modules-java-mime-resolver.xml, org-apache-tools-ant-module-mime-resolver.xml, org-netbeans-modules-editor-settings-storage-mime-resolver.xml, org-netbeans-modules-url-mime-resolver.xml, org-netbeans-modules-pdf-mime-resolver.xml, org-netbeans-modules-jar-mime-resolver.xml, org-netbeans-modules-editor-codetemplates-mime-resolver.xml]
[ 0] INFO - ootstrap.PropertyEditorManager - Registering custom property editors
[ 117] INFO - bootstrap.ObjectGraphProcessor - Consolidating dependencies...
[ 217] INFO - bootstrap.ObjectGraphProcessor - Consolidated dependencies...
[ 317] INFO - bootstrap.ObjectGraphProcessor - Calculating order...
[ 417] INFO - bootstrap.ObjectGraphProcessor - Calculated order
[ 523] INFO - un.jme.toolkit.bootstrap.Batch - Initializing objects...
[ 627] INFO - un.jme.toolkit.bootstrap.Batch - Applying I18N
[ 732] INFO - un.jme.toolkit.bootstrap.Batch - Initialized objects
[ 832] INFO - un.jme.toolkit.bootstrap.Batch - Calling create() methods...
[ 932] INFO - un.jme.toolkit.bootstrap.Batch - Calling start() methods...
[ 1032] INFO - mpl.ObjectServerConnectionImpl - Connecting to service:jmx:rmi:///jndi/rmi://127.0.0.1:1999/device-manager
[ 2166] WARN - mpl.ObjectServerConnectionImpl - Remote object server is not running at service:jmx:rmi:///jndi/rmi://127.0.0.1:1999/device-manager
[ 2268] INFO - l.process.GenericProcessRunner - Starting process: C:\Program Files\Java\Java_ME_platform_SDK_3.0/bin/device-manager.exe
[ 3384] INFO - mpl.ObjectServerConnectionImpl - Connecting to service:jmx:rmi:///jndi/rmi://127.0.0.1:1999/device-manager
[ 5476] INFO - mpl.ObjectServerConnectionImpl - Connecting to service:jmx:rmi:///jndi/rmi://127.0.0.1:1999/device-manager
[ 7576] INFO - mpl.ObjectServerConnectionImpl - Connecting to service:jmx:rmi:///jndi/rmi://127.0.0.1:1999/device-manager
[ 9677] INFO - mpl.ObjectServerConnectionImpl - Connecting to service:jmx:rmi:///jndi/rmi://127.0.0.1:1999/device-manager
[ 11777] INFO - mpl.ObjectServerConnectionImpl - Connecting to service:jmx:rmi:///jndi/rmi://127.0.0.1:1999/device-manager
[ 13877] INFO - mpl.ObjectServerConnectionImpl - Connecting to service:jmx:rmi:///jndi/rmi://127.0.0.1:1999/device-manager
[ 15977] INFO - mpl.ObjectServerConnectionImpl - Connecting to service:jmx:rmi:///jndi/rmi://127.0.0.1:1999/device-manager
[ 18077] INFO - mpl.ObjectServerConnectionImpl - Connecting to service:jmx:rmi:///jndi/rmi://127.0.0.1:1999/device-manager
[ 20177] INFO - mpl.ObjectServerConnectionImpl - Connecting to service:jmx:rmi:///jndi/rmi://127.0.0.1:1999/device-manager
[ 22277] INFO - mpl.ObjectServerConnectionImpl - Connecting to service:jmx:rmi:///jndi/rmi://127.0.0.1:1999/device-manager
[ 23379] ERROR - un.jme.toolkit.bootstrap.Batch - Problem calling start() on DeviceManagerConnection
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.sun.jme.toolkit.bootstrap.Batch.invoke(Unknown Source)
at com.sun.jme.toolkit.bootstrap.Batch.tryInvoke(Unknown Source)
at com.sun.jme.toolkit.bootstrap.Batch.startObjects(Unknown Source)
at org.netbeans.modules.javame.common.container.Module.start(Module.java:21)
at org.netbeans.modules.javame.common.container.ContainerSupport.startModule(ContainerSupport.java:67)
at org.netbeans.modules.javame.common.container.devicemanager.DevicemanagerHelper.getDeviceManagerConnection(DevicemanagerHelper.java:41)
at org.netbeans.modules.javame.common.container.devicemanager.DevicemanagerHelper.ensureConnected(DevicemanagerHelper.java:48)
at org.netbeans.modules.javame.common.container.devicemanager.DevicemanagerHelper.getDeviceManager(DevicemanagerHelper.java:84)
at org.netbeans.modules.javame.platform.jme_sdk.autoinstaller.AutoInstaller.ensureDMStarted(AutoInstaller.java:292)
at org.netbeans.modules.javame.platform.jme_sdk.autoinstaller.AutoInstaller.restored(AutoInstaller.java:63)
at org.netbeans.core.startup.NbInstaller.loadCode(NbInstaller.java:421)
at org.netbeans.core.startup.NbInstaller.load(NbInstaller.java:342)
at org.netbeans.ModuleManager.enable(ModuleManager.java:906)
at org.netbeans.core.startup.ModuleList.installNew(ModuleList.java:428)
at org.netbeans.core.startup.ModuleList.trigger(ModuleList.java:364)
at org.netbeans.core.startup.ModuleSystem.restore(ModuleSystem.java:276)
at org.netbeans.core.startup.Main.getModuleSystem(Main.java:165)
at org.netbeans.core.startup.Main.start(Main.java:312)
at org.netbeans.core.startup.TopThreadGroup.run(TopThreadGroup.java:110)
at java.lang.Thread.run(Thread.java:662)
Caused by: java.io.IOException: Failed to retrieve RMIServer stub: javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to host: 127.0.0.1; nested exception is:
java.net.ConnectException: Connection refused: connect]
at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:338)
at javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:248)
at com.sun.jme.toolkit.remoting.client.rmiimpl.ObjectServerConnectionImpl.connect(Unknown Source)
at com.sun.jme.toolkit.remoting.client.rmiimpl.ObjectServerConnectionImpl.start(Unknown Source)
... 24 more
Caused by: javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to host: 127.0.0.1; nested exception is:
java.net.ConnectException: Connection refused: connect]
at com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:101)
at com.sun.jndi.toolkit.url.GenericURLContext.lookup(GenericURLContext.java:185)
at javax.naming.InitialContext.lookup(InitialContext.java:392)
at javax.management.remote.rmi.RMIConnector.findRMIServerJNDI(RMIConnector.java:1886)
at javax.management.remote.rmi.RMIConnector.findRMIServer(RMIConnector.java:1856)
at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:257)
... 27 more
Caused by: java.rmi.ConnectException: Connection refused to host: 127.0.0.1; nested exception is:
java.net.ConnectException: Connection refused: connect
at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:601)
at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:198)
at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:184)
at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:322)
at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
at com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:97)
... 32 more
Caused by: java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
at java.net.Socket.connect(Socket.java:529)
at java.net.Socket.connect(Socket.java:478)
at java.net.Socket.<init>(Socket.java:375)
at java.net.Socket.<init>(Socket.java:189)
at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:22)
at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:128)
at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:595)
... 37 more
SEVERE [org.netbeans.modules.javame.common.container.devicemanager.DevicemanagerHelper]: Cannot connect to device manager
java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
at java.net.Socket.connect(Socket.java:529)
at java.net.Socket.connect(Socket.java:478)
at java.net.Socket.<init>(Socket.java:375)
at java.net.Socket.<init>(Socket.java:189)
at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:22)
at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:128)
at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:595)
Caused: java.rmi.ConnectException: Connection refused to host: 127.0.0.1; nested exception is:
java.net.ConnectException: Connection refused: connect
at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:601)
at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:198)
at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:184)
at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:322)
at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
at com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:97)
Caused: javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to host: 127.0.0.1; nested exception is:
java.net.ConnectException: Connection refused: connect]
at com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:101)
at com.sun.jndi.toolkit.url.GenericURLContext.lookup(GenericURLContext.java:185)
at javax.naming.InitialContext.lookup(InitialContext.java:392)
at javax.management.remote.rmi.RMIConnector.findRMIServerJNDI(RMIConnector.java:1886)
at javax.management.remote.rmi.RMIConnector.findRMIServer(RMIConnector.java:1856)
at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:257)
Caused: java.io.IOException: Failed to retrieve RMIServer stub
at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:338)
at javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:248)
at com.sun.jme.toolkit.remoting.client.rmiimpl.ObjectServerConnectionImpl.connect(Unknown Source)
at com.sun.jme.toolkit.remoting.client.rmiimpl.ObjectServerConnectionImpl.start(Unknown Source)
Caused: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.sun.jme.toolkit.bootstrap.Batch.invoke(Unknown Source)
at com.sun.jme.toolkit.bootstrap.Batch.tryInvoke(Unknown Source)
at com.sun.jme.toolkit.bootstrap.Batch.startObjects(Unknown Source)
at org.netbeans.modules.javame.common.container.Module.start(Module.java:21)
at org.netbeans.modules.javame.common.container.ContainerSupport.startModule(ContainerSupport.java:67)
at org.netbeans.modules.javame.common.container.devicemanager.DevicemanagerHelper.getDeviceManagerConnection(DevicemanagerHelper.java:41)
at org.netbeans.modules.javame.common.container.devicemanager.DevicemanagerHelper.ensureConnected(DevicemanagerHelper.java:48)
[catch] at org.netbeans.modules.javame.common.container.devicemanager.DevicemanagerHelper.getDeviceManager(DevicemanagerHelper.java:84)
at org.netbeans.modules.javame.platform.jme_sdk.autoinstaller.AutoInstaller.ensureDMStarted(AutoInstaller.java:292)
at org.netbeans.modules.javame.platform.jme_sdk.autoinstaller.AutoInstaller.restored(AutoInstaller.java:63)
at org.netbeans.core.startup.NbInstaller.loadCode(NbInstaller.java:421)
at org.netbeans.core.startup.NbInstaller.load(NbInstaller.java:342)
at org.netbeans.ModuleManager.enable(ModuleManager.java:906)
at org.netbeans.core.startup.ModuleList.installNew(ModuleList.java:428)
at org.netbeans.core.startup.ModuleList.trigger(ModuleList.java:364)
at org.netbeans.core.startup.ModuleSystem.restore(ModuleSystem.java:276)
at org.netbeans.core.startup.Main.getModuleSystem(Main.java:165)
at org.netbeans.core.startup.Main.start(Main.java:312)
at org.netbeans.core.startup.TopThreadGroup.run(TopThreadGroup.java:110)
at java.lang.Thread.run(Thread.java:662)
[ 23598] INFO - bootstrap.ObjectGraphProcessor - Consolidating dependencies...
[ 23698] INFO - bootstrap.ObjectGraphProcessor - Consolidated dependencies...
[ 23798] INFO - bootstrap.ObjectGraphProcessor - Calculating order...
[ 23898] INFO - bootstrap.ObjectGraphProcessor - Calculated order
[ 23998] INFO - un.jme.toolkit.bootstrap.Batch - Initializing objects...
[ 24098] INFO - un.jme.toolkit.bootstrap.Batch - Applying I18N
[ 24198] INFO - un.jme.toolkit.bootstrap.Batch - Initialized objects
[ 24298] INFO - un.jme.toolkit.bootstrap.Batch - Calling create() methods...
[ 24398] INFO - un.jme.toolkit.bootstrap.Batch - Calling start() methods...
[ 24498] INFO - un.jme.toolkit.bootstrap.Batch - Objects started
[ 24600] INFO - bootstrap.ObjectGraphProcessor - Consolidating dependencies...
[ 24700] INFO - bootstrap.ObjectGraphProcessor - Consolidated dependencies...
[ 24800] INFO - bootstrap.ObjectGraphProcessor - Calculating order...
[ 24900] INFO - bootstrap.ObjectGraphProcessor - Calculated order
[ 25000] INFO - un.jme.toolkit.bootstrap.Batch - Initializing objects...
[ 25100] INFO - un.jme.toolkit.bootstrap.Batch - Applying I18N
[ 25202] INFO - un.jme.toolkit.bootstrap.Batch - Initialized objects
[ 25302] INFO - un.jme.toolkit.bootstrap.Batch - Calling create() methods...
[ 25402] INFO - un.jme.toolkit.bootstrap.Batch - Calling start() methods...
[ 25502] INFO - un.jme.toolkit.bootstrap.Batch - Objects started
[ 25602] INFO - mpl.ObjectServerConnectionImpl - Connecting to service:jmx:rmi:///jndi/rmi://127.0.0.1:1999/device-manager
[ 26699] WARN - mpl.ObjectServerConnectionImpl - Remote object server is not running at service:jmx:rmi:///jndi/rmi://127.0.0.1:1999/device-manager
[ 26799] INFO - l.process.GenericProcessRunner - Starting process: C:\Program Files\Java\Java_ME_platform_SDK_3.0/bin/device-manager.exe
[ 27914] INFO - mpl.ObjectServerConnectionImpl - Connecting to service:jmx:rmi:///jndi/rmi://127.0.0.1:1999/device-manager
[ 30005] INFO - mpl.ObjectServerConnectionImpl - Connecting to service:jmx:rmi:///jndi/rmi://127.0.0.1:1999/device-manager
[ 32106] INFO - mpl.ObjectServerConnectionImpl - Connecting to service:jmx:rmi:///jndi/rmi://127.0.0.1:1999/device-manager
[ 34206] INFO - mpl.ObjectServerConnectionImpl - Connecting to service:jmx:rmi:///jndi/rmi://127.0.0.1:1999/device-manager
[ 36306] INFO - mpl.ObjectServerConnectionImpl - Connecting to service:jmx:rmi:///jndi/rmi://127.0.0.1:1999/device-manager
[ 38406] INFO - mpl.ObjectServerConnectionImpl - Connecting to service:jmx:rmi:///jndi/rmi://127.0.0.1:1999/device-manager
[ 40506] INFO - mpl.ObjectServerConnectionImpl - Connecting to service:jmx:rmi:///jndi/rmi://127.0.0.1:1999/device-manager
[ 42607] INFO - mpl.ObjectServerConnectionImpl - Connecting to service:jmx:rmi:///jndi/rmi://127.0.0.1:1999/device-manager
[ 44706] INFO - mpl.ObjectServerConnectionImpl - Connecting to service:jmx:rmi:///jndi/rmi://127.0.0.1:1999/device-manager
[ 46806] INFO - mpl.ObjectServerConnectionImpl - Connecting to service:jmx:rmi:///jndi/rmi://127.0.0.1:1999/device-manager
SEVERE [org.netbeans.modules.javame.common.container.devicemanager.DevicemanagerHelper]: Cannot connect to device manager
java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
at java.net.Socket.connect(Socket.java:529)
at java.net.Socket.connect(Socket.java:478)
at java.net.Socket.<init>(Socket.java:375)
at java.net.Socket.<init>(Socket.java:189)
at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:22)
at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:128)
at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:595)
Caused: java.rmi.ConnectException: Connection refused to host: 127.0.0.1; nested exception is:
java.net.ConnectException: Connection refused: connect
at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:601)
at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:198)
at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:184)
at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:322)
at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
at com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:97)
Caused: javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to host: 127.0.0.1; nested exception is:
java.net.ConnectException: Connection refused: connect]
at com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:101)
at com.sun.jndi.toolkit.url.GenericURLContext.lookup(GenericURLContext.java:185)
at javax.naming.InitialContext.lookup(InitialContext.java:392)
at javax.management.remote.rmi.RMIConnector.findRMIServerJNDI(RMIConnector.java:1886)
at javax.management.remote.rmi.RMIConnector.findRMIServer(RMIConnector.java:1856)
at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:257)
Caused: java.io.IOException: Failed to retrieve RMIServer stub
at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:338)
at javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:248)
at com.sun.jme.toolkit.remoting.client.rmiimpl.ObjectServerConnectionImpl.connect(Unknown Source)
at com.sun.jme.toolkit.remoting.client.rmiimpl.ObjectServerConnectionImpl.start(Unknown Source)
at com.sun.jme.toolkit.remoting.client.rmiimpl.ObjectServerConnectionImpl.lookupMBean(Unknown Source)
at com.sun.jme.toolkit.remoting.client.rmiimpl.ObjectServerConnectionImpl.findObject(Unknown Source)
[catch] at org.netbeans.modules.javame.common.container.devicemanager.DevicemanagerHelper.openConnection(DevicemanagerHelper.java:53)
at org.netbeans.modules.javame.common.container.devicemanager.DevicemanagerHelper.getDeviceManager(DevicemanagerHelper.java:86)
at org.netbeans.modules.javame.platform.jme_sdk.autoinstaller.AutoInstaller.ensureDMStarted(AutoInstaller.java:292)
at org.netbeans.modules.javame.platform.jme_sdk.autoinstaller.AutoInstaller.restored(AutoInstaller.java:63)
at org.netbeans.core.startup.NbInstaller.loadCode(NbInstaller.java:421)
at org.netbeans.core.startup.NbInstaller.load(NbInstaller.java:342)
at org.netbeans.ModuleManager.enable(ModuleManager.java:906)
at org.netbeans.core.startup.ModuleList.installNew(ModuleList.java:428)
at org.netbeans.core.startup.ModuleList.trigger(ModuleList.java:364)
at org.netbeans.core.startup.ModuleSystem.restore(ModuleSystem.java:276)
at org.netbeans.core.startup.Main.getModuleSystem(Main.java:165)
at org.netbeans.core.startup.Main.start(Main.java:312)
at org.netbeans.core.startup.TopThreadGroup.run(TopThreadGroup.java:110)
at java.lang.Thread.run(Thread.java:662)
[ 48018] INFO - bootstrap.ObjectGraphProcessor - Consolidating dependencies...
[ 48118] INFO - bootstrap.ObjectGraphProcessor - Consolidated dependencies...
[ 48218] INFO - bootstrap.ObjectGraphProcessor - Calculating order...
[ 48318] INFO - bootstrap.ObjectGraphProcessor - Calculated order
[ 48418] INFO - un.jme.toolkit.bootstrap.Batch - Initializing objects...
[ 48518] INFO - un.jme.toolkit.bootstrap.Batch - Applying I18N
[ 48618] INFO - un.jme.toolkit.bootstrap.Batch - Initialized objects
[ 48718] INFO - un.jme.toolkit.bootstrap.Batch - Calling create() methods...
[ 48818] INFO - un.jme.toolkit.bootstrap.Batch - Calling start() methods...
[ 48918] INFO - un.jme.toolkit.bootstrap.Batch - Objects started
[ 49018] INFO - bootstrap.ObjectGraphPI did install Nokia's SDK with NetBeans and this works perfectly.
I went through with everything recommended here: http://blogs.sun.com/javamesdk/entry/first_aid_when_emulator_doesn
But nothing worked.
Any help appreciated!
Thanks.Note: This thread was originally posted in the [Sun Java Wireless Toolkit|http://forums.sun.com/forum.jspa?forumID=82] forum, but moved to this forum for closer topic alignment.
-
Hi All.,
Im facing some issue while opening any form..its stuck in below mention file while opening any form i tried all the ways still im not able to fix the issue.
Application:11.5.10.2
OS-----------HP-UX
DB-----------10.2.0.4.0
File Name:
oracle/forms/ui/FLWTextArea
Work Around
Relink the all the files
Regenerated the jar files
Regenerated the forms
f60gen help=y
Forms 6.0 (Form Compiler) Version 6.0.8.28.0 (Production)
Forms 6.0 (Form Compiler): Release - Production
(c) Copyright 1999 Oracle Corporation. All rights reserved.
PL/SQL Version 8.0.6.3.0 (Production)
Oracle Procedure Builder V6.0.8.21.0 Build #0 - Production
Oracle Virtual Graphics System Version 6.0.5.39.0 (Production)
Oracle Multimedia Version 6.0.8.25.0 (Production)
Oracle Tools Integration Version 6.0.8.17.0 (Production)
Oracle Tools Common Area Version 6.0.5.32.0
Oracle CORE Version 4.0.6.0.0 - Production
Metalink Doc id
java.lang.NoClassDefFoundError: oracle/forms/ui/FLWTextArea Error When Opening Any Form [ID 1219663.1]Thanks,
From the below doc id we are currently in patch set 19 but im not able see that in ad_bugs.,
Note: 232313.1 - Information on Previous Versions of Developer 6i Patchsets
https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=232313.1
Here is an example:
If you have Forms: 6.0.8.27.x --> You are on Developer 6i Patch 18
If you have Forms: 6.0.8.26.x --> You are on Developer 6i Patch 17
If you have Forms: 6.0.8.25.x --> You are on Developer 6i Patch 16
If you have Forms: 6.0.8.24.x --> You are on Developer 6i Patch 15
SQL> select bug_number from ad_bugs where bug_number='&BUG_NUMBER';
Enter value for bug_number: 9935935
old 1: select bug_number from ad_bugs where bug_number='&BUG_NUMBER'
new 1: select bug_number from ad_bugs where bug_number='9935935'
no rows selected
SQL> -
Error when starting weblogic server 10.3.6
hi am having below error when starting my weblogic server am in window xp
C:\mydomain\base_domain\bin>DIR
Volume in drive C is WinXP
Volume Serial Number is F086-F167
Directory of C:\mydomain\base_domain\bin
22/04/2011 11:10 PM <DIR> .
22/04/2011 11:10 PM <DIR> ..
22/04/2011 11:10 PM <DIR> nodemanager
22/04/2011 11:10 PM <DIR> server_migration
22/04/2011 11:10 PM <DIR> service_migration
29/11/2011 10:14 PM 14,273 setDomainEnv.cmd
29/11/2011 10:14 PM 16,221 setDomainEnv.sh
29/11/2011 10:14 PM 3,322 startManagedWebLogic.cmd
29/11/2011 10:14 PM 3,147 startManagedWebLogic.sh
29/11/2011 10:14 PM 5,914 startWebLogic.cmd
29/11/2011 10:14 PM 5,657 startWebLogic.sh
29/11/2011 10:14 PM 2,528 stopManagedWebLogic.cmd
29/11/2011 10:14 PM 2,391 stopManagedWebLogic.sh
29/11/2011 10:14 PM 2,103 stopWebLogic.cmd
29/11/2011 10:14 PM 2,081 stopWebLogic.sh
10 File(s) 57,637 bytes
5 Dir(s) 6,815,825,920 bytes free
C:\mydomain\base_domain\bin>START startWebLogic.cmd
C:\mydomain\base_domain\bin>
JAVA Memory arguments: -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=
128m -XX:MaxPermSize=512m
WLS Start Mode=Development
CLASSPATH=C:\Oracle\MIDDLE~1\ORACLE~1\modules\oracle.jdbc_11.1.1\ojdbc6dms.jar;C
:\PROGRA~1\Java\JDK16~1.0_2\lib\tools.jar;C:\wlserver\server\lib\weblogic_sp.jar
;C:\wlserver\server\lib\weblogic.jar;C:\modules\features\weblogic.server.modules
_10.3.4.0.jar;C:\wlserver\server\lib\webservices.jar;C:\modules\org.apache.ant_1
.7.1/lib/ant-all.jar;C:\modules\net.sf.antcontrib_1.1.0.0_1-0b2/lib/ant-contrib.
jar;C:\oracle\Middleware\wlserver_10.3\sip\server\lib\weblogic_sip.jar;C:\Oracle
\MIDDLE~1\ORACLE~1\modules\oracle.jrf_11.1.1\jrf.jar;C:\wlserver\common\derby\li
b\derbyclient.jar;C:\wlserver\server\lib\xqrl.jar
PATH=;C:\wlserver\server\native\win\32;C:\wlserver\server\bin;C:\modules\org.apa
che.ant_1.7.1\bin;C:\PROGRA~1\Java\JDK16~1.0_2\jre\bin;C:\PROGRA~1\Java\JDK16~1.
0_2\bin;C:\Program Files\PC Connectivity Solution\;C:\product\11.2.0\dbhome_1\bi
n;C:\product\11.2.0\dbhome_1;C:\forms;C:\DevSuiteHome_1\jlib;C:\Program Files\PH
P;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Commo
n Files\Roxio Shared\DLLShared;C:\Program Files\Common Files\Roxio Shared\DLLSha
red;C:\Program Files\Common Files\Roxio Shared\9.0\DLLShared;C:\Program Files\Co
mmon Files\DivX Shared;c:\Program Files\Java\jdk1.6.0_21\bin;C:\Program Files\Co
mmon Files\Roxio Shared\10.0\DLLShared;C:\Program Files\Common Files\Roxio Share
d\DLLShared;C:\Program Files\Common Files\Roxio Shared\10.0\DLLShared;C:\mywls;C
:\mydomain\base_domain\bin;C:\Program Files\Java\jre6\bin\client;C:\Program File
s\Java\jre6\bin;C:\Program Files\Java\jdk1.6.0_21\jre\bin;C:\Program Files\Java\
jdk1.6.0_21\bin;C:\Program Files\Java\jdk1.6.0_21;C:\Program Files\Java\jre6;C:\
DevSuiteHome_1\forms;C:\DevSuiteHome_1\cgenf61\admin;C:\DevSuiteHome_1\forms;C:\
forms\sms_code.pll;C:\mywls\wlserver;C:\Java\jdk1.6.0_21;C:\wlserver\server\nati
ve\win\32\oci920_8
* To start WebLogic Server, use a username and *
* password assigned to an admin-level user. For *
* server administration, use the WebLogic Server *
* console at http:\\hostname:port\console *
starting weblogic with Java version:
java version "1.6.0_21"
Java(TM) SE Runtime Environment (build 1.6.0_21-b07)
Java HotSpot(TM) Client VM (build 17.0-b17, mixed mode)
Starting WLS with line:
C:\PROGRA~1\Java\JDK16~1.0_2\bin\java -client -Xms256m -Xmx512m -XX:CompileThr
eshold=8000 -XX:PermSize=128m -XX:MaxPermSize=512m -Dweblogic.Name=AdminServer
-Djava.security.policy=C:\wlserver\server\lib\weblogic.policy -Xverify:none -ea
:com.bea.wcp... -da -Dplatform.home=C:\wlserver -Dwls.home=C:\wlserver\server
-Dweblogic.home=C:\wlserver\server -Dcommon.components.home=C:\Oracle\MIDDLE~1\
ORACLE~1 -Djrf.version=11.1.1 -Dorg.apache.commons.logging.Log=org.apache.common
s.logging.impl.Jdk14Logger -Ddomain.home=C:\mydomain\BASE_D~1 -Djrockit.optfile=
C:\Oracle\MIDDLE~1\ORACLE~1\modules\oracle.jrf_11.1.1\jrocket_optfile.txt -Dorac
le.server.config.dir=C:\mydomain\BASE_D~1\config\FMWCON~1\servers\AdminServer -D
oracle.domain.config.dir=C:\mydomain\BASE_D~1\config\FMWCON~1 -Digf.arisidbeans
.carmlloc=C:\mydomain\BASE_D~1\config\FMWCON~1\carml -Digf.arisidstack.home=C:\
mydomain\BASE_D~1\config\FMWCON~1\arisidprovider -Doracle.security.jps.config=C:
\mydomain\BASE_D~1\config\fmwconfig\jps-config.xml -Doracle.deployed.app.dir=C:\
mydomain\BASE_D~1\servers\AdminServer\tmp\_WL_user -Doracle.deployed.app.ext=\-
-Dweblogic.alternateTypesDirectory=C:\Oracle\MIDDLE~1\ORACLE~1\modules\oracle.os
soiap_11.1.1,C:\Oracle\MIDDLE~1\ORACLE~1\modules\oracle.oamprovider_11.1.1 -Djav
a.protocol.handler.pkgs=oracle.mds.net.protocol -Dweblogic.jdbc.remoteEnabled=f
alse -Dweblogic.management.discover=true -Dwlw.iterativeDev= -Dwlw.testConsole
= -Dwlw.logErrorsToConsole= weblogic.Server
Exception in thread "main" java.lang.NoClassDefFoundError: weblogic/Server
Caused by: java.lang.ClassNotFoundException: weblogic.Server
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
Could not find the main class: weblogic.Server. Program will exit.
my set is
C:\mydomain\base_domain\bin>SET
ALLUSERSPROFILE=C:\Documents and Settings\All Users
APPDATA=C:\Documents and Settings\Desmond\Application Data
CLIENTNAME=Console
CommonProgramFiles=C:\Program Files\Common Files
COMPUTERNAME=MADIMAD-B533821
ComSpec=C:\WINDOWS\system32\cmd.exe
FORMS90_PATH=C:\forms
FP_NO_HOST_CHECK=NO
HOMEDRIVE=C:
HOMEPATH=\Documents and Settings\Desmond
LOGONSERVER=\\MADIMAD-B533821
NUMBER_OF_PROCESSORS=2
ORACLE_HOME=C:\product\11.2.0\dbhome_1
OS=Windows_NT
Path=C:\Program Files\PC Connectivity Solution\;C:\product\11.2.0\dbhome_1\bin;C
:\product\11.2.0\dbhome_1;C:\forms;C:\DevSuiteHome_1\jlib;C:\Program Files\PHP;C
:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Common F
iles\Roxio Shared\DLLShared;C:\Program Files\Common Files\Roxio Shared\DLLShared
;C:\Program Files\Common Files\Roxio Shared\9.0\DLLShared;C:\Program Files\Commo
n Files\DivX Shared;c:\Program Files\Java\jdk1.6.0_21\bin;C:\Program Files\Commo
n Files\Roxio Shared\10.0\DLLShared;C:\Program Files\Common Files\Roxio Shared\D
LLShared;C:\Program Files\Common Files\Roxio Shared\10.0\DLLShared;C:\mywls;C:\m
ydomain\base_domain\bin;C:\Program Files\Java\jre6\bin\client;C:\Program Files\J
ava\jre6\bin;C:\Program Files\Java\jdk1.6.0_21\jre\bin;C:\Program Files\Java\jdk
1.6.0_21\bin;C:\Program Files\Java\jdk1.6.0_21;C:\Program Files\Java\jre6;C:\Dev
SuiteHome_1\forms;C:\DevSuiteHome_1\cgenf61\admin;C:\DevSuiteHome_1\forms;C:\for
ms\sms_code.pll;C:\mywls\wlserver;C:\Java\jdk1.6.0_21
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
PHPRC=C:\Program Files\PHP\
PROCESSOR_ARCHITECTURE=x86
PROCESSOR_IDENTIFIER=x86 Family 6 Model 23 Stepping 10, GenuineIntel
PROCESSOR_LEVEL=6
PROCESSOR_REVISION=170a
ProgramFiles=C:\Program Files
PROMPT=$P$G
SESSIONNAME=Console
SystemDrive=C:
SystemRoot=C:\WINDOWS
TEMP=C:\DOCUME~1\Desmond\LOCALS~1\Temp
TMP=C:\DOCUME~1\Desmond\LOCALS~1\Temp
USERDOMAIN=MADIMAD-B533821
USERNAME=Desmond
USERPROFILE=C:\Documents and Settings\Desmond
windir=C:\WINDOWS
aa__COMPAT_LAYER=EnableNXShowUITshifhiwa,
Back again? Nothing learned?
No jdev version?
You should n^know by now that you have to give at least some basic information.
A description of what you tried to do outside the listing would help too.
Timo -
Error when starting JRA recording
Hello! I get an error when I try to use the JRARecordingStarter.
I'm running JBoss with a JRockit and set the -Xmanagement option. The management port is set to 7091.
Then I try
java -jar JraRecordingStarter.jar localhost 7091 d:/sednajra.xml 120
and it gives me the following error after a while:
Failed to start recording...
com.jrockit.common.rmp.JRockitNotAnRmpServerException: Handshaking with JRockit failed due to timeout waiting on server reply.
(Encapsulated exception: Connection lost to JRockit. Reason: RMP reply timed out for packet 'HELO'.)
at com.jrockit.console.connection.RmpConnection.handshake(RmpConnection.java:175)
at com.jrockit.console.connection.RmpConnection.<init>(RmpConnection.java:149)
at com.jrockit.jra.starter.JraConnectorModel.connect(JraConnectorModel.java:168)
at com.jrockit.jra.starter.JraRecordingStarter.main(JraRecordingStarter.java:63)
=== Encapsulated exception ===
com.jrockit.common.rmp.JRockitRmpPacketTimeOutException: Connection lost to JRockit. Reason: RMP reply timed out for packet 'HELO'.
at com.jrockit.console.connection.RmpConnection.getReplyPacket(RmpConnection.java:392)
at com.jrockit.console.connection.RmpConnection.sendRmpWithReply(RmpConnection.java:343)
at com.jrockit.console.connection.RmpConnection.handshake(RmpConnection.java:165)
at com.jrockit.console.connection.RmpConnection.<init>(RmpConnection.java:149)
at com.jrockit.jra.starter.JraConnectorModel.connect(JraConnectorModel.java:168)
at com.jrockit.jra.starter.JraRecordingStarter.main(JraRecordingStarter.java:63)
Do I make a mistake here?
Thanks!
stephanDon't bother... Version conflict. Updated jrockit and it works now.
-
[SOLVED]Java error running a .jar file
Hi. I'm running Arch 64 and I keep getting this error when trying to run
java -jar TwinkEdit-0.6.9.jar (from twinkle.sourceforge.net -- a flashcard program for palm. This .jar is the desktop editor for the flashcards. It's worked before on Linux ... but that was almost 2 years ago.)
Exception in thread "AWT-EventQueue-0" java.util.NoSuchElementException
at java.util.Vector.firstElement(Vector.java:442)
at org.ekimd.twinkedit.TwinkUI.getJapFont(TwinkUI.java:979)
at org.ekimd.twinkedit.TwinkUI$DynamicView.<init>(TwinkUI.java:589)
at org.ekimd.twinkedit.TwinkUI.getDynamicView(TwinkUI.java:815)
at org.ekimd.twinkedit.TwinkUI.access$1300(TwinkUI.java:88)
at org.ekimd.twinkedit.TwinkUI$NewAction.actionPerformed(TwinkUI.java:1101)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
at java.awt.Component.processMouseEvent(Component.java:6041)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3265)
at java.awt.Component.processEvent(Component.java:5806)
at java.awt.Container.processEvent(Container.java:2058)
at java.awt.Component.dispatchEventImpl(Component.java:4413)
at java.awt.Container.dispatchEventImpl(Container.java:2116)
at java.awt.Component.dispatchEvent(Component.java:4243)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3986)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916)
at java.awt.Container.dispatchEventImpl(Container.java:2102)
at java.awt.Window.dispatchEventImpl(Window.java:2440)
at java.awt.Component.dispatchEvent(Component.java:4243)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
It happens in both 32 bit (arch32 chroot) and 64 bit jre's exactly the same.
java -version gives:
java version "1.6.0_07"
Java(TM) SE Runtime Environment (build 1.6.0_07-b06)
Java HotSpot(TM) 64-Bit Server VM (build 10.0-b23, mixed mode)
(It also doesn't work on Windows, either .... I think it must be a Java version compatibility problem ??)
Any ideas?
Thanks,
Scott
Last edited by firecat53 (2008-09-27 14:07:04)I gave it a try and got the same error. Then I started looking at the code:
When you create a new file, the program starts looking for a font which supports japanes (don't ask me why). If it doesn't find any it throws the error you posted above. I was able to create a new file after I installed ttf-bitstream-cyberbit from AUR (first font supporting japanese I could find).
You should contact the author and submit a bug report. Even if the program really needs japanese fonts, which I doubt, failing like this is just bad.
Last edited by Garns (2008-09-27 13:26:05)
Maybe you are looking for
-
I've run into an issue where saving a new CrystalEnterprise.Program instance is throwing an ambiguous exception with no other information than a generic HRESULT code and the even less useful error message "File Repository Server error". I've debugged
-
Currency translations in a query
in my cube i have transactions in dollars. but in my report i want it in rupees. where can i do currency translations in reporting. please give me path how to do it. correct me if i am wrong. conversion routines are nothing but writing routines on c
-
Hello, Upon occasion my mini has been hanging up after a mouse click, I see the whirling color wheel and then I have to exit Safari and start over again. Using disc repair without the installation disc, it still hangs up. I have McAfee internet secur
-
Please enter valid value for characteristics
Hi, One of our user got this error when opening a query Please enter valid value for characteristics. How do I fix this since I couldn't see any errors in SU53 and authourization logs. thanks
-
Opening multi-page pdfs - just opens the first page
AI CS6: opening multi-page pdfs - choose page dialogue flashes for a milli-second & just opens the first page. Running Lion. Prior to CS6, it used to happen but then if I moved something on the page & reverted (f12), it would give me the dialogue box