Unable to find properties file in jar
I have a jar file that looks like this from contents stand point
c:> jar vtf csdsutility.jar
0 Mon Oct 24 10:04:58 EDT 2005 META-INF/
71 Mon Oct 24 10:04:58 EDT 2005 META-INF/MANIFEST.MF
2633 Fri Oct 21 17:04:44 EDT 2005 csds/utility/JavaLogging.class
1621 Fri Oct 21 17:04:42 EDT 2005 csds/utility/Logging.class
868 Fri Oct 21 17:04:42 EDT 2005 csds/utility/LoggingMethod.class
3204 Fri Oct 21 17:04:44 EDT 2005 csds/utility/TestLogging.class
3004 Fri Oct 21 17:04:44 EDT 2005 csds/utility/Utility.class
1142 Fri Oct 21 17:04:44 EDT 2005 csds/utility/WSLogging.class
83 Tue Jul 26 21:59:26 EDT 2005 csds/utility/javalogging.properties
If I include the jar file above in some other program it should find the
javalogging.properties file correct? It's failing in the common code trying to find the properties file. I created a small driver that tests the common code and it is fine it just does not work off the jar file. Is there something weird about jar files and property files I don't know about? I thought when you included them on the java -classpath line it was like that code was part of your application and the path followed also.
Thanks,
Frank
Are you using method getResourceAsStream? If so don't forget to properly add (or not) an "/" to the resource name as stated in Java API docs: if the resource name starts with "/", it is unchanged; otherwise, the package name is prepended to the resource name after converting "." to "/".
Similar Messages
-
Unable to find .jasper files in .jar
I'm building a java application, and when i run the application in jdeveloper everything works just fine, but when i build the application and try to run the .jar file i run into this issue when trying to create my reports.
net.sf.jasperreports.engine.JRException: Could not load object from location : .
cecs.jasper
at net.sf.jasperreports.engine.util.JRLoader.loadObjectFromLocation(JRLo
ader.java:266)
at net.sf.jasperreports.engine.fill.JRFillSubreport.evaluate(JRFillSubre
port.java:303)
at net.sf.jasperreports.engine.fill.JRFillElementContainer.evaluate(JRFi
llElementContainer.java:274)
at net.sf.jasperreports.engine.fill.JRFillBand.evaluate(JRFillBand.java:
400)
at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillColumnBand(JRVe
rticalFiller.java:1273)
at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillDetail(JRVertic
alFiller.java:614)
at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReportStart(JRV
erticalFiller.java:209)
at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReport(JRVertic
alFiller.java:109)
at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:
751)
at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:
660)
at net.sf.jasperreports.engine.fill.JRFiller.fillReport(JRFiller.java:63
at net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillMa
nager.java:402)
at CEC.view.DataHandler.createReport(DataHandler.java:810)
at CEC.view.Report.but_Save_actionPerformed(Report.java:345)
at CEC.view.Report$9.actionPerformed(Report.java:81)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Sour
ce)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Here is the code to compile and print out the report.
public void createReport(String key, String path, File[] file, String query) throws Exception{
// Load all the reports
JasperReport[] report = new JasperReport[file.length];
JasperDesign[] design = new JasperDesign[file.length];
Map parameters = new HashMap();
design[0] = JRXmlLoader.load(getClass().getResource(file[0].toString()).openStream());
for (int i=1; i < file.length; i++){
//report[i] = (JasperReport) JRLoader.loadObject(getClass().getResource(file.toString()).getFile());
//design[i] = JRXmlLoader.load(getClass().getResource(file[i].toString()).openStream());
report[i] = JasperCompileManager.compileReport(getClass().getResource(file[i].toString()).openStream());
System.out.println(file[i].toString()+": Compiled OK");
// Set the custom query for the report if need be
if (!query.equalsIgnoreCase("")){
JRDesignQuery designQuery = new JRDesignQuery();
designQuery.setText(query);
design[0].setQuery(designQuery);
// Compile the report and export it to the path that the user selected
report[0] = JasperCompileManager.compileReport(design[0]);
System.out.println(file[0].toString()+": Compiled OK");
parameters.put(key, "PDF JasperReport");
JasperPrint print = JasperFillManager.fillReport(report[0], parameters, conn);
OutputStream output = new FileOutputStream(new File(path));
JasperExportManager.exportReportToPdfStream(print, output);
output.close();the issue seems to be this part right here:
<parameter name="SUBREPORT_DIR" isForPrompting="true" class="java.lang.String">
<defaultValueExpression ><![CDATA[".\\"]]></defaultValueExpression>
</parameter>
it's looking outside the .jar file for the .jasper files. is there a way i can set that so that it's looking inside the .jar file? -
This is what it says on my screen when I open Firefox:
Firefox can't find the file at jar:file:///C:/Program Files (x86)/Mozilla Firefox/omni.jar!/browserconfig.properties.Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
*Don't make any changes on the Safe mode start window.
*https://support.mozilla.org/kb/Safe+Mode
*https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes -
SQLJ: unable to find input file null (Error while building EJB.jar file)
Hi,
I am working on open SQL/SQLJ with the following details
Name:Employee application(adding an employee to MAXDB through SQLJ connection)
FRONT-END:JSP/SERVLET
Middle:Stateless bean with DAO(DB connection) coming from SQLJ
Back-end:MAXDB
I have following in abc.sqlj file
#sql public context Connx with (dataSource = "java:comp/env/jdbc/SAPTSTDB")
and creating instance and adding to DB in another say xyz.sqlj file
Connx con = null;
try{
con = new Connx();
#sql [con] {insert into TMP_DB1(EMPLOYEE_ID, FIRST_NAME, LAST_NAME, EMAIL)
values(:(employeeDTO.getEmployeeId()),
:(employeeDTO.getFirstName()),
:(employeeDTO.getLastName()),
:(employeeDTO.getEmail()))};
My build has no errors..but while building EJB archive with above sqlj files, am getting following error
"SQLJ: unable to find input file null" for both sqlj files.
Anybody faced this kind of issue, pls reply back.
Thanks
parveenHi,
I am working on open SQL/SQLJ with the following details
Name:Employee application(adding an employee to MAXDB through SQLJ connection)
FRONT-END:JSP/SERVLET
Middle:Stateless bean with DAO(DB connection) coming from SQLJ
Back-end:MAXDB
I have following in abc.sqlj file
#sql public context Connx with (dataSource = "java:comp/env/jdbc/SAPTSTDB")
and creating instance and adding to DB in another say xyz.sqlj file
Connx con = null;
try{
con = new Connx();
#sql [con] {insert into TMP_DB1(EMPLOYEE_ID, FIRST_NAME, LAST_NAME, EMAIL)
values(:(employeeDTO.getEmployeeId()),
:(employeeDTO.getFirstName()),
:(employeeDTO.getLastName()),
:(employeeDTO.getEmail()))};
My build has no errors..but while building EJB archive with above sqlj files, am getting following error
"SQLJ: unable to find input file null" for both sqlj files.
Anybody faced this kind of issue, pls reply back.
Thanks
parveen -
JDeveloper 10g 10.1.3 Unable to Find Source File (SQLJ)
I live and die using the debugger. I have never seen this happen before. I have a .sqlj file I compile with the other code for a particular application. JDeveloper has always been able to step into the .sqlj code before. However, I have kept the JDeveloper code up-to-date and applied a bunch of new updates today. In fact, before I compiled the latest version of the code, I was able to stop through the .sqlj file. Now I have recompiled it and as I attempt to step through the code defined in the .sqlj file, I keep seeing the "Unable to Find Source File" dialog. If I point it to the .sqlj file it shows me the line I would expect to be at, but as soon as I take snother "step" through the code, I am thrown out of the source and back to where I attempt to step into it from. If I keep try to step through the code and keep telling it where the code is I can actual step throught the code. But that's a huge pain, and it won't advance to the next breakpoint in the .sqlj code.
I have always been able to debug SQLJ files without problem until today.Hello!
the jar files are under WEB-INF/lib
how do I compile the files to include the debug info? All the files are compiled when you run or debug your app right? or am I missing something?
Thanks a bunch for your time!
nene -
Acrobat 9.5.5 unable to find resource files
I am using Windows Vista und with the upgrade to Adobe Acrobat 9.5.5, I lost the administrative privileges on my own computer and Acrobat is unable to find resource files. I reinstalled Acrobat 9.5.5, went through the repair option, but have been unsuccessful in converting Windows files to PDF. Any suggestions? do I need professional help?
It is most likely looking for the job settings files. It may be that they are locked for some reason. I would look for those files and then be sure the folder is not restricted. I might be able to find the location based on my AA8 installation on VISTA at work, but that may be a while off. Seems strange that the update would do this change. The AA9 update that I did on Win7 had no such problems.
-
EA2: "Unable to Find Source File" when debugging
Hi,
I was remote debugging and hit a breakpoint in a trigger which I hadn't open.
The "Unable to Find Source File" dialog popped up, saying "Unable to find source file for package $Oracle.Trigger.SCHEMA, filename TRIGGER.pls", with SCHEMA being the current schema and TRIGGER the trigger (which never got saved to file BTW).
Additionally, this was pumped in the console (partial post due to limited buffer in Windows):
at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThre
ad.java:273)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.
java:183)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
ad.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)
java.lang.NullPointerException
at oracle.jdeveloper.java.locator.ProjectClassLocator.<init>(ProjectClas
sLocator.java:104)
at oracle.jdeveloper.java.locator.JdevClassLocatorFactory.getProjectLoca
tor(JdevClassLocatorFactory.java:101)
at oracle.jdeveloper.java.provider.ProjectFileProvider$6.run(ProjectFile
Provider.java:347)
at oracle.ide.model.NodeUtil.runUnderReadLock(NodeUtil.java:150)
at oracle.jdeveloper.java.provider.ProjectFileProvider.getClassLocator(P
rojectFileProvider.java:364)
at oracle.jdeveloper.java.provider.BaseFileProvider.getClassExactImpl(Ba
seFileProvider.java:430)
at oracle.jdeveloper.java.provider.CachedFileProvider.getClassExactImpl(
CachedFileProvider.java:697)
at oracle.jdeveloper.java.provider.BaseFileProvider.getClassLeftToRight(
BaseFileProvider.java:377)
at oracle.jdeveloper.java.provider.BaseFileProvider.getClass(BaseFilePro
vider.java:350)
at oracle.jdeveloper.java.provider.BaseFileProvider.getSourceClass(BaseF
ileProvider.java:753)
at oracle.jdeveloper.java.JavaModel.getSourceClass(JavaModel.java:364)
at oracle.jdeveloper.runner.Source.findURLForClassSource(Source.java:626
at oracle.jdeveloper.runner.Source.findURLForClassSource(Source.java:620
at oracle.jdeveloper.runner.Source.findSourceFile(Source.java:565)
at oracle.jdevimpl.runner.debug.DebuggingProcess.findSourceFile(Debuggin
gProcess.java:2680)
at oracle.jdevimpl.runner.debug.DebuggingProcess.showSourceFile(Debuggin
gProcess.java:2711)
at oracle.jdevimpl.runner.debug.DebuggingProcess.showSourceIPIcon(Debugg
ingProcess.java:2782)
at oracle.jdevimpl.runner.debug.DebuggingProcess.debuggeeStopped(Debuggi
ngProcess.java:3093)
at oracle.jdevimpl.runner.debug.DebuggingProcess.activeProgramStopped(De
buggingProcess.java:3011)
at oracle.jdevimpl.runner.debug.DebuggingProcess.mav$activeProgramStoppe
d(DebuggingProcess.java:132)
at oracle.jdevimpl.runner.debug.DebuggingProcess$7.run(DebuggingProcess.
java:1810)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThre
ad.java:273)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.
java:183)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
ad.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)
java.lang.ClassCastException: oracle.ide.model.UnrecognizedTextNode cannot be ca
st to oracle.jdeveloper.library.JDKNode
at oracle.jdeveloper.library.JLibraryList.addJDK(JLibraryList.java:211)
at oracle.jdeveloper.library.JLibraryList.addJDK(JLibraryList.java:231)
at oracle.jdeveloper.library.JLibraryManager.findOrCreateDefaultJDK(JLib
raryManager.java:718)
at oracle.jdeveloper.library.JLibraryManager.getDefaultJDK(JLibraryManag
er.java:218)
at oracle.jdeveloper.model.JProjectLibraries.getJDK(JProjectLibraries.ja
va:121)
at oracle.jdeveloper.java.locator.ProjectClassLocator.getJDKFor(ProjectC
lassLocator.java:313)
at oracle.jdeveloper.java.locator.ProjectClassLocator.<init>(ProjectClas
sLocator.java:73)
at oracle.jdeveloper.java.locator.JdevClassLocatorFactory.getProjectLoca
tor(JdevClassLocatorFactory.java:101)
at oracle.jdeveloper.java.provider.ProjectFileProvider$6.run(ProjectFile
Provider.java:347)
at oracle.ide.model.NodeUtil.runUnderReadLock(NodeUtil.java:150)
at oracle.jdeveloper.java.provider.ProjectFileProvider.getClassLocator(P
rojectFileProvider.java:364)
at oracle.jdeveloper.java.provider.BaseFileProvider.getClassExactImpl(Ba
seFileProvider.java:430)
at oracle.jdeveloper.java.provider.CachedFileProvider.getClassExactImpl(
CachedFileProvider.java:697)
at oracle.jdeveloper.java.provider.BaseFileProvider.getClassLeftToRight(
BaseFileProvider.java:377)
at oracle.jdeveloper.java.provider.BaseFileProvider.getClass(BaseFilePro
vider.java:350)
at oracle.jdeveloper.java.provider.BaseFileProvider.getSourceClass(BaseF
ileProvider.java:753)
at oracle.jdeveloper.java.JavaModel.getSourceClass(JavaModel.java:364)
at oracle.jdeveloper.runner.Source.findURLForClassSource(Source.java:626
at oracle.jdeveloper.runner.Source.findURLForClassSource(Source.java:620
at oracle.jdeveloper.runner.Source.findSourceFile(Source.java:565)
at oracle.jdeveloper.runner.Source.showSourceFile(Source.java:150)
at oracle.jdevimpl.runner.debug.DebuggingProcess.showSourceFile(Debuggin
gProcess.java:2719)
at oracle.jdevimpl.runner.debug.DebuggingProcess.showSourceIPIcon(Debugg
ingProcess.java:2782)
at oracle.jdevimpl.runner.debug.DebuggingProcess.debuggeeStopped(Debuggi
ngProcess.java:3093)
at oracle.jdevimpl.runner.debug.DebuggingProcess.activeProgramStopped(De
buggingProcess.java:3011)
at oracle.jdevimpl.runner.debug.DebuggingProcess.mav$activeProgramStoppe
d(DebuggingProcess.java:132)
at oracle.jdevimpl.runner.debug.DebuggingProcess$7.run(DebuggingProcess.
java:1810)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThre
ad.java:273)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.
java:183)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
ad.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)
java.lang.NullPointerException
at oracle.jdeveloper.java.locator.ProjectClassLocator.<init>(ProjectClas
sLocator.java:104)
at oracle.jdeveloper.java.locator.JdevClassLocatorFactory.getProjectLoca
tor(JdevClassLocatorFactory.java:101)
at oracle.jdeveloper.java.provider.ProjectFileProvider$6.run(ProjectFile
Provider.java:347)
at oracle.ide.model.NodeUtil.runUnderReadLock(NodeUtil.java:150)
at oracle.jdeveloper.java.provider.ProjectFileProvider.getClassLocator(P
rojectFileProvider.java:364)
at oracle.jdeveloper.java.provider.BaseFileProvider.getClassExactImpl(Ba
seFileProvider.java:430)
at oracle.jdeveloper.java.provider.CachedFileProvider.getClassExactImpl(
CachedFileProvider.java:697)
at oracle.jdeveloper.java.provider.BaseFileProvider.getClassLeftToRight(
BaseFileProvider.java:377)
at oracle.jdeveloper.java.provider.BaseFileProvider.getClass(BaseFilePro
vider.java:350)
at oracle.jdeveloper.java.provider.BaseFileProvider.getSourceClass(BaseF
ileProvider.java:753)
at oracle.jdeveloper.java.JavaModel.getSourceClass(JavaModel.java:364)
at oracle.jdeveloper.runner.Source.findURLForClassSource(Source.java:626
at oracle.jdeveloper.runner.Source.findURLForClassSource(Source.java:620
at oracle.jdeveloper.runner.Source.findSourceFile(Source.java:565)
at oracle.jdeveloper.runner.Source.showSourceFile(Source.java:150)
at oracle.jdevimpl.runner.debug.DebuggingProcess.showSourceFile(Debuggin
gProcess.java:2719)
at oracle.jdevimpl.runner.debug.DebuggingProcess.showSourceIPIcon(Debugg
ingProcess.java:2782)
at oracle.jdevimpl.runner.debug.DebuggingProcess.debuggeeStopped(Debuggi
ngProcess.java:3093)
at oracle.jdevimpl.runner.debug.DebuggingProcess.activeProgramStopped(De
buggingProcess.java:3011)
at oracle.jdevimpl.runner.debug.DebuggingProcess.mav$activeProgramStoppe
d(DebuggingProcess.java:132)
at oracle.jdevimpl.runner.debug.DebuggingProcess$7.run(DebuggingProcess.
java:1810)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThre
ad.java:273)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.
java:183)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
ad.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)
java.lang.ClassCastException: oracle.ide.model.UnrecognizedTextNode cannot be ca
st to oracle.jdeveloper.library.JDKNode
at oracle.jdeveloper.library.JLibraryList.findJDK(JLibraryList.java:55)
at oracle.jdeveloper.library.JLibraryManager.findOrCreateDefaultJDK(JLib
raryManager.java:702)
at oracle.jdeveloper.library.JLibraryManager.getDefaultJDK(JLibraryManag
er.java:218)
at oracle.jdeveloper.model.JProjectLibraries.getJDK(JProjectLibraries.ja
va:121)
at oracle.jdeveloper.java.locator.ProjectClassLocator.getJDKFor(ProjectC
lassLocator.java:313)
at oracle.jdeveloper.java.locator.ProjectClassLocator.<init>(ProjectClas
sLocator.java:73)
at oracle.jdeveloper.java.locator.JdevClassLocatorFactory.getProjectLoca
tor(JdevClassLocatorFactory.java:101)
at oracle.jdeveloper.java.provider.ProjectFileProvider$6.run(ProjectFile
Provider.java:347)
at oracle.ide.model.NodeUtil.runUnderReadLock(NodeUtil.java:150)
at oracle.jdeveloper.java.provider.ProjectFileProvider.getClassLocator(P
rojectFileProvider.java:364)
at oracle.jdeveloper.java.provider.BaseFileProvider.getClassExactImpl(Ba
seFileProvider.java:430)
at oracle.jdeveloper.java.provider.CachedFileProvider.getClassExactImpl(
CachedFileProvider.java:697)
at oracle.jdeveloper.java.provider.BaseFileProvider.getClassLeftToRight(
BaseFileProvider.java:377)
at oracle.jdeveloper.java.provider.BaseFileProvider.getClass(BaseFilePro
vider.java:350)
at oracle.jdeveloper.java.provider.BaseFileProvider.getSourceClass(BaseF
ileProvider.java:753)
at oracle.jdeveloper.java.JavaModel.getSourceClass(JavaModel.java:364)
at oracle.jdeveloper.runner.Source.findURLForClassSource(Source.java:626
at oracle.jdeveloper.runner.Source.findURLForClassSource(Source.java:620
at oracle.jdeveloper.runner.Source.showSourceFile(Source.java:171)
at oracle.jdevimpl.runner.debug.DebuggingProcess.showSourceFile(Debuggin
gProcess.java:2719)
at oracle.jdevimpl.runner.debug.DebuggingProcess.showSourceIPIcon(Debugg
ingProcess.java:2782)
at oracle.jdevimpl.runner.debug.DebuggingProcess.debuggeeStopped(Debuggi
ngProcess.java:3093)
at oracle.jdevimpl.runner.debug.DebuggingProcess.activeProgramStopped(De
buggingProcess.java:3011)
at oracle.jdevimpl.runner.debug.DebuggingProcess.mav$activeProgramStoppe
d(DebuggingProcess.java:132)
at oracle.jdevimpl.runner.debug.DebuggingProcess$7.run(DebuggingProcess.
java:1810)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThre
ad.java:273)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.
java:183)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
ad.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)
java.lang.ClassCastException: oracle.ide.model.UnrecognizedTextNode cannot be ca
st to oracle.jdeveloper.library.JDKNode
at oracle.jdeveloper.library.JLibraryList.findJDK(JLibraryList.java:55)
at oracle.jdeveloper.library.JLibraryManager.findOrCreateDefaultJDK(JLib
raryManager.java:702)
at oracle.jdeveloper.library.JLibraryManager.getDefaultJDK(JLibraryManag
er.java:218)
at oracle.jdeveloper.model.JProjectLibraries.getJDK(JProjectLibraries.ja
va:121)
at oracle.jdeveloper.java.locator.ProjectClassLocator.getJDKFor(ProjectC
lassLocator.java:313)
at oracle.jdeveloper.java.locator.ProjectClassLocator.<init>(ProjectClas
sLocator.java:73)
at oracle.jdeveloper.java.locator.JdevClassLocatorFactory.getProjectLoca
tor(JdevClassLocatorFactory.java:101)
at oracle.jdeveloper.java.provider.ProjectFileProvider$6.run(ProjectFile
Provider.java:347)
at oracle.ide.model.NodeUtil.runUnderReadLock(NodeUtil.java:150)
at oracle.jdeveloper.java.provider.ProjectFileProvider.getClassLocator(P
rojectFileProvider.java:364)
at oracle.jdeveloper.java.provider.BaseFileProvider.getClassExactImpl(Ba
seFileProvider.java:430)
at oracle.jdeveloper.java.provider.CachedFileProvider.getClassExactImpl(
CachedFileProvider.java:697)
at oracle.jdeveloper.java.provider.BaseFileProvider.getClassLeftToRight(
BaseFileProvider.java:377)
at oracle.jdeveloper.java.provider.BaseFileProvider.getClass(BaseFilePro
vider.java:350)
at oracle.jdeveloper.java.JavaModel.getClass(JavaModel.java:317)
at oracle.jdeveloper.runner.Source.findURLForClassStub(Source.java:642)
at oracle.jdeveloper.runner.Source.findURLForClassStub(Source.java:636)
at oracle.jdeveloper.runner.Source.findOpenSourceStub(Source.java:661)
at oracle.jdeveloper.runner.Source.showSourceFile(Source.java:202)
at oracle.jdevimpl.runner.debug.DebuggingProcess.showSourceFile(Debuggin
gProcess.java:2719)
at oracle.jdevimpl.runner.debug.DebuggingProcess.showSourceIPIcon(Debugg
ingProcess.java:2782)
at oracle.jdevimpl.runner.debug.DebuggingProcess.debuggeeStopped(Debuggi
ngProcess.java:3093)
at oracle.jdevimpl.runner.debug.DebuggingProcess.activeProgramStopped(De
buggingProcess.java:3011)
at oracle.jdevimpl.runner.debug.DebuggingProcess.mav$activeProgramStoppe
d(DebuggingProcess.java:132)
at oracle.jdevimpl.runner.debug.DebuggingProcess$7.run(DebuggingProcess.
java:1810)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThre
ad.java:273)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.
java:183)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
ad.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)Pre-1.5, there were some occasions where the dialog would show, but now it seems it shows whenever the source isn't opened (tried also with a package).
Also pre-1.5, indicating the correct connection to search the source in would put sqldev on the right path again and the source would open correctly, but this doesn't work anymore. Maybe that's because you had to use the second drop-down, and in 1.5 there's only 1, which might be the useless (first) one from pre-1.5.
Besides, judging from the "$Oracle.Trigger.SCHEMA", I'd say sqldev already knows the right schema anyway, and the dialog shouldn't even pop up.
BTW, after opening the source myself, the debugger stepped right in...
Hope you've got enough to go on,
K.
Message was edited by:
-K-For the previous issues, see [2514] Remote debugger asks for source file.
K. -
I had a error message "Unable to Find Source File" when I used JDeveloper debugger.
The debugger has finished stepping, but it cannot find the source file.
Unable to find source file for package oracle.e1.bssv....
Project xxxxxx.jpr has already been searched
* Look for the file in Project
* Let me find the file myself with the open file dialog
* Don't ask me about this file again
The above 3 options are available
I checked and found previous posting for use 'Step Over' to bypass this problem. I tried and it did not work either.
Please let me know if anybody has similar problem and know the solution. Thanks
JDeveloper 10.1.3.4.0You see this dialog because you stepped into a statement which requires source code which is not part of your project (or you don't have). If you have the sources you can browse for them, if you don't have them answer the dialog with the third option.
You should try 'step out' instead of step over. Once you see this message it's to late to step over the statement (pointing to source you don't have available). You may need to set out a couple of times to get back to code you have sources from.
Timo -
Unable to find configuration file: jdk.conf
When i try to use sqldeveloper in lunix show this error
Unable to find configuration file: jdk.conf
Working directory is /u02/sqldeveloper/jdev/bin
Exception in thread "main" java.lang.NoClassDefFoundError: java/lang/StringBuilder
at oracle.ide.performance.PerformanceHandler.getPropertyObject(PerformanceHandler.java:41)
at oracle.ide.performance.PerformanceHandler.getFormatter(PerformanceHandler.java:31)
at oracle.ide.performance.PerformanceHandler.<init>(PerformanceHandler.java:25)
at oracle.ide.performance.PerformanceLogger.<init>(PerformanceLogger.java:66)
at oracle.ide.performance.PerformanceLogger.get(PerformanceLogger.java:94)
at oracle.ideimpl.Main.main(Main.java:21)
I NEED HELP
what can i do??This error looks like you are not using jdk 1.5+
-kris -
Unable to find/read file META-INF/ra.xml
When using the oc4j_admin_client to deploy an ear to a oas cluster I get this error, but only sometimes. I cannot find anything on the web that explains what might be causing this to occur. I'm guessing it might be with the configuration of OAS but even so I have no idea where to look. If anyone out there can give some advice it would help. Thanks,
[Summary] There are total 1 instances in the operation.
[Summary] Operation failed on applicationServerName/instanceName
[Summary] Operation on cluster FAILED since 1 instanced failed!
FINE: CoreRemoteMBeanServer.release call release on CoreRemoteMBeanServer: oracle.oc4j.admin.management.mejb.MEjb@5c1ae90c
FINE: CoreRemoteMBeanServer.release Call remove on MBeanServer EJB
FINE: CoreRemoteMBeanServer.release Call close on RMI Context: javax.naming.InitialContext@1629ce8c
SEVERE: J2EEDeploymentManager.deploy Deploy error: Operation failed with error:
Unable to find/read file META-INF/ra.xml in D:\oracle\u01\oas\10.1.3\j2ee\instanceName\connectors\AppName\AppName archive (IO Error: D:\oracle\u01\oas\10.1.3\j2ee\instanceName\connectors\AppName\AppName (The system cannot find the pat
h specified))
oracle.oc4j.admin.deploy.api.J2EEDeploymentException: Operation failed with error:Hi forum-hog,
I think this is due to a known product defect. The patch is available and can be downloaded and installed.
Please try the following:
1) Download and apply patch 9073284
2) Perform the deployment again
Hope this helps.
Thanks,
Cris -
Unable to find configuration file: JDeveloper.conf (Leopard)
jdev 10.1.3.3 will not start on OS X Leopard. Any ideas?
Here are the console messages:
Oracle JDeveloper 10g 10.1.3.3
Copyright 1997, 2007 Oracle. All Rights Reserved
Unable to find configuration file: JDeveloper.conf
Exited with exit code: 1
Regards.
Al MalinAm getting the same problem, unable to start jdeveloper on Mac OS X Leopard. but, am getting a different message in the console log
5/24/08 5:18:39 PM [0x0-0x14014].com.oracle.JDeveloper[150] Oracle JDeveloper 10g 10.1.3.3
5/24/08 5:18:39 PM [0x0-0x14014].com.oracle.JDeveloper[150] Copyright 1997, 2007 Oracle. All Rights Reserved
5/24/08 5:18:40 PM [0x0-0x14014].com.oracle.JDeveloper[150] Exception in thread "main" java.lang.NoClassDefFoundError: Mughrabi/jdevhome
5/24/08 5:21:13 PM com.apple.launchd[1] (0x10bbd0.mdworker[98]) Exited: Killed
Please advice? -
Unable to find credentials file
I have created a new composite with a bpel. It will build with no errors. When I run Build->Audit, I get the error "Unexpected Errror:: Unable to find credential file at /ade/hcamp_v11//ade hcamp_v11/fusionapps/build_metadata/ta/Assets.xml, rule File.Soa.32 is disabled."
I have checked and the Assets.xml file is there.
I have tried cleaning project from within JDEV, cleaning the view, refreshing the view, ant build, and I still get the audit error. When I try a premerge, it will not build.
Does anyone have any idea?I manually checked out the project.jws and check it back in. For some reason
this fixed the pre-merge build. -
Unable to find the file NavGuide.htm
I installed some extensions yesterday, and promptly uninstalled them again. Now I am getting the following message:
Unable to find the file NavGuide.htm in the Confirutration/Floaters directory. The floater will not be shown.
Any suggestions on what config file I need to clean up that removing the extension didn't clean up for me?Well, Adobe support got back to me with a quick and easy solution to reset the configuration
settings:
1. Quit Dreamweaver.
2. Rename the Configuration folder in the "Users\[user]\AppData\Roaming\Adobe\Dreamweaver CS4\(installation language)\" folder.
3. Open regedit and delete the whole "HKEY__CURRENT_USER\Software\Adobe\Dreamweaver CS 4" key.
4. Restart Dreamweaver and it will be like a new installation.
This would obviously loose any other configuration, but would also work to fix any other extension clean up issues. The nice thing was that the extension manager still showed my old extension as installed, just not active so I didn't have to redownload them. -
We have a Final Cut Server setup where after two weeks assets will automatically be archived to tape. Every so often I am getting error messages that state something similar to the following:
Job 404117 Archiving 214452_upload.mov needs attention. Please login and troubleshoot.
The error that occurred was:
"ERROR: E_FILE Unable to find md file: /Volumes/xsan/MEDIA/devices/video.bundle/3dd/00000000000203dd_md No such file or directory"
Naturally I will look at the directory path and will not see the file. When I search for that particular asset it will show up as online, but the "original media" is grayed out. Then there will be an exclamation point over the file cabinet (which says the file is online). So the media is missing. When I look at the log of the file, there will also be an email that was sent out to the creator saying that the file was ready for editing.
Any thoughts are greatly appreciated.
Eddie(1) Download the Windows Installer CleanUp utility installer file (msicuu2.exe) from the following Major Geeks page (use one of the links under the "DOWNLOAD LOCATIONS" thingy on the Major Geeks page):
http://majorgeeks.com/download.php?det=4459
(2) Doubleclick the msicuu2.exe file and follow the prompts to install the Windows Installer CleanUp utility. (If you're on a Windows Vista or Windows 7 system and you get a Code 800A0046 error message when doubleclicking the msicuu2.exe file, try instead right-clicking on the msicuu2.exe file and selecting "Run as administrator".)
(3) In your Start menu click All Programs and then click Windows Install Clean Up. The Windows Installer CleanUp utility window appears, listing software that is currently installed on your computer.
(4) In the list of programs that appears in CleanUp, select any iTunes entries and click "Remove", as per the following screenshot:
(5) Quit out of CleanUp, restart the PC and try another iTunes install. Does it go through properly this time? -
Where can i find .properties file for jco connection?
For jco connection to SAP, we need .properties file. Is this file already contained in Exchange Profile or somewhere??
If yes, where can i find .properties file for jco connection or what is the path to this file?
OR, do we have to create manually??
Any help is appreciated.
Thanks.
KarmaHi Karma,
Please take a look at these..
Where to set up the JCO connection?
http://help.sap.com/saphelp_nw04/helpdata/en/bc/42e13d82fcfb34e10000000a114084/frameset.htm
http://help.sap.com/saphelp_webas620/helpdata/en/bc/42e13d82fcfb34e10000000a114084/content.htm
cheers,
Prashanth
Maybe you are looking for
-
How to reference a class without using the new keyword
I need to access some information from a class using the getter, but I don't want to use the new keyword because it will erase the information in the class. How can I reference the class without using the new keyword. ContactInfo c = new ContactInfo(
-
Help with submit button on PDF form
I created a form via the Forms Central desktop app then saved it as a PDF to my desktop. When opening in Adobe Acrobat XI Pro, I noticed that I am unable to include a submit button - it does not let me edit the PDF. I've tried going back into Forms
-
Add watermark to pdf stored in a table
Hi, I would like to add watermark to pdf documents. The documents are uploaded and stored in the database. When a user will request a file, I would like to add the username and the timestamp in the requested file. Any solutions for this (java stored
-
I want to disable mouse events to be performed on my JFrame. How Should I do this? I used disableEvents method of Component class. But id doesn't function. Here is the code I am using import java.awt.*; import javax.swing.*; import java.awt.event.*;
-
I am brand to new creating an app or writing code. I just thought of an idea for an app that isn't created yet so I wanted to reseach how to do that. I understand it will take a long time to learn how to write code and everthing else that goes into