Issue after rebuild of java file
Hi,
I am using the JDEV11.1.2 and i migrated the source from JDEV11.1.1.5.
If i do any changes and rebuild it then am trying to proceed further in the applicaion means am getting the below error along with inactive message.
oracle.adf.controller.internal.binding.DCTaskFlowBindingDef cannot be cast to oracle.adf.controller.internal.binding.DCTaskFlowBindingDef
is this new JDEv11.1.2 requires any registration?
Reg,
Brahma B.
solutions got are
I have also seen this error intermittently. The only solution to this is clear classes directory and start the server.
This is a ClassLoader issue. I'm guessing you have two adf-pageflow-fwk.jar on your classpath, maybe one in your WAR and maybe WebLogic's internally deployed ADF Library.
when i delete some components with in the JSFF (that are bound to a manged bean), the page is running fine
Strange error message
Similar Messages
-
ASDM issues after upgrade to JAVA 8 on Macbook
Hi all, I have a MacBook running 10.10.2, and just upgraded to Java 8 build 40. Wouldn't you know ASDM has now started to "freeze" after I login to the appliance and ASDM is trying to parse the configuration. This has happened when I hit an ASA 5545 running 9.3.1 code (ASDM 7.3.1) but it does NOT happen when I hit an ASA5520 running older 9.1.5 code (ASDM 7.3.1). Odd. Anyone else seeing this? Sure enough when I drop Java back to 7 build 75, ASDM runs fine again when I login to those appliances.
Just as a try, I did upgrade ASDM to 7.3.3 and bumped up the heap size per the release notes, but that did nothing to resolve this issue. ASDM still freezes as its trying to parse the configuration (about 2-4 seconds after I login).
Any help or suggestions would be appreciated.
Thank you,
JeffLooks like you are hitting the following bug
CSCut04399
ASDM hangs on MAC after upgrade to Java 8
Workaround:
none -
How to compile and publish after modified a .java file?
Hello,
I am a newbie to Business Object. I am now working on a server that installed BusinessObjects Enterprise, to develop and run BO reports. I need to edit some java codes of the InfowView. I found that there are some .java, .class, .jar files under the installed folder. I know that it is a struts framework and I can find which .java file to edit, but I don't know how to compile and publish the codes. Is it necessary to install any development tool to do it?
Regards,
PhilipSince you are using CSV, you can read a line at a time and then use String.split() on it. One you have it split, you upload to your DB using JDBC or if your in the MS world and cannot get a JDBC driver, then use the JDBC/ODBC bridge.
-
Audio issues after converting a media file to WMV
Hello,
I am using the Adobe Premiere Elements 11 version, on a PC (windows Vista).
An issue often occures after converting a media (video + audio) into Windows Media format : once the conversion is over (after 2 - 3 hours for a 1 hour media file), the audio cannot be heard : we can only hear a very annoying bip all along the video.
This is currently the third time I am trying to make this conversion, each time I have to wait for the end of the conversion (3 hours) to notice that the sound is not correct, so I have to run the conversion once again.
Do you have clues concerning this issue?
Thanks in advance,
ThomasThomas Drouault
If you are using Premiere Elements 11 on Windows Vista 32 or 64 bit, it is a 32 bit application running in the 32 bit compatibility mode of the 64 bit system and a 32 bit application running in the 32 bit system. As such, the maximum supported installed RAM is 4.0 GB of which 3.0 GB or less are available. But we will put that aside for now.
What are the properties of your source media and what project preset are you setting? Please give the details of the Publish+Share/Computer/Windows Media preset as well as the settings under the presets Advanced Button/Video and Audio tabs. Of specific interest are the combo of video and audio codecs.
Please confirm that you are saying that the problem does not exist for playback of the rendered Timeline in the Edit Mode Monitor prior to the Windows Media export.
Thanks.
ATR -
Stability issues after installing the Java SE 6 update on Leopard
Hi, I have my macbook pro freeze once and not properly wake up from sleep twice after opening the lid within the last two days, and this started happening after I installed the Java SE 6 update over the weekend. In the case of freeze, I had to to a hard reboot. In the other two cases, the macbook comes alive after opening the lid but the display stays blank. I need to close the lid and open a few more times to have the display come back on. In all the cases, I was running Word 2008, which has its own set of bugs (esp. with the spaces), but I wasn't experiencing this before the Java update. I have all the other updates installed as well (including the Safari update last week, the latest Office 2008 update of March, and the EFI firmware update a couple weeks ago).
Does anyone have the same problem? Also, the jittery mouse pointer problem after wake from sleep, which used to occur occasionally since I first upgraded to leopard, seems to occur a lot more frequently now. The only solution to get the mouse pointer back to normal is a restart, which is quite annoying.Hi again, I found a solution to the nested folders problem. Apparently this was not due to Java... It was just a folder replicating itself over and over again. Still don't know the cause, but searching with Google I found this:http://forums.macnn.com/54/unix/156870/nesting-of-folders-problem/
The command allowed me to find the folder and subsequently trash it. Everything seems to be fine right now. The disc utility does not report the "exceeded the recommended limit of 100 " error. -
Issues after Importing sun java creator2 update1 project to netbeans 5.5.1
After Importing my SJC2U1 project into my netbeans 5.5.1 ,my project can see javax.faces.* package.even when i right click to fix import ,it was saying package javax.faces does not exist
Hi,
I am responsible for Migration testing effort in Visual Web Pack QE team. Would it be possible that you could send your original Creator project to me at my email address.
yousuf dot haider at sun dot com
Rest assured that this will only be used internally inside Sun and will be kept confidential.
Thanks
Yousuf -
Java Mapping - Not able to compile .Java file
Hi Experts,
I am working with a sample scenario which involves Java Mapping. For this I created MappingClass.java file, After compiling the .Java file .Jar file would be used for Java Mapping by using Imported Archives.
After compiling the MappingClass.java file, I am getting the errors as below.
--> Java errors after compilation
C:\j2sdk1.4.2_13\bin>javac MappingClass.java
MappingClass.java:4: package com.sap.aii.mapping.api does not exist
import com.sap.aii.mapping.api.AbstractTrace;
^
MappingClass.java:5: package com.sap.aii.mapping.api does not exist
import com.sap.aii.mapping.api.StreamTransformationConstants;
--> End of java errors
In the MappingClass.java file, I had given followed imports.
import java.util.*;
import com.sap.aii.mapping.api.AbstractTrace;
import com.sap.aii.mapping.api.StreamTransformationConstants;
Could some one please guide me to resolve this issue.
Thanks in advance.
..SreeHi
I had copied " aii_map_api.jar " file in my Java Class path folder.. i.e " C:\j2sdk1.4.2_08\bin " AND " C:\j2sdk1.4.2_08\lib " folders too.. and even in C:\ i.e Root Drive also.
After trying to Compile my java file (ex : MappingClass.java), still I am getting the errors.
Errors shown as below.
--> Errors
C:\mytest>javac MappingClass.java
MappingClass.java:2: package com.sap.aii.mapping.api does not exist
import com.sap.aii.mapping.api.AbstractTrace;
^
MappingClass.java:3: package com.sap.aii.mapping.api does not exist
import com.sap.aii.mapping.api.StreamTransformationConstants;
^
MappingClass.java:6: cannot resolve symbol
symbol : class AbstractTrace
location: class MappingClass
private static AbstractTrace trace = null;
^
MappingClass.java:12: cannot resolve symbol
symbol : class AbstractTrace
location: class MappingClass
trace = (AbstractTrace)inputparam.get(
^
MappingClass.java:13: cannot resolve symbol
symbol : variable StreamTransformationConstants
location: class MappingClass
StreamTransformationConstants.MAPPING_TRACE );
^
5 errors
--> End of Errors
Could some one please guide me to resolve this issue.
Thanks in advance.
..Sree -
DISASTER! Lost a .java file after a Project Rebuild
Is there a way to get it back? It was the Component.java file. When I open the component and go to "Implement" it says the file is gone.
Is this file stored in the ear file that's uploaded to the server? How can I retrieve my last deployed application?
Thanks
AndrewHi,
The latest deployed project and its corresponding files you can get it from
C:\Documents and Settings\youraccount\Documents\SAP\workspace\yourproject
( in case after few chnges if you say rebuild project older project will be modified with latest changes.My suggestion you can have timely back up in to onther workspace i mean another directory/folder so that you can retrive/import your older projects to NWDS).
Apart from this i am not finding any other solution
Hope it helped you
Reagrds
RK -
BUG: error rebuilding SQLJ files along other java files with generic
I have done a rebuild on a package containing some SQLJ files, and (consistently) got the following error:
C:\TeleMessage\trunk\src\telemessage\db\impl\dbAdmin.sqlj
Error(44,18): Java Parsing. Encountered: <
Expected: <IDENTIFIER> ...; "[" ...; The error at the cursor in the given file is not possible, since there was no '<' there, and besides - if I non-aggresively changed the file, e.g. narrowed imports, changed whitespace or added comments - the error remained in the same location.
I went and done a search using regex in the package, for a line starting with 17 chars followed by a '<'.
I found it in one of the normal JAVA files (not-SQLJ), at line 44 (surprise!) - in a Java 5 generics declaration, e.g. Map<String,Integer>. the 18th character was indeed the '<'.
I'm guessing that the SQLJ translator (accidentally?) parses non-SQLJ files.
If this cannot be fixed, it is really bad - it is one thing that JDeveloper cannot support Java 5 language features because of its dependancy in the SQLJ translator (which is not known to be upgraded until version 11g if at all), but the inability to compile SQLJ files in a project containing other non-SQLJ java files with Java 5 features is hard.
I could only workaround this by rebuilding SQLJ files one at a time!
I also have another type of error, when rebuilding the same project in a higher-level pacakge (root or "Application Sources"):
C:\TeleMessage\trunk\src\dbtools\CallbackNumberFiller.sqlj
Error(24,8): Missing semicolon.
Error(24,8): Unbalanced curly braces.Again, the specified file could not be the one to blame - the location of the error is in the middle of the public modified keyword in a method declaration; nothing is neither missing nor unbalanced.
This appears to be different, as it pops in the log near the end of the build process, when the JSPs are being built, specfically during the time the message log fills with "writing <...>" lines (after "translating <...>" and "compiling <...>".
I can consistently reproduce both cases - please advise how I can help you find out what causes this.
Regards,
Yaniv KundaFirst of all, this bug not JDeveloper's problem, but the SQLJ team's.
You can read more posts about this:
Re: BUG: Cannot translate SQLJ files with Java5 generics code
Re: How to use SQLJ with Java 1.4 and 1.5?
Re: SQLJ discontinued??
And if we're at it, this is strange - I can't seem to find the oracle doc you quoted...
SQLJ 11g? The latest release is a part of JPublisher 10.2 available from
http://www.oracle.com/technology/software/tech/java/sqlj_jdbc/index.html
I also didn't find anything on google on 11g, nor about the part number you specified.
Didn't find any Java 1.5 supporting SQLJ translators from other vendors as well.
Do you have any link to this statement?
But if we examine this bug again, the problem involves JDeveloper passing Java 5 featured JAVA files to the SQLJ translator.
Isn't there a way to instruct the translator to use CLASS files compiled by a normal Java 5 compiler, instead of trying to compile the files itself?
Regards,
Yaniv Kunda -
Hi All,
How to view the change immediately after a java file that is used in jsp is modified
without restarting server or redeploy?
Moreover, it is better to keep the original session.
Any suggestion is appreciated.
Kammau
Hi,
In order to have a new version of a java class, the current classloader must be
deleted and a new one created. This is what redeployment does. I believe that
this is more of an issue with Sun's implementation of classloaders. You could
ask BEA support (719.232.7878) and see if they have any plans to periodically
check jar files to see if java class file timestamps and destroy and re-create
classloaders on the fly.
1) You will still have to accept the performance hit of destroying classloaders
and creating new ones. There isn't any way around that.
2) I would think you would want to have more explicit control in production and
integration anyway.
You can redeploy applications from the command line (script) file not just the
console.
Hope this helps,
pat
"Kammau" <[email protected]> wrote:
>
>Hi All,
>How to view the change immediately after a java file that is used in
>jsp is modified
>without restarting server or redeploy?
>Moreover, it is better to keep the original session.
>Any suggestion is appreciated.
>
>Kammau
-
Cannot extract Zip file with Winzip after zipping with java.util.zip
Hi all,
I write a class for zip and unzip the text files together which can be zip and unzip successfully with Java platform. However, I cannot extract the zip file with Winzip or even WinRAR after zipping with Java platform.
Please help to comment, thanks~
Below is the code:
=====================================================================
package myapp.util;
import java.io.* ;
import java.util.TreeMap ;
import java.util.zip.* ;
import myapp.exception.UserException ;
public class CompressionUtil {
public CompressionUtil() {
super() ;
public void createZip(String zipName, String fileName)
throws ZipException, FileNotFoundException, IOException, UserException {
FileOutputStream fos = null ;
BufferedOutputStream bos = null ;
ZipOutputStream zos = null ;
File file = null ;
try {
file = new File(zipName) ; //new zip file
if (file.isDirectory()) //check if it is a directory
throw new UserException("Invalid zip file ["+zipName+"]") ;
if (file.exists() && !file.canWrite()) //check if it is readonly
throw new UserException("Zip file is ReadOnly ["+zipName+"]") ;
if (file.exists()) //overwrite the existing file
file.delete();
file.createNewFile();
//instantiate the ZipOutputStream
fos = new FileOutputStream(file) ;
bos = new BufferedOutputStream(fos) ;
zos = new ZipOutputStream(bos) ;
this.writeZipFileEntry(zos, fileName); //call to write the file into the zip
zos.finish() ;
catch (ZipException ze) {
throw ze ;
catch (FileNotFoundException fnfe) {
throw fnfe ;
catch (IOException ioe) {
throw ioe ;
catch (UserException ue) {
throw ue ;
finally {
//close all the stream and file
if (fos != null)
fos.close() ;
if (bos != null)
bos.close();
if (zos != null)
zos.close();
if (file != null)
file = null ;
}//end of try-catch-finally
private void writeZipFileEntry(ZipOutputStream zos, String fileName)
throws ZipException, FileNotFoundException, IOException, UserException {
BufferedInputStream bis = null ;
File file = null ;
ZipEntry zentry = null ;
byte[] bArray = null ;
try {
file = new File(fileName) ; //instantiate the file
if (!file.exists()) //check if the file is not exist
throw new UserException("No such file ["+fileName+"]") ;
if (file.isDirectory()) //check if the file is a directory
throw new UserException("Invalid file ["+fileName+"]") ;
//instantiate the BufferedInputStream
bis = new BufferedInputStream(new FileInputStream(file)) ;
//Get the content of the file and put into the byte[]
int size = (int) file.length();
if (size == -1)
throw new UserException("Cannot determine the file size [" +fileName + "]");
bArray = new byte[(int) size];
int rb = 0;
int chunk = 0;
while (((int) size - rb) > 0) {
chunk = bis.read(bArray, rb, (int) size - rb);
if (chunk == -1)
break;
rb += chunk;
}//end of while (((int)size - rb) > 0)
//instantiate the CRC32
CRC32 crc = new CRC32() ;
crc.update(bArray, 0, size);
//instantiate the ZipEntry
zentry = new ZipEntry(fileName) ;
zentry.setMethod(ZipEntry.STORED) ;
zentry.setSize(size);
zentry.setCrc(crc.getValue());
//write all the info to the ZipOutputStream
zos.putNextEntry(zentry);
zos.write(bArray, 0, size);
zos.closeEntry();
catch (ZipException ze) {
throw ze ;
catch (FileNotFoundException fnfe) {
throw fnfe ;
catch (IOException ioe) {
throw ioe ;
catch (UserException ue) {
throw ue ;
finally {
//close all the stream and file
if (bis != null)
bis.close();
if (file != null)
file = null ;
}//end of try-catch-finally
}Tried~
The problem is still here~ >___<
Anyway, thanks for information sharing~
The message is:
Cannot open file: it does not appear to be a valid archive.
If you downloaded this file, try downloading the file again.
The problem may be here:
if (fos != null)
fos.close() ;
if (bos != null)
bos.close();
if (zos != null)
zos.close();
if (file != null)
file = null ;
The fos is closed before bos so the last buffer is not
saved.
zos.close() is enough. -
com.sap.engine.services.deploy.container.ExceptionInfo: Naming error.
Hi All,
Please help me to fix the following issue:
After Successfull installation of Java Addin to ECC 6.0 (SR3,Oracle 10.2,Solaris 5.10) i am facing the following issue when i try to access http://<hostname>:50000/nwa and http://<hostname>:50000/useradmin
com.sap.engine.services.deploy.container.ExceptionInfo: Naming error.
And if i try to access http://<hostname>:50000 it works fine.
I have restarted Java stack and also ABAP+Java Stack but still no luck.
Thanks,
Siva KumarHai,
Check the below links.....
access SLD failed
com.sap.engine.services.deploy.container.ExceptionInfo: Naming error
Regards,
Yoganand.V -
Cannot compile java file after ..
i installed java sdk 1.4
uninstalled java 1.2 & java 1.3.1
--after that i was not able to compile or run java file
reinstalled java 1.3.1 and 1.2
--now able to run previously compiled java file
--cannot compile a new java file
any helpIt would be helpful if you would exactly tell us what error message you get instead of just saying "I can't compile or run anything anymore".
Things to think of: Did you add the bin directory of the JDK to your path? Is the classpath set correctly?
Installation notes
http://java.sun.com/j2se/1.4/install-windows.html
Setting the class path
http://java.sun.com/j2se/1.4/docs/tooldocs/win32/classpath.html
Java 2 SDK Readme
http://java.sun.com/j2se/1.4/README.html
Jesper -
Aperture using 3 week old file paths for referenced files after Rebuild
I recently had major problems with some Nikon D60 files (the referenced files switched original files). I had to re-import everything a start again. Having sorted everything out, I then relocated the files with new files names (thinking that the original file names may have caused the problems).
This was 3 weeks ago. However, when I Rebuilt the library today, these renamed images went offline because Aperture has kept the original file paths (with the original names).
Does anyone know how to update file paths to the current ones? (rather than some random previous one).Thanks for the reply. I will check out the links.
I should have mentioned that all renaming/moving of files was done from within Aperture. Aperture is not updating its own file paths.
The process is this. Having moved/renamed the images (using Aperture's Relocate Masters) I am able to use the software, close it down, restart etc and the images will be found correctly with few/no 'lost' images. It is when I use 'Rebuild' that the file paths revert to an old, previously used version that is no longer valid. It is as though there are two preference files, each with a different file path information. There was a post sometime ago that mentioned using Terminal commands to force Aperture to update to the correct files paths/directories. I haven't been able to find the post yet though.
These particular files (Nikon D60) are not from my own camera so I am not sure why I have had such an issue. Normally I am using a Canon 5D MK2 or a Phaseone digital back. However, even with my own equipment I do regularly have to 'Reconnect' one or two image files that have become lost which is annoying. So I am keen to get to the bottom of this issue. -
How can I build EJB archive after changing java files?
hello,
I changed java beans file, and tried to build jar file again, then the "build EJB archive" context menu is disabled so I can not make EJB jar file!
So frustrated.. NWDS recognizes the changes in the java files , right? How come there 's no Build menu..
Is there any pre-requisite to enable the menu?
I have no idea how I can build jar file..
Please give me a advice.. Thanks~!I think that in order to create a RPM, you'd need to
use some C.Nope - the RPM is all about packaging and the "magic" x.spec file. You can have anything you want in the RPM, but you have to use RPM tools to build the .rpm file. One of the features is that you can also indicate (via "install" scripts) modifications to other files or the filesystem to support the installation of whatever's in the RPM.
Maybe you are looking for
-
I have recently bought PSE 8. When I had my Canon 350D I could use it to edit RAW photos. I have just bought a Canon 550D and PSE 8 cant open any RAW photos now for editing.
-
GetRegisteredProviderConnectors() in the IUWLService error
Dear All, I want to develop a WebDynpro (JAVA) application to view the UWL as same as in a UWL iView . So I downloaded a sample application for understanding the flow of the process. I am using NWDS 7.0.09.I imported the demo project in my s
-
HI All, I am getting the following error Unable to Convert Integration Process into ALE Logical System... Even though i defined LS in Business Landscape and also In Adapter Specifiers of Business System... I have gone through all the weblogs and thre
-
I've restarted my machine (brand new), but still no luck. Any help? I can post the error message if necessary.
-
Installing Windows xp OEM sp2 problem
I am having trouble loading window XP pro OEM sp2 using Bootcamp on my macbook OSX 10.5.8 It gets through copying all the files and reboots successfully through to the install window and the setup program for windows (where it displays various market