Class format error: Invalid constant pool tag found
I am simply attempting to create an instance of an object and I get Class format error: Invalid constant pool tag found. Does anyone know what this means and how to fix it?
Thanks.
If you're compiling with J2SDK 1.4 or higher, you need to use "-target 1.1" on the javac command line.
Also make sure you're not using any float constants such as 1.0 in your code.
Similar Messages
-
Alert: Invalid constant pool entry
Hi, When I install midlet application in mobile phone I got this error "Alert: Invalid constant pool entry" and says "Application Error". When I create a object of a class at that time this error occurred. In that class I have used a constant which value is 1.5. After googling so many people are saying this because of floating point value. That May be the problem. Because when I change that 1.5 value to 1 then application get installed and run. But earlier also I used to create the object of that class. At that time mobile phone did not throw any error. But why this time throw error. I did not understand what could be the problem. Please any one help me.
gnat wrote:
hmm let's see if I understand you correctly.
Before, you were using jar "as-is", ie without compiling it, right? - so you basically don't know if the class in it was using floating point or not?
Now, you compile a piece of code that was supposedly used in that jar (but you don't know for sure if it was because you didn't build that jar) and you obtain the problem - correct?hmm let's see if I understand you correctly.
Before, you were using jar "as-is", ie without compiling it, right? - so you basically don't know if the class in it was using floating point or not?
Now, you compile a piece of code that was supposedly used in that jar (but you don't know for sure if it was because you didn't build that jar) and you obtain the problem - correct?
No. No. Both Jars are compiled and built by myself. I find out the problem. problem is costructing the object of that class (which have float value) from startApp(). I got my old Jar which was working earlier. There I costruct the object of that class. So now old jar also giving the "Invalid constant Pool entry" Error. Any that float value I am going to change. Still unclear is What the difference construct object inside startApp() block and ouside startApp() block. Anyway Thank you Guys. -
Palm OS: Invalid constant pool entry - What's that?
Hello,
I'm a newbie in developing application 4 my palm. (midp4palm 1.0 installed)
I started with a "hello world"... everything went fine on my tungsten t3 emulator. Label + TextField.
Then I wrote a little calculator... and now I get the following message: "Invalid constant pool entry".
I used switch(), some static final doubles and that's it.
Do you know what the problem could be... I didn't find a solution.
Thank you
mastix mcA quick google search yielded this - hope it helps.
http://archives.java.sun.com/cgi-bin/wa?A2=ind9911&L=kvm-interest&F=&S=&P=8868
Summary:
* "This is usually caused by a null reference not caught by the KVM, or sometimes an instanceof sometime before."
* "I was having exactly this problem on a Palm V.
I re-downloaded the KVM from Sun's site. I am using a Mac, and I noticed
this time, after running ZipIt to unzip the files, that the types of the
files have now been correctly set. I re-installed the files, and now
everything is working fine.
My guess is that something is corrupted in your KVMClassDB.pdb file. I've
done a couple of upgrades to my Mac software and the OS upgrade, so I'd
recommend doing every possible software upgrade, then download the KVM again
and re-install it." -
Reflection error (Illegal constant pool index)
Heya,
I use reflection to invoke Java classes and I get Error:
java.lang.ClassFormatError: AppendToElement (Illegal constant pool index)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:502)
at java.lang.ClassLoader.defineClass(ClassLoader.java:431)
at XCOClassLoader.loadClass(XCOClassLoader.java:74)
// AppendToElement is name of class I want to invoke
I have bunch of classes from someone else, which I need to invoke and I get this error for all of them. When I invoke classes written (and compiled) by me, everything is OK.
It seems that the problem is that, these external classes were compiled with different version of Java. As they were written by someone else and I don't have source code, I can't recompile them.
Is cause of that problem, different JVM versions ? Is there a way how to correct it on runtime ?
Thanks,
MichalThe problem isn't one of versions. The files have become corrupted somehow. I suggest you ask for another copy.
-
Extending Array class, get Error #1069: Property 0 not found with indexOf call
I'm using inheritance to extend the Array class to create a Paths class that moves Sprites/MovieClips around on the screen. I'm getting an odd error on a call to indexOf. Here's the error:
ReferenceError: Error #1069: Property 0 not found on Paths and there is no default value.
at Array$/_indexOf()
at Array/http://adobe.com/AS3/2006/builtin::indexOf()
at Paths/Next()[D:\Stephen\Documents\Flash\TossGame\TossGameFirstPerson\Paths.as:40]
Here's the relevant code in the Paths class:
public class Paths extends Array
private var cCurrentPath:Path;
public function Next():Path
var lArray:Array = this;
var lNextIndex:int = indexOf(cCurrentPath) + 1;
if (lNextIndex == length) lNextIndex = 0;
var lPath:Path = lArray[lNextIndex];
return lPath;
} // class
I get the error at the highlighted line. cCurrentPath is populated with a Path object which is the object located at position 0 of the this object (Paths). I've tried the following variants of the Next() function:
public function Next():Path
var lArray:Array = this;
var lNextIndex:int = lArray.indexOf(cCurrentPath) + 1;
if (lNextIndex == lArray.length) lNextIndex = 0;
var lPath:Path = lArray[lNextIndex];
return lPath;
public function Next():Path
var lArray:Array = this;
var lNextIndex:int = this.indexOf(cCurrentPath) + 1;
if (lNextIndex == this.length) lNextIndex = 0;
var lPath:Path = lArray[lNextIndex];
return lPath;
public function Next():Path
var lArray:Array = this;
var lNextIndex:int = super.indexOf(cCurrentPath) + 1;
if (lNextIndex == super.length) lNextIndex = 0;
var lPath:Path = lArray[lNextIndex];
return lPath;
Same error happens whichever I try. Anyone got any ideas?
Stephen
Flash Pro CS3 (Version 9.0)Mark your class dynamic.
public dynamic class Paths extends Array -
Formatting error : Style /SMB40/SF not found
Hi,
I have downloaded a smartform from systemA to another systemB. In systemA there is a style /SMB40/SF. But it is not present in systemB. So i created a smartstyle Z_SMB40_SF and replaced all the occurences of /SMB40/SF with Z_SMB40_SF in systemB. But when i execute it i am getting an error "Style /SMB40/SF not found". When i checked in the function module i have some piece of code with /SMB40/SF. But in the smartform the style doesnot exist. Could anyone please figure where the problem is and how to resolve the issue.
Thanks in advance.here is what we did to solved this problem with style /SMB40/SF. Here are the steps which I followed to resolve the error.
Step. 1: From SMARTFORMS transaction, Execute the form with Error you will get a FM name, Now display the form and Click on Find Button, Select mainprogram Radio button and search the style /SMB40/SF. Note down all the nodes where this style is used.
Step 2: Remove the style from the nodes and activate. If you still find the style in form then note down the nodes above and below the style.
Step 3: Download the form for Backup first. Now remove both the nodes which were noted in step 2. Activate the form and now add the two nodes again back to form which were removed earlier.
Step 4: Activate the form and the Issue is Resolved.
Rajkumar -
OC4J startup failed Annotated class format error on startup
I'm using OC4J standalone (the 93MB "Pure Java" download) on Fedora 7. JAVA_HOME and ORACLE_HOME are set. Running the startup command gives the following error:
OC4J startup failed with the following error:
oracle.classloader.util.AnnotatedClassFormatError, and the invalid class is given as 'oracle.j2ee.ws.client.BasicService'.
Any help is appreciated.What JDK did you use?
Certification Information will help you
Oracle Application Server 10g R3 10.1.3.1 Certification Information
http://www.oracle.com/technology/software/products/ias/files/oracle_soa_certification_101310.html
dgkim @ Databank Systems KR -
"Class Formatting Error" in a java applet? (Solved)
(This problem is completely my fault and it would be hard to provide enough information to request and answer. Disregard this message.)
I've been developing a java applet to go on my website, but when running it tosses a "java.lang.ClassFormatError: rendering/ImageObserverClass" to the console. When I looked into the code I thought of java compliance levels. (Earlier I had to set Eclipse to a higher compliance level to make it accept new ArrayList<Renderable>();)
Is this not my problem? In my html code I have the following:
<applet
code="main/GalacticConflict.class"
codebase="code/"
width="640" height="480">
</applet>In Eclipse the program compiles and runs fine, so it most likely is a deeper issue. Thanks for any help!
EDIT:
Heh, that was stupid of me.... Just decided to try removing the <Renderable> from there, but it still doesn't work. The line number the console refers to is commented code, making it even more strange. If you have insight, feel free to post it here, but I'm going to make sure my new code is even being passed to my server properly.
Edited by: Durnus on Dec 26, 2008 9:45 AM
EDIT2:
It appears to be an error with my copying process -- when I view the .html file with Firefox in the workspace folder, it works fine. Sorry for the trouble.
Edited by: Durnus on Dec 26, 2008 9:54 AMHi,
Refer the URL :http://help.sap.com/javadocs/pi/SP3/xpi/com/sap/aii/mapping/api/AbstractTransformation.html
regards,
ganga -
Illegal constant pool index ????
Hi
I wrote a hello world program using J2ME with a view to writing a game for a mobile phone. I'm a C++ programmer and have never looked a java befor so I have no idea what is going on under the sheets.
The hello world program is called Welcome (straight out of Sun's J2ME book). It seemed to compile ok and left me with a file called Welcome.class
Following the instructions in the book and working from the Command Line on WindowsXP I typed
d:\preverify ....etc
I got the following
Error preverifying class Welcome
Class loading error: Illegal constant pool index
I've double checked everything and can't find a problem - any ideas?
Cheers
SteveStupid - hadn't downloaded the runtime
-
Incorrect constant pool entry count
Hi ,
I found with this simple class , the class file has incorrect constant pool count,
public class Smpl
public final long j = 0;
class file dumped is :
0xCA 0xFE 0xBA 0xBE
0x00 0x00 0x00 0x32
0x00 {color:#ff0000}0x14 <- pool count is 0x14 -1 = 0x13 , but I can just read 0x12 !{color}
0x0A 0x00 0x04 0x00 0x10
0x09 0x00 0x03 0x00 0x11
0x07 0x00 0x12
0x07 0x00 0x13
0x01 0x00 0x01 0x6A
0x01 0x00 0x01 0x4A
0x01 0x00 0x0D 0x43 0x6F 0x6E 0x73 0x74 0x61 0x6E 0x74 0x56 0x61 0x6C 0x75 0x65
0x05 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
0x01 0x00 0x06 0x3C 0x69 0x6E 0x69 0x74 0x3E
0x01 0x00 0x03 0x28 0x29 0x56
0x01 0x00 0x04 0x43 0x6F 0x64 0x65
0x01 0x00 0x0F 0x4C 0x69 0x6E 0x65 0x4E 0x75 0x6D 0x62 0x65 0x72 0x54 0x61 0x62 0x6C 0x65
0x01 0x00 0x0A 0x53 0x6F 0x75 0x72 0x63 0x65 0x46 0x69 0x6C 0x65
0x01 0x00 0x09 0x73 0x6D 0x70 0x6C 0x2E 0x6A 0x61 0x76 0x61
0x0C 0x00 0x0A 0x00 0x0B
0x0C 0x00 0x05 0x00 0x06
0x01 0x00 0x04 0x53 0x6D 0x70 0x6C
0x01 0x00 0x10 0x6A 0x61 0x76 0x61 0x2F 0x6C 0x61 0x6E 0x67 0x2F 0x4F 0x62 0x6A 0x65 0x63 0x74
0x00 0x21 acc flag
0x00 0x03 this class
0x00 0x04 super class
0x00 0x00 interfaces count
0x00 0x01 fields count
0x00 0x11 acc flag
0x00 0x05 name idx
0x00 0x06 desc idx
0x00 0x01 attrs count
0x00 0x07 name idx
0x00 0x00 0x00 0x02 attr len
0x00 0x08 info
0x00 0x01 methods count
0x00 0x01 acc flag
0x00 0x0A name idx
0x00 0x0B desc idx
0x00 0x01 attrs count
0x00 0x0C name idx
0x00 0x00 0x00 0x26 attr len
0x00 0x03 max stack
0x00 0x01 max loacls
0x00 0x00 0x00 0x0A code len
0x2A 0xB7 0x00 0x01 0x2A 0x09 0xB5 0x00 0x02 0xB1 code
0x00 0x00 exception table len
0x00 0x01 attr count
0x00 0x0D name idx
0x00 0x00 0x00 0x0A attr len
0x00 0x02 0x00 0x00 0x00 0x01 0x00 0x04 0x00 0x03 info
0x00 0x01 attrs count
0x00 0x0E name idx
0x00 0x00 0x00 0x02 attr len
0x00 0x0F
Could anyone help me? thank you
I'm using jdk6sunnyyu wrote:
Hi ,
I found with this simple class , the class file has incorrect constant pool count,
public class Smpl
public final long j = 0;
0x0A 0x00 0x04 0x00 0x10
0x09 0x00 0x03 0x00 0x11
0x07 0x00 0x12
0x07 0x00 0x13
0x01 0x00 0x01 0x6A
0x01 0x00 0x01 0x4A
0x01 0x00 0x0D 0x43 0x6F 0x6E 0x73 0x74 0x61 0x6E 0x74 0x56 0x61 0x6C 0x75 0x65
0x05 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
0x01 0x00 0x06 0x3C 0x69 0x6E 0x69 0x74 0x3E
0x01 0x00 0x03 0x28 0x29 0x56
0x01 0x00 0x04 0x43 0x6F 0x64 0x65
0x01 0x00 0x0F 0x4C 0x69 0x6E 0x65 0x4E 0x75 0x6D 0x62 0x65 0x72 0x54 0x61 0x62 0x6C 0x65
0x01 0x00 0x0A 0x53 0x6F 0x75 0x72 0x63 0x65 0x46 0x69 0x6C 0x65
0x01 0x00 0x09 0x73 0x6D 0x70 0x6C 0x2E 0x6A 0x61 0x76 0x61
0x0C 0x00 0x0A 0x00 0x0B
0x0C 0x00 0x05 0x00 0x06
0x01 0x00 0x04 0x53 0x6D 0x70 0x6C
0x01 0x00 0x10 0x6A 0x61 0x76 0x61 0x2F 0x6C 0x61 0x6E 0x67 0x2F 0x4F 0x62 0x6A 0x65 0x63 0x74 I make that 0x13 entries (minus the unusable entry at 0x9)
0x000b 0x01: 0xa 0x4,0x10
0x0010 0x02: 0x9 0x3,0x11
0x0015 0x03: 0x7 0x12
0x0018 0x04: 0x7 0x13
0x001b 0x05: 0x1 "j"
0x001f 0x06: 0x1 "J"
0x0023 0x07: 0x1 "ConstantValue"
0x0033 0x08: 0x5 0x0000000000000000
0x003c 0x0a: 0x1 "<init>"
0x0045 0x0b: 0x1 "()V"
0x004b 0x0c: 0x1 "Code"
0x0052 0x0d: 0x1 "LineNumberTable"
0x0064 0x0e: 0x1 "SourceFile"
0x0071 0x0f: 0x1 "Smpl.java"
0x007d 0x10: 0xc 0xa,0xb
0x0082 0x11: 0xc 0x5,0x6
0x0087 0x12: 0x1 "Smpl"
0x008e 0x13: 0x1 "java.lang.Object"Remember that longs and doubles take two slots. -
Resolving constant-pool of clazz Luicc/access/fileadministration/AdminFileV
Hi,
can anyone help? I have this problem whenever I import the uicc.access.fileadministration into the Eclispe 3.1 (with JCOP plugin) and building my project.
The full error string is "resolving constant-pool of clazz Luicc/access/fileadministration/AdminFileView; failed: no such clazz Luicc/access/UICCException;"
It's weird because the uicc.access.UICCException is right there & it can be build successfully (without the fileadminstration package). But when I import the uicc.access.fileadministration package & build the project, the build errors appear.
Many Thanks!!!
EricHi,
Thanks for your reply.
I have tried to put the export file structure in the build path, but I am still getting the same error:
resolving constant-pool of clazz Luicc/access/fileadministration/AdminFileView; failed: no such clazz Luicc/access/UICCException;
Can you pls be specific on the steps to include the export file into the build path? I could be getting the steps wrong. Otherwise, do you have any suggestions?
Thanks again.
Eric -
Hi Everyone..
I am getting an Error 1046: Type was not found or was not a compile-time constant: Component Event.
The ComponentEvent class has been imported,and also the event handling code is there. I am not sure what else is wrong, hope somebody can advise me. Thanks. The code is below, the point where the error occurs as indicated by the compiler has been highlighted.
package
import flash.display.Sprite;
import flash.media.Camera;
import flash.media.Microphone;
import flash.media.Video;
import fl.controls.TextArea;
import fl.controls.Button;
import fl.controls.TextInput;
import flash.events.SyncEvent;
import flash.events.MouseEvent;
import flash.events.FocusEvent;
import flash.net.SharedObject;
import flash.net.NetConnection;
import flash.net.NetStream;
import flash.events.NetStatusEvent;
import flash.events.FocusEvent;
import flash.events.ComponentEvent;
public class VideoChat extends Sprite
private var button:Button;
private var text_so:SharedObject;
private var textArea:TextArea;
private var textInput:TextInput;
private var chatName:TextInput;
private var nc:NetConnection;
private var nsOut:NetStream;
private var nsIn:NetStream;
private var rtmpNow:String;
private var msg:Boolean;
private var cam:Camera;
private var mic:Microphone;
private var vid:Video;
public function VideoChat ()
//Set up UI
textArea = new TextArea();
textArea.setSize(500,280);
textArea.move(20,54);
addChild(textArea);
textInput = new TextInput();
textInput.setSize(500,24);
textInput.move(20,340);
textInput.addEventListener(ComponentEvent.ENTER,checkKey);
addChild(textInput);
button = new Button();
button.width=50;
button.label="Send";
button.move(20,370);
button.addEventListener(MouseEvent.CLICK, sendMsg);
addChild(button);
chatName = new TextInput;
chatName.setSize (100,24);
chatName.move (80,370);
chatName.text="<Enter Name>";
chatName.addEventListener (FocusEvent.FOCUS_IN, cleanName);
addChild(chatName);
//Connect
rtmpNow="rtmp:/VideoChat ";
nc=new NetConnection;
nc.connect (rtmpNow);
nc.addEventListener(NetStatusEvent.NET_STATUS,doSO);
cam = Camera.getCamera();
mic=Microphone.getMicrophone();
//Camera Settings
cam.setKeyFrameInterval(15);
cam.setMode (240, 180, 15, false);
cam.setMotionLevel(35,3000);
cam.setQuality(40000 / 8,0);
//Microphone Settings
mic.gain = 85;
mic.rate=11;
mic.setSilenceLevel (25,1000);
mic.setUseEchoSuppression (true);
//Video Setup
vid=new Video(cam.width, cam.height);
addChild (vid);
vid.x=10, vid.y=20;
//Attach local video and camera
vid.attachCamera(cam);
private function doSO(e:NetStatusEvent):void
good=e.info.code == "NetConnection.Connect.Success";
if(good)
//Set up shared object
text_so=SharedObject.getRemote("test", nc.uri, false);
text_so.connect (nc);
text_so.addEventListener(SyncEvent.SYNC, checkSO);
private function checkSO(e:SyncEvent):void
for (var chung:uint; change<e.changeList.length; chng++)
switch(e.chageList[chng].code)
case "clear":
break;
case "success":
break;
case "change":
textArea.appendText (text_so.data.msg + "\n");
break;
private function cleanName(e:FocusEvent): void
chatName.text="";
private function sendMsg(e:MouseEvent):void
noName=(chatName.text=="<Enter Name>" || chatName.text=="");
if (noName)
textArea.appendText("You must enter your name \n");
else
text_so.setProperty("msg", chatName.text +": " + textInput.text);
textArea.appendText (chatName.text +": "+textInput.text +"\n");
textInput.text="";
private function checkKey (e:ComponentEvent):void
noName=(chatName.text=="<Enter Name>" || chatName.text=="");
if (noName)
textArea.appendText("You must enter your name \n");
else
text_so.setProperty("msg", chatName.text +": " + textInput.text);
textArea.appendText (chatName.text +": "+textInput.text +"\n");
textInput.text="";
//Create NetStream instances
private function checkConnect (e:NetStatusEvent):void
msg=e.info.code == "NetConnection.Connect.Success";
if(msg)
nsOut=new NetStream(nc);
nsIn=new NetStream(nc);
//NetStream
nsOut.attachAudio(mic);
nsOut.attachCamera(cam);
nsOut.publish("camstream");
nsIn.play("camstream");Hi Guys...
I have found out what is wrong. I was importing the wrong package the correct one should have been:
import fl.events.ComponentEvent;
instead of
import flash.events.ComponentEvent;
I hope this is helpful for anyone caught in a simillar situation as me...Thanks.. -
we need to configure an SSO from SAP portal and a third party website by passing encrypted userid as url parameters.
To configure the SSO I have received the public key of the third party and able to access it from server location. Now I have to access priavte key of the SAP Portal certificate and sign the UserId and pass it as url parameter. I have gone through many blogs and written code as below which is giving Invalid Keystore Format error.
My question is
1. What should be passed to FileInputStream?
As of now we are passing the .cer file which is stored as part of project.
Below code is throwing error at ks.load() method.
String fielPath1 = request.getPublicResourcePath()+"/SAPLogonTicketKeypair-cert1.cer";
FileInputStream ksfis = new FileInputStream(fielPath1);
KeyStore ks = KeyStore.getInstance("JKS");
ks.load(null, sPass.toCharArray());
BufferedInputStream ksbufin = new BufferedInputStream(ksfis);
ks.load(ksbufin, sPass.toCharArray());
PrivateKey priv = (PrivateKey) ks.getKey(alias, kPass.toCharArray());
Error is:
Invalid keystore formatsun.security.provider.JavaKeyStore.engineLoad(JavaKeyStore.java:633)sun.security.provider.JavaKeyStore$JKS.engineLoad(JavaKeyStore.java:38)java.security.KeyStore.load(KeyStore.java:1185)am_sso_apc.doContent(am_sso_apc.java:132)com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:213)
Please let me know how to pass the filepath to extract the priavte key .
Regards,
SatishI found the solution. As follows:
keytool -list -keytool keytoolfile -storetype jceks -
Developing Custom Adapter - Keep getting error: Unrecognized tag found in properties
Hey All,<br /><br />I'm trying to configure some custom properties to pass through to my custom BlazeDS adapter, inside my remoting-config.xml.<br /><br />If you look here:<br />http://xml.pastebin.com/f17464dac<br /><br />This has been working perfectly for the destination id'd 'Conduit'. no problems there at all.<br /><br />For the destination id'd 'ConduitReverse', no matter what extra <tag> I put after <access>, I get the following exception:<br /><br />**** MessageBrokerServlet failed to initialize due to runtime exception: Exception: flex.messaging.config.ConfigurationException: Unrecognized tag found in <properties>. Please consult the documentation to determine if the tag is invalid or belongs inside of a different tag: <br /> '/foo' in destination with id: 'ConduitReverse' from file: remoting-config.xml<br /> at flex.messaging.config.MessagingConfiguration.reportUnusedProperties(MessagingConfiguratio n.java:750)<br /> at flex.messaging.MessageBrokerServlet.init(MessageBrokerServlet.java:158)<br /> at coldfusion.flex.ColdFusionMessageBrokerServlet.init(ColdFusionMessageBrokerServlet.java:2 4)<br /> at coldfusion.bootstrap.ClassloaderHelper.initServletClass(ClassloaderHelper.java:94)<br /> at coldfusion.bootstrap.BootstrapServlet.init(BootstrapServlet.java:59)<br /><br />I've tried 'foo', 'fooBar', 'thisIsMyCustomProperty', and so far, I always get that error.<br /><br />I had thought I could put arbitrary values inside <properties>, without having to worry about validation, is that not the case?<br /><br />I'm running a daily build of BlazeDS 4.x, from about a month ago. I may try upgrading.<br /><br />Any help on this would be greatly appreciated.
The source of the problem is here: flex.messaging.config.MessagingConfiguration.reportUnusedProperties(MessagingConfiguratio n.java:750)
Your code is fine, it is BlazeDS bugs, that they don't want to fix, have a look at this bug: http://bugs.adobe.com/jira/browse/BLZ-143
I still can't understand a rationale behind this, but this is the way it is.
To get pass this error you HAVE to call
properties.getPropertyAsString("fooBar", null);
in
public void initialize(String id, ConfigMap properties)
method.
Have a look at my adapter for example:
http://code.google.com/p/flexserverlib/wiki/EJBAdapter
http://code.google.com/p/flexserverlib/source/browse/trunk/java/src/flexserverlib/messagi ng/services/remoting/adapters/EJBAdapter.java -
ERROR: Invalid java version found: while runing Autoconfig
Hi
while upgrading EBS 12.1.3 Database from 11.1.0.7 to 11.2.0.2
We got the below error on autoconfig.
F:\app\mocppd\product\11.2.0\dbhome_1\appsutil>F:\app\mocppd\product\11.2.0\dbho
me_1\appsutil\bin\adconfig.cmd contextfile=prod_srv-moc.xml
Enter the APPS user password: apps
cygwin warning:
MS-DOS style path detected: F:\app\mocppd\product\11.2.0\dbhome_1\appsutil\bin
\adconfig.pl
Preferred POSIX equivalent is: /cygdrive/f/app/mocppd/product/11.2.0/dbhome_1/
appsutil/bin/adconfig.pl
CYGWIN environment variable option "nodosfilewarning" turns off this warning.
Consult the user's guide for more details about POSIX paths:
http://cygwin.com/cygwin-ug-net/using.html#using-pathnames
The log file for this session is located at: F:\app\mocppd\product\11.2.0\dbhome
_1/appsutil/log/prod_srv-moc/02040321/adconfig.log
AutoConfig is configuring the Database environment...
AutoConfig will consider the custom templates if present.
Using ORACLE_HOME location : F:\app\mocppd\product\11.2.0\dbhome_1
ERROR: Invalid java version found:
sh: F:appmocppdproduct11.2.0dbhome_1jdkjre/bin/java: No such file or dir
ectory
ERROR: Invalid java version found:
sh: F:appmocppdproduct11.2.0dbhome_1jdkjre/bin/java: No such file or dir
ectory
Classpath :
sh: - : invalid option
Usage: sh [GNU long option] [option] ...
sh [GNU long option] [option] script-file ...
GNU long options:
--debug
--debugger
--dump-po-strings
--dump-strings
--help
--init-file
--login
--noediting
--noprofile
--norc
--posix
--protected
--rcfile
--restricted
--verbose
--version
--wordexp
Shell options:
-irsD or -c command or -O shopt_option (invocation only)
-abefhkmnptuvxBCHP or -o option
Version Conflicts among development maintained and customized templates encounte
red; aborting AutoConfig run.
The logfile for this session is located at: F:\app\mocppd\product\11.2.0\dbhome_
1/appsutil/log/prod_srv-moc/02040321/adconfig.logThanks
NawneetHi Helios,
I have changed the prod_srv-moc.xml script and executed the script.
And now i got the below error.
F:\app\mocppd\product\11.2.0\dbhome_1\appsutil>F:\app\mocppd\product\11.2.0\dbho
me_1\appsutil\bin\adconfig.cmd contextfile=prod_srv-moc.xml
Enter the APPS user password: apps
cygwin warning:
MS-DOS style path detected: F:\app\mocppd\product\11.2.0\dbhome_1\appsutil\bin
\adconfig.pl
Preferred POSIX equivalent is: /cygdrive/f/app/mocppd/product/11.2.0/dbhome_1/
appsutil/bin/adconfig.pl
CYGWIN environment variable option "nodosfilewarning" turns off this warning.
Consult the user's guide for more details about POSIX paths:
http://cygwin.com/cygwin-ug-net/using.html#using-pathnames
The log file for this session is located at: F:/app/mocppd/product/11.2.0/dbhome
_1/appsutil/log/prod_srv-moc/02040605/adconfig.log
AutoConfig is configuring the Database environment...
AutoConfig will consider the custom templates if present.
Using ORACLE_HOME location : F:/app/mocppd/product/11.2.0/dbhome_1
Classpath : :F:/app/mocppd/product/11.2.0/dbhome_1/jdb
c/lib/ojdbc6.jar:F:/app/mocppd/product/11.2.0/dbhome_1/appsutil/java/xmlparserv2
.jar:F:/app/mocppd/product/11.2.0/dbhome_1/appsutil/java:F:/app/mocppd/product/1
1.2.0/dbhome_1/jlib/netcfg.jar:F:/app/mocppd/product/11.2.0/dbhome_1/jlib/ldapjc
lnt11.jar
Exception in thread "main" java.lang.NoClassDefFoundError: oracle/apps/ad/tools/
configuration/VersionConflictListGenerator
Caused by: java.lang.ClassNotFoundException: oracle.apps.ad.tools.configuration.
VersionConflictListGenerator
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)
Could not find the main class: oracle.apps.ad.tools.configuration.VersionConflic
tListGenerator. Program will exit.
ERROR: Version Conflicts utility failed.
Terminate.
The logfile for this session is located at: F:/app/mocppd/product/11.2.0/dbhome_
1/appsutil/log/prod_srv-moc/02040605/adconfig.log
Thanks
Nawneet
Maybe you are looking for
-
Small Office Network Setup Help
Hi folks, We are renting a small office in a floor which consists of many offices. The way internet is distributed here is, they have a verizon fios router and a couple of unmanaged switch, from which cables are run to offices for internet. One of th
-
My headphone socket isn't working
When I put any kind of headphone into my Socket I plays aloud but when I plug in a headphone, it pauses the music/ sound, for a limited amount of time and then it plays aloud most probably finding that something has been plugged in.
-
Drag and Drop Swing Components between two different Application Windows
Hi!!! I tried the Dnd feature using the DnD api. It was a simple test, where I ahd two different app windows each made up of a JLabel. One I registered as drag component and the other as a drop component. the drop componenet(JLabel) does not have any
-
OBIEE - Problem to access a DashBoard with &Action=Navigate&Format=pdf
Oracle Business Intelligence Product Version 10.1.3.4 Hi, I have a problem to access a dashboard with &Action=Navigate&Format=pdf This works: http://company.com:9999/analytics/saw.dll?Dashboard&PortalPath=/shared/XXXXXXX/_portal/Dashboard1&Page=Page1
-
SCCM Reports won't populate from console
Hello, When on a remote device, I'm unable to get the reports tab to populate nor can I reach out to the reports ssrs site without getting a prompt (endless). I know I have rights because I'm unable to replicate these issues on the SCCM server. Anyon