Problem with manifest
Well i am using netbeans for a project of mine!
I have finished most of it but when i built my project to create a JAR file , the JAR file is created but no manifest.
i tried to create a jar from command line but stil the same problem!
Any ideas?
well i dont know what to say exactly..
i tried everyhting i found on the net about jar files!
i tried to make a jar form the command line i tried through an IDE and nothing works!!
I read somewhere that the Manifest file should be created when i clean built my project ( it doesnt for me)
then i created one manually and somehow i managed to cxreate a JAR ( jar cmf manifest jar-name <file added>) and i could view the stuff in the JAR file but i coulndt execute them !!
Similar Messages
-
Problem with manifest file and Plateau LMS
I have published a course with a quiz in SCORM 1.2 and tried
to upload to a Plateau LMS.
It seems that a "page cannot be found" message is the result
after upload and we try to launch the course. The course works
outside the LMS (when run locally on my computer).
The Plateau LMS support team tried to help, and found the
following: "There is something wrong with this manifest, though I
cannot ascertain what that is exactly. Most of the file name is in
the parameter field, which is causing the launch path to look like
this:
/content/apmm/cbcgis/mars/BRTMAIN/MARS?BRT%20Maintenance%20Template_%2020080226.htm=
Everything in the parameters field is placed after the
filename in a URLencoded querystring after the question mark that
you see above. it should look like this:
/content/apmm/cbcgis/mars/BRTMAIN/MARS BRT Maintenance
Template_ 20080226.htm"
Can anyone please help resolve this, or have any advice?
This is the first time we have tried uploading Captivate
courses to this LMS, and we have been having problems with the
manifest file in general. I have looked at all the material I can
find on publishing and the manifest file, but cannot seem to
resolve my issue.
Thanks
WarwickWarwick,
I have had this error with an Authorware set of SCORM files
when my LMS was looking for index.htm and I had named it index.html
- you wouldn't think that would cause an error but it did. I would
be more than happy to package a Captivate file of just a few
screens that works on my LMS (which is Learn.com's Learning
Center), and send you the SCORM files to test... That could be a
start anyhow. I will send you a private msg. with my e-mail
id. -
Problems with Manifest building jar file
Hello all,
i try to deploy my application in a jar file. I also have some libs to deploy with my application. My app.jar and my lib.jar are in the same directory. My Manifest looks like:
Manifest-Version: 1.0
Main-Class: parser.Parser
Class-Path: lib.jar
Class-Path: ...Still get the error: NoClassDefFoundError.
Main Class is found but not my lib. Can somebody help?
regards akHi CeciNEstPasUnProgrammeur,
many thanks. I was blind reading the Java tutorial...
Best regards,
ak -
Hi all,
I have application which is running fine both from my netbeans ide and from command prompt, but when i run a jar file created either by netbeans or from command line using " jar cmf mainClass.txt Nyse_Proj.jar *.class" i get an error Could not find Main Class. program will exit. The mainClass.txt file contains Main-Class: MainForm and is followed by a blank line. MainForm is the where the main program begins.
can you please help me .Did you create a script? (run.bat)
ther you write where is your main
java com.matarotqm.QM6.main.Main - in my case :)
I set you example' help it's will help your question:
set QM6_HOME=C:\MyJava\deploy
cd %QM6_HOME%
set CLASSPATH=%QM6_HOME%\QM6.jar
set CLASSPATH=%CLASSPATH%;lib\antlr-2.7.6rc1.jar
set CLASSPATH=%CLASSPATH%;lib\asm.jar
set CLASSPATH=%CLASSPATH%;lib\asm-attrs.jar
set CLASSPATH=%CLASSPATH%;lib\cglib-2.1.3.jar
set CLASSPATH=%CLASSPATH%;lib\commons-collections-2.1.1.jar
set CLASSPATH=%CLASSPATH%;lib\commons-logging-1.0.4.jar
set CLASSPATH=%CLASSPATH%;lib\dom4j-1.6.1.jar
set CLASSPATH=%CLASSPATH%;lib\hibernate3.jar
set CLASSPATH=%CLASSPATH%;lib\jga-0.7.2-cddl.jar
set CLASSPATH=%CLASSPATH%;lib\jta.jar
set CLASSPATH=%CLASSPATH%;lib\log4j-1.2.11.jar
set CLASSPATH=%CLASSPATH%;lib\msjdbcproxy-1.1.jar
set CLASSPATH=%CLASSPATH%;lib\mysql-connector-java-5.0.4-bin.jar
set CLASSPATH=%CLASSPATH%;lib\ojdbc14.jar
set CLASSPATH=%CLASSPATH%;lib\sqljdbc.jar
set CLASSPATH=%CLASSPATH%;lib\swinglabs-0.8.0.jar
set CLASSPATH=%CLASSPATH%;lib\jacob.jar
set CLASSPATH=%CLASSPATH%;jacob.dll
set CLASSPATH=%CLASSPATH%;SMSCom.dll
java com.matarotqm.QM6.main.Main -
Problems With System Configuration
System Configuration is altered and not repairable. Selective startup is persistent. Normal startup is selected, but the Apply button is greyed out, inaccessible, and system always remains in Selective startup. As a result, Current User profile is probably
corrupted. Windows Store will not install (services are corrupt, SFC and DISM did not work). Outlook profile was deleted, needed to be reinstalled, and can not receive mail. Excel math engine totals values higher than actual amounts. IE automatically signs
into all Microsoft accounts (reset to default settings worked for a log on, but automatic sign in resumed afterwards).
Are there any solutions?
Office diagnostics produced the following report.
Diagnostic Results
None of the Microsoft Office Diagnostics found any problems.
More resources
Setup Diagnostic — File corruption or altered file
The Setup Diagnostic repaired problems with your installation of Microsoft Office. Your Microsoft Office programs should now function correctly.
If your Microsoft Office programs continue to crash, the source of the problem may be a hardware failure or hardware configuration problem. Review the results of the Disk and Memory Diagnostics to determine if a hardware failure is affecting your installation
of the 2007 Office release.
More resources
Setup Diagnostic — Missing media
The Setup Diagnostic was not completed because a valid source was not found. Either the local installation source is missing, or the original source that was used to install Microsoft Office is not available to the repair process. You may need to provide
the original source to allow this diagnostic to run successfully. Valid sources for the 2007 Office release include the following:
Your 2007 Office release installation CD
An installation disk or repair CD provided by the vendor of your computer
A connection to a network installation of the 2007 Office release
After you obtain access to a valid source, run Office Diagnostics again.
More resources
Disk Diagnostic — Failure of hard disk predicted
The Self-Monitoring, Analysis, and Reporting Technology (SMART) feature of your hard disk has found errors that may indicate that the hard disk is likely to fail. SMART is a feature that some disk drive manufacturers provide to give users advance notice
of potential hard disk failure. Instability in your Microsoft Office programs may be the result of these hard disk drive errors.
Note This result can indicate a severe problem, but some hard disks may not accurately report their results.
We recommend that you do the following:
1.Back up your important data immediately.
2.Check the results of other diagnostics, and follow the instructions for resolving any issues that the other diagnostics have reported. After you resolve those issues, run Microsoft Office Diagnostics again to see if this Disk Diagnostic issue is resolved.
3.If you continue to get this result, contact someone, such as the vendor of your computer or hard disk.
More resources
Disk Diagnostic — Errors in system event log
The Disk Diagnostic found evidence of hardware errors. Instability in your Microsoft Office programs may be the result of these hardware errors.
This result occurs if one of the following has happened recently:
The Self-Monitoring, Analysis, and Reporting Technology (SMART) feature of your hard disk has found errors. SMART is a feature that some disk drive manufacturers provide to give users advance notice of potential hard disk failure.
Microsoft Office Diagnostics has found blocked-out (failed) sectors on your hard disk.
Microsoft Office has had trouble accessing files from the hard disk; it needs these files to function properly.
We recommend that you do the following:
1.Check the results of other diagnostics, and follow the instructions for resolving any issues that the diagnostics have reported. After you resolve those issues, run Microsoft Office Diagnostics again to see if this Disk Diagnostic issue is resolved.
2.If you continue to get this result, contact someone, such as the vendor of your computer or hard disk.
More resources
Memory Diagnostic — RAM failure
The Memory Diagnostic found evidence of failure in the random access memory (RAM).
We recommend that you do the following:
1.Check the results of other diagnostics, and follow the instructions for resolving any issues that the diagnostics have reported. After you resolve those issues, run Microsoft Office Diagnostics again to see if this Memory Diagnostic issue is resolved.
2.If you continue to get this result, do either of the following:
Run a Microsoft Windows memory diagnostic. For more information, see the following:
Windows Vista How do I know if my computer has a memory problem?
Microsoft Windows XP Windows Memory Diagnostic
Contact someone, such as the vendor of your computer or RAM.
More resources
Memory Diagnostic — User is not an administrator
The Memory Diagnostic was unable to run because you do not have administrative rights on this computer. To successfully run the Memory Diagnostic, someone with administrative rights must log on to this computer and run Microsoft Office Diagnostics.
More resources
Update Diagnostic — Installation is out of date
The Update Diagnostic determined that your installation of Microsoft Office does not have the latest service packs installed. Installing service packs improves stability. We recommend that you visit Downloads on Microsoft Office Online, and then, under Office
Update, click Check for Updates.
More resources
Compatibility Diagnostic — Conflicting versions of Outlook found
The Compatibility Diagnostic identified conflicting versions of Microsoft Office Outlook. To remove the version of Outlook from your computer that you do not want, do the following:
Microsoft Windows Vista
1.Click the Start button, and then click Control Panel.
2.Click Uninstall a program.
Note In Classic view, double-click Programs and Features.
3.Select the version of Outlook that you do not want, and then click Uninstall.
Microsoft Windows XP
1.Click Start, and then click Control Panel.
2.Double-click Add or Remove Programs.
3.Select the version of Outlook that you do not want, and then click Remove.
More resourcesCheck disk and memory diagnostics found no errors.
SFC and DISM listed errors when performed in diagnostic start up. Commands changed from previous attempts. Before SFC and DISM only had to be entered as SFC and DISM. Presently, additional commands are required.
Log Name: Microsoft-Windows-MemoryDiagnostics-Results/Debug
Source: Microsoft-Windows-MemoryDiagnostics-Results
Date: 8/21/2014 12:51:09 PM
Event ID: 2001
Task Category: None
Level: Information
Keywords:
User: SYSTEM
Computer: TAS
Description:
Windows Memory Diagnostic results
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Microsoft-Windows-MemoryDiagnostics-Results" Guid="{5F92BC59-248F-4111-86A9-E393E12C6139}" />
<EventID>2001</EventID>
<Version>0</Version>
<Level>4</Level>
<Task>0</Task>
<Opcode>0</Opcode>
<Keywords>0x4000000000000000</Keywords>
<TimeCreated SystemTime="2014-08-21T16:51:09.612555200Z" />
<EventRecordID>1</EventRecordID>
<Correlation />
<Execution ProcessID="5296" ThreadID="5300" />
<Channel>Microsoft-Windows-MemoryDiagnostics-Results/Debug</Channel>
<Computer>TAS</Computer>
<Security UserID="S-1-5-18" />
</System>
<UserData>
<Results xmlns="http://manifests.microsoft.com/win/2005/08/windows/Reliability/Postboot/Events">
<MemDiagRawData>89170000000000000200000003000000050000000A000000D80300000C0000000200000000000000964017005B090000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000C800000000000000707E748DCE00000001000000C800000000000000C8000000000000000C00000038000000DE07080015000C001E00200000000700964017005B09000001000020000001000C00010000000000020001001E00010000000000040001004200010000000000060001002E0001000000000001000100660001000000000003000100EC00010000000000000001000D00020000000000020001001D00020000000000040001004200020000000000060001002F0002000000000001000100650002000000000003000100EC00020000000000</MemDiagRawData>
</Results>
</UserData>
</Event>
Windows Resource Protection could not start the repair service.
Microsoft Windows [Version 6.3.9600]
(c) 2013 Microsoft Corporation. All rights reserved.
C:\WINDOWS\system32>DISM
Deployment Image Servicing and Management tool
Version: 6.3.9600.17031
DISM.exe [dism_options] {Imaging_command} [<Imaging_arguments>]
DISM.exe {/Image:<path_to_offline_image> | /Online} [dism_options]
{servicing_command} [<servicing_arguments>]
DESCRIPTION:
DISM enumerates, installs, uninstalls, configures, and updates features
and packages in Windows images. The commands that are available depend
on the image being serviced and whether the image is offline or running.
GENERIC IMAGING COMMANDS:
/Get-MountedImageInfo - Displays information about mounted WIM and VHD images.
/Get-ImageInfo - Displays information about images in a WIM or VHD file.
/Commit-Image - Saves changes to a mounted WIM or VHD image.
/Unmount-Image - Unmounts a mounted WIM or VHD image.
/Mount-Image - Mounts an image from a WIM or VHD file.
/Remount-Image - Recovers an orphaned image mount directory.
/Cleanup-Mountpoints - Deletes resources associated with corrupted mounted images.
WIM COMMANDS:
/Capture-CustomImage - Captures customizations into a delta WIM file on a WIM Boot system. Captured directories include all subfolders and data.
/Get-WIMBootEntry - Displays WIMBoot configuration entries for the specified disk volume.
/Update-WIMBootEntry - Updates WIMBoot configuration entry for the specified disk volume.
/List-Image - Displays a list of the files and folders in a
specified image.
/Delete-Image - Deletes the specified volume image from a WIM file
that has multiple volume images.
/Split-Image - Splits an existing .wim file into multiple
read-only split WIM (SWM) files.
/Export-Image - Exports a copy of the specified image to another
file.
/Append-Image - Adds another image to a WIM file.
/Capture-Image - Captures an image of a drive into a new WIM file. Captured directories include all subfolders and data.
/Apply-Image - Applies an image.
/Get-MountedWimInfo - Displays information about mounted WIM images.
/Get-WimInfo - Displays information about images in a WIM file.
/Commit-Wim - Saves changes to a mounted WIM image.
/Unmount-Wim - Unmounts a mounted WIM image.
/Mount-Wim - Mounts an image from a WIM file.
/Remount-Wim - Recovers an orphaned WIM mount directory.
/Cleanup-Wim - Deletes resources associated with mounted WIM images that are corrupted.
IMAGE SPECIFICATIONS:
/Online - Targets the running operating system.
/Image - Specifies the path to the root directory of an offline Windows image.
DISM OPTIONS:
/English - Displays command line output in English.
/Format - Specifies the report output format.
/WinDir - Specifies the path to the Windows directory.
/SysDriveDir - Specifies the path to the system-loader file named BootMgr.
/LogPath - Specifies the logfile path.
/LogLevel - Specifies the output level shown in the log (1-4).
/NoRestart - Suppresses automatic reboots and reboot prompts.
/Quiet - Suppresses all output except for error messages.
/ScratchDir - Specifies the path to a scratch directory.
For more information about these DISM options and their arguments, specify an option immediately before /?.
Examples:
DISM.exe /Mount-Wim /?
DISM.exe /ScratchDir /?
DISM.exe /Image:C:\test\offline /?
DISM.exe /Online /?
C:\WINDOWS\system32>DISM.exe /English
Deployment Image Servicing and Management tool
Version: 6.3.9600.17031
Error: 1639
No DISM options were specified on the command-line.
Run DISM with a command-line option specified, such as /Image or /Online. For more information, refer to the help by running DISM.exe /?.
The DISM log file can be found at C:\WINDOWS\Logs\DISM\dism.log -
I have a project that runs great on oc4j 10.0.3.4 under jdk 1.6. (everything worked great)
I recently tried to run it under jdk 1.5 and i've run into a little problem with the shared-lib's:
The classloader's debug file reports the following: (i have translated some of it)
Class error: oracle.classloader.util.AnnotatedNoClassDefFoundError:
Missing class: javax.xml.bind.JAXBContext
Dependant class: nl.comp.util.XmlUtil
Classloader: comp:0.1
Code-source: /C:/programs/oc4j/j2ee/home/shared-lib/comp/0.1/comp.jar
Configuration: <code-source> in /c:/programs/oc4j/j2ee/home/config/server.xml
The missing class is available from the following location:
1. Code-source: /C:/programs/oc4j/lib/xml.jar (from <code-source> (ignore manifest Class-Path) in META-INF/boot.xml in C:\programs\oc4j\j2ee\home\oc4j.jar)
This code-source is available from classloader oracle.xml:10.1.0_2
2. Code-source: /C:/programs/oc4j/j2ee/home/shared-lib/jaxb/2.1.6/jaxb-api.jar (from <code-source> in /c:/programs/oc4j/j2ee/home/config/server.xml)
This code-source is available from classloader jaxb:2.1.6.
So the classloader knows where to find the necessary lib, but it isn't loading it? If i run the exact same code (with same descriptors and everything) under jdk 1.6, it works, under 1.5 i get the above error.
What is different on the class loader level between the two jdk versions that might affect the program in such a way?
Need i update a descriptor or do something else?Jack,
Not a definitive answer for you (sorry), just a few suggestions (that I assume you are unaware of).
1. Try unsetting your "ClassPath" variable. Open a "command" window and type the following:
set ClassPath=2. Launch OC4J from the directory where the "oc4j.jar" file is located, for example:
D:
cd oc4j\j2ee\home
java -jar oc4j.jar3. I'm just guessing, but if your drive "D:" is a mapped, network drive, this may be causing the problem. Perhaps try installing OC4J on a local drive?
Hope this helps.
Good Luck,
Avi. -
Problems with report builder 3.0 in SCCM 2012 R2 CU2
Hi All
I have problems with editing (Using Report builder) existing reports or creating new ones in SCCM 2012 R2 CU2
We version of SQL we use is SQL 2008 R2 SP2
I already asked this question in the SCCM 2012 forum but the problem is not related to SCCM but has something to do with application report builder
I changed the registry key and edited the Microsoft.ConfigurationManagement.exe.config.xml as described in the following link
http://blogs.technet.com/b/smartinez/archive/2012/07/03/system-center-2012-configuration-manager-create-report-don-t-work-what-do-i-do-now.aspx
Afterwards I try to edit an report I see report builder is being downloaded and after it generates the following error “Application did not succeed. Unable to continue”
Error details are
Following errors were detected during this operation.
* [22-7-2014 13:55:07] System.Deployment.Application.InvalidDeploymentException (HashValidation)
- File, Microsoft.DataWarehouse.dll, has a different computed hash than specified in manifest.
- Source: System.Deployment
- Stack trace:
at System.Deployment.Application.ComponentVerifier.VerifyFileHash(String filePath, Hash hash)
at System.Deployment.Application.ComponentVerifier.VerifyFileHash(String filePath, HashCollection hashCollection)
at System.Deployment.Application.ComponentVerifier.VerifyComponents()
at
System.Deployment.Application.DownloadManager.DownloadDependencies(SubscriptionState subState, AssemblyManifest deployManifest, AssemblyManifest appManifest, Uri sourceUriBase, String targetDirectory, String group, IDownloadNotification notification, DownloadOptions
options)
at System.Deployment.Application.ApplicationActivator.DownloadApplication(SubscriptionState subState, ActivationDescription actDesc, Int64 transactionId, TempDirectory& downloadTemp)
at System.Deployment.Application.ApplicationActivator.InstallApplication(SubscriptionState& subState, ActivationDescription actDesc)
at System.Deployment.Application.ApplicationActivator.PerformDeploymentActivation(Uri activationUri, Boolean isShortcut, String textualSubId, String deploymentProviderUrlFromExtension, BrowserSettings browserSettings, String& errorPageUrl)
at System.Deployment.Application.ApplicationActivator.ActivateDeploymentWorker(Object state)
And in the SmsAdminUI.log I noticed the following error
[16, PID:4460][07/21/2014 14:11:43] :[ReportProxy] - User-specified default Reporting Point [Server1.local.nl] could not be found, [Server2.local.nl] is now the default Reporting Point.
[1, PID:4460][07/21/2014 14:11:11] :System.InvalidOperationException\r\nThere is an error in XML document (1, 1).\r\n at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events)
I removed the reporting point no luck -> I already installed report builder 3.0 local on my computer still no luck.
I hope someone can give me some advice , I am lost with this error
Thx in advance
Regards
JohanHi Miss Katherine,
1. I went through the SQL steps in the link you posted
2. I updated the Reg Key and Microsoft.ConfigurationManagement.exe.config file with 3.0 on both the
server and the console machine.
3. I copied the .DLL file from your OneDrive and replaced the existing one on the server.
4. I uninstalled and re-installed the reporting role on the server and received the 1015 in the log.
5. I restarted the server and the client machine
I do get a slightly different error now after using the new DLL
Errors With Original DLL
ERROR DETAILS
* [9/30/2014 8:42:03 AM] System.Deployment.Application.InvalidDeploymentException (HashValidation)
- File, Microsoft.DataWarehouse.dll, has a different computed hash than specified in manifest.
- Source: System.DeploymentERROR DETAILS
Errors With New DLL
ERROR DETAILS
Following errors were detected during this operation.
* [9/30/2014 9:17:13 AM] System.Deployment.Application.InvalidDeploymentException (RefDefValidation)
- Reference in the manifest does not match the identity of the downloaded assembly Microsoft.DataWarehouse.dll.
- Source: System.Deployment -
How to Package Photoshop Extension for cs4/cs5 with manifest.xml
Hello,
tl;dr: How can I package my extension for both cs4 and cs5 in a way that respects the extension's window geometry?
I have a panel that specifies window geometry in it's manifest.xml. When the panel is installed into Photoshop's panels/ folder, the geometry gets ignored, so I'm trying to package the panel as an extension to be installed via the Extension Manager. I have run into different problems for each CS version. I've read quite a few pdfs about the Extension Manager, UCF command line packaging, etc, and have not been able to find a solution that works for both platforms.
My understaning
My trial and error research has lead me to understand that the extension's files must eventually end up in the (mac) /Library/Application Support/Adobe/<CSversion>ServiceManager/extensions/ directory. In CS5, if the extension's folder contains a manifest.xml file (ex: /extensions/GuideGuide/CSXS/manifest.xml) that specifies window geometry, Photoshop will respect that window geometry when the panel opens. However, in CS4, this is not enough. From my tests, Photoshop CS4 doesn't seem to do anything with the manifest.xml file. Instead, I had to modify /Library/Application Support/Adobe/CS4ServiceManager/ServiceManifest.xml and add my extension to it's contents. Once I did this, Photoshop CS4 launches my panel and respects it's window geometry.
The problem with this is that it's a manual installation. I can't ask my users to dig around in their system files to install my panel. In addition, since it's unsigned using this method, it won't work if they're not flagged for debugging. I've started exploring using the Extension Manager, but I have run into problems that I cannot find ansers in the few pdfs about packaging that I've been able to find.
CS5 Problems
If I use the UCF command line tool, I can package and sign my file. It installs fine and does what I want. However, using this method, I haven't been able to find a way to specify the author and description that shows up in the Extension Manager.
CS4 Problems
The UCF command line tool doesn't appear to make packages that can be installed by CS4, and I haven't been able to find one that is compatable. I've had to result to using the Extension Manager to package my extension based on a .mxi file. The problem I have here is that installing files this way limits me to putting them in the /panels directory, which then causes the panel to ignore the indow geometry. Is there a way with an .mxi file to install in the /Library/Application Support/Adobe/<CSversion>ServiceManager/extensions/ directory and modify the /Library/Application Support/Adobe/CS4ServiceManager/ServiceManifest.xml file?
There must be, because Kuler and other extensions are installed there.
Thank you SO much for any help you might provide. I've spent weeks trying to get this to work and have run into nothing but dead ends and wild goose chases.Your extension is a CSXS extension. For CSXS extension it's introduced in Extension Manager 2.1. (You can download Extension manager 2.1 from http://www.adobe.com/exchange/em_download/em20_download.html)
In Extension Manager CS2.1 only MXP package is supported. In Extension Manager CS5 CSXS extension must be packaged by ZXP format. So you have to generate two packages for CS4(mxp) and CS5(zxp)
For CS5, you can use ucf.jar to generate the zxp package.
For CS4, you have to create an MXI file and package it by Extension Manager 2.1 to mxp package. Here is a sample CSXS mxi file:
<macromedia-extension
name="CSXS_TEST_EXTENSION"
version="1.0.0"
type="Command"
requires-restart="true">
<author name="Macromedia" />
<products>
<product name="Dreamweaver" version="10" primary="true" />
<product name="Fireworks" version="10" primary="true" />
<product name="Flash" version="10" primary="true" />
<product name="" version="11" familyname="Photoshop" primary="true" />
<product name="Illustrator" version="14" primary="true" />
<product name="CSXS" version="1" />
</products>
<description>
<![CDATA[
CSXS extension sample.
]]>
</description>
<ui-access>
<![CDATA[
Extension Name: kuler
]]>
</ui-access>
<license-agreement>
<![CDATA[
]]>
</license-agreement>
<files>
<file source="test_extension" destination="" />
</files>
</macromedia-extension> -
Weird Problem With Dates in Finder and Mail
I have a MBPr running 10.8.2 which is exhibiting a very strange behaviour related to dates.
Initially, the problem manifested in Mail where the date shown in the message list for each message was exactly the same, regardless of the date sent/received. Oddly, this problem only manifested in the "new" mail view. Switching to "Classic" view in Mail prefs works fine. This seemed odd enough, but only related to mail.
Then, I noticed the exact same date was the Creation, Modification, and Last Opened date for many files (including all of the .emlx files in the Mail folder) as shown in the preview column in the Finder's column view. Oddly, the exact same files show different Creation/Modification/Opened dates when viewed in a Get Info window or when listed in the Terminal with ls -l.
Clearly there is some kind of issue with a cache, or an index of some sort that is accessed by the Finder and/or Mail. I'm attaching a screenshot of the Get Info window and the Finder preview column for a file. Thanks for any info anyone can shed on this.Embarrassingly, the "More Like This" box to the immediate right of my post shows a discussion titled "Incorrect dates in column view preview" that fixed the problem.
How this affects the "new" view in Mail and not the "Classic" view is beyond me, but I'm also beyond caring at this point. -
Problem with creation of jar with external libraries
hi guys, I've no problem with creation of jar,i use this command:
jar -mcf MANIFEST.MF NameFile.jar *.class
my file manifest is this:
Manifest-Version: 1.0
Created-By: Me
Main-Class: NameFile
Now,I've to make a jar file,but i have to use some external libraries in jar format.
I've read on sun tutorial and i've added to manifest this line:
Class-Path: dt.jar formshelp.jar formsrt.jar jh.jar looks-1.3.1.jar substance.jar TableLayout.jar
But the jar file doesn't work, neither with a double click nor with console...
Someone can help me?Thanks!:)Darkweb wrote:
sorry but,the external libraries that i use are in .jar,what i've to do to include these libraries in my jar?One of 3 things
1) Take them out of the jar, and put them in a folder, preferably a folder in the same folder as the jar
2) Write a custom classloader to load classes from nested jars
3) Extract the contents of all the dependency jars, and jar them all up with your own code
The first is almost always the most preferable, the second one is doable but brittle and resistent to updating dependencies ( you have to release everything for any changes you need, even if it's not a change in your own code ) and the third one is tedious and suffers from the same robustness problems of the second, not to mention that a lot of software licences prohibit you from actually doing it. Do the first one, it's by far the most common and easiest to maintain. I really wouldn't advise the third option, ever, though. Any activity that reduces the modularity of your application is ill-advised -
Problems with flah player i found a clue to solve
Well, for everybody that is not being able to install flash
player(including me) on internet explorer here is my history :
I'm having problems to install flash player on internet
explorer since adobe bought the company, i read a lot of posts from
all kinds of forums without a clue on how to solve the problem, the
adobe support for flash player is a joke, i tried everything on the
support page and none of the solutions solved the problem, than i
downloaded the full installer of flash player version 7 to try to
install it cause i thought that the problem was the version, but
before i tried to install version 7 i tryed to install the version
9 on firefox; the result it worked(thanks god), i use firefox and
ie on the same computer on the same user. I was intriged why flash
installed on firefox and not on ie. Well than i tryed to install
version 7 on ie but on the installation screen the installer only
recognized the firefox browser, than i clicked on the button other
browser to manually search ie, and for my suprise the installer
wanst able to reach the file iexplore.exe, intriged by that i
opened windows explorer to check if the file was there and it
was!!! So i figured out that i wanst able to install flash player
on ie cause it doenst recognized/found the iexplore.exe file. Thats
a clue to solve the problem with ie if somebody have any idea on
how to make flash find iexplorte.exe please post in the forum. At
least if i wanna see any flash content i can use firefox to do it.
And PLEASE ADOBE DO SOMETHING ABOUT IT, MANIFEST YOURSELF.***A GOOD FIX***
I was fighting with this problem for months and finally found
a good fix. This is what I did:
1. Use the uninstaller at Adobe's Web site following the
instructions given here:
http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_14157
2. Empty temporary files and internet cache and restart.
3. Download the latest FlashPlayer version 9 from Adobe's web
site here:
http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash
At this point check and be sure that you have a file named
"Flash.ocx" in both your Windows\ServicePackFiles\i386 and
Windows\System32\Macromed\Flash folders, as well as the
"Flash9.ocx" in the Windows\System32\Macromed\Flash folder. If you
do, you have a good install.
4. Download Flash8.ocx from www.rrdownloads.net/Flash.zip
(I'm sure this file must be buried on Adobe's site somewhere, but I
couldn't find; nonetheless, this is a safe link)
5. Unzip the active x file into your
Windows\System32\Macromed\Flash folder
6. In the same Windows folder, rename "Flash9.ocx" to
Flash-9.ocx (or anything else)
7. Then rename the Flash8.ocx (from the downloaded zip file)
to Flash9.ocx
Restart et voila ... no more crash errors.
Also be sure you have Sun's Java J2SE Runtime Environment 5,
Update 7 installed and any Pop Up or Ad Blockers turned off ...
sometimes these will interfere in viewing flash content.
Caution: This fix has worked for me on a WinXP Pro and WinXP
Home O/S, running IE6. I cannot vouch for any others. I hope it
works for you! -
Problem with a signed applet and a user machine.
Hello. I´m having some problems with a signed applet with some dependences.
In one particular computer the applet doesn´t load.
The java version installed in that computer is 1.6.0_25.
The invocation tag:
<applet name=applet id="applet" code=Applet/RequestApplet.class width=155 height=21 archive="RequestApplet.jar " MAYSCRIPT>
<param id="parametro1" name="usuario" value="<Computed Value>">
</applet>The RequestApplet.jar and dependences:
bcmail-jdk13-145.jar(signed by bouncy castle), jce-ext-jdk13-145.jar(signed by bouncy castle), AbsoluteLayout.jar, plugin.jar, RequestApplet.jar(signed by me)*this files are all in the same folder.
The requestApplet.jar manifest:
Manifest-Version: 1.0
Ant-Version: Apache Ant 1.7.1
X-COMMENT: Main-Class will be added automatically by build
Class-Path: bcmail-jdk13-145.jar jce-ext-jdk13-145.jar plugin.jar Abso
luteLayout.jar
Created-By: 10.0-b23 (Sun Microsystems Inc.)
Main-Class: Applet.RequestApplet
Name: Applet/ResponseApplet$1.class
SHA1-Digest: fO5IPiwEH3OhvlprhBecmMIAVJI=
Name: Applet/NewJApplet.class
SHA1-Digest: 6XSpm7lQEQRi39TegoUYv2aFJrk=
Name: Applet/ResponseApplet.class
SHA1-Digest: v1EbKUFB+QdvO05xx8UzAMNIyRs=
Name: Applet/ResponseApplet$4.class
SHA1-Digest: XH4I67psXZTelpz0AMAYc/Ej8QY=
Name: Applet/RequestApplet$1.class
SHA1-Digest: KAP5sAC4Thv/6GClkFAdGUVzgYA=
Name: Applet/ResponseApplet$5.class
SHA1-Digest: CVPnKrW2SgNEkRzYnVnQe3KGrIU=
Name: Applet/ResponseApplet$3.class
SHA1-Digest: SjfW1k1K7BA9m3AxmHi+jvRE+9o=
Name: Applet/ResponseApplet$2.class
SHA1-Digest: 3Pu18CZMLuEh7/n3y7XxFSkuNQY=
Name: Applet/RequestApplet.class
SHA1-Digest: Tky85es5+o371adetH9XVEI2Z+o=The error:
java.lang.RuntimeException: java.lang.NoClassDefFoundError: org/bouncycastle/jce/provider/BouncyCastleProvider
at sun.plugin2.applet.Plugin2Manager.createApplet(Unknown Source)
at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NoClassDefFoundError: org/bouncycastle/jce/provider/BouncyCastleProvider
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Unknown Source)
at java.lang.Class.getConstructor0(Unknown Source)
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at sun.plugin2.applet.Plugin2Manager$12.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$000(Unknown Source)
at java.awt.EventQueue$1.run(Unknown Source)
at java.awt.EventQueue$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(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)
Caused by: java.lang.ClassNotFoundException: org.bouncycastle.jce.provider.BouncyCastleProvider
at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 20 moreThanks. I´ll try with your tips. But if i put all the dependences in archive I get this error.
The tag:
<applet name=applet id="applet" CODEBASE="." code="Applet/RequestApplet.class" width=155 height=21 archive="bcmail-jdk13-145.jar, jce-ext-jdk13-145.jar, AbsoluteLayout.jar, plugin.jar, RequestApplet.jar " MAYSCRIPT>
<param id="parametro1" name="usuario" value="<Computed Value>">
</applet>The error:
Java Plug-in 1.6.0_25
Usar versión JRE 1.6.0_25-b06 Java HotSpot(TM) Client VM
Directorio local del usuario = C:\Documents and Settings\Administrator
c: borrar ventana de consola
f: finalizar objetos en la cola de finalización
g: liberación de recursos
h: presentar este mensaje de ayuda
l: volcar lista del cargador de clases
m: imprimir sintaxis de memoria
o: activar registro
q: ocultar consola
r: recargar configuración de norma
s: volcar propiedades del sistema y de despliegue
t: volcar lista de subprocesos
v: volcar pila de subprocesos
x: borrar antememoria del cargador de clases
0-5: establecer nivel de rastreo en <n>
basic: Receptor de progreso agregado: sun.plugin.util.GrayBoxPainter$GrayBoxProgressListener@f39b3a
basic: Plugin2ClassLoader.addURL parent called for http://desarrollo.isaltda.com.uy/CertReq.nsf/bcmail-jdk13-145.jar
basic: Plugin2ClassLoader.addURL parent called for http://desarrollo.isaltda.com.uy/CertReq.nsf/jce-ext-jdk13-145.jar
basic: Plugin2ClassLoader.addURL parent called for http://desarrollo.isaltda.com.uy/CertReq.nsf/AbsoluteLayout.jar
basic: Plugin2ClassLoader.addURL parent called for http://desarrollo.isaltda.com.uy/CertReq.nsf/plugin.jar
basic: Plugin2ClassLoader.addURL parent called for http://desarrollo.isaltda.com.uy/CertReq.nsf/RequestApplet.jar -
Problem with EJB skeleton classloader
Hi
We have been migrating an enterprise application from Weblogic 7 to 9.2 and experienced strange problem with EJBs. Our EAR contains (beside the other elements) an EJB module with EJBs and some common POJO classes inside. At the deploy and run phase everything seems working fine, but when the remote client invokes a method which receives one of the common classes as a parameter we get ClassNotFoundException on the server side (talking precisely, the exception is thrown from the EJB skeleton, trying to unmarshall the parameter).
It seems that our EJB's skeletons do not see the classes from EAR. We have tried moving the common classes to the APP-INF/lib directory or placing them at the root of EAR archive and adding reference in Manifest file of EJB module and it won't help.
The only workaround we've found is to add the missing classes to the server classpath but this is unacceptable (however, it works).
We are not using any custom classloader hierarchy.
The other JARs have no problem loading the content of our EJB module (including the common classes, which cause the problem).
So, why is the RMI classloader ommiting our application contents?The problem was fixed by upgrading to version 9.2.1
-
Could not find the main class - Problem with Webservice-Access
Hello Everybody,
I'm having serious Problems with accessing a WebService (Tomcat-Axis) per executable jar-File.
I constructed a simple GUI with 3 Textboxes 1 Button and 1 Resultbox.
I use eclipse so it was no Problem to simple generate the Backgroundclient by Processing the .wsdl-File of the WS.
Now I do this:
Head_tServiceLocator serviceLocator = new Head_tServiceLocator();
Head_t service = serviceLocator.getRPCCall();
RPCCallSoapBindingStub Head_t = (RPCCallSoapBindingStub) service;and use the Webservice like an Object.
All this works very well.
Now the Problem:
Head_t service = serviceLocator.getRPCCall();this Line has to throw a ServiceException.
If i add a try-catch Block to Process the Message JAVA tells me after i exported to JAR (with Manifest-stuff and so on) and double Click on the JAR the following :
Could not find the main Class - Program will exit.
And if i add a throws Declaration to the Methodheader it tells me:
Fatal Exception Occured - Program will exit
But if i Comment out that Line at least the GUI is being displayed (so it DOES find the main-Class). But then of course the Webservice won't be accessed.
All the JARs needed (axis.jar, commons-discovery.jar and so on) are in the same Directory as the Webservice-Client.jar
Please Help me.
Greets,
ZapI am not done any typing mistake while creating the jar file i already followed the suggestion that you have mentioned but still the same error .
This is my MANIFEST.MF file created under META-INF folder
Manifest-Version: 1.0
Class-Path: qtjambi-4.4.3_01.jar qtjambi-win32-msvc2005-4.4.3_01.jar
Created-By: 1.5.0 (Sun Microsystems Inc.)
Main-Class: Ui_MainWindow
When i extracted the app.jar following this i got
1. META-INF folder inside that MAINFEST.MF file the contents i have already placed above
2. qtjambi-4.4.3_01.jar
3. qtjambi-win32-msvc2005-4.4.3_01.jar
4. Ui_MainWindow.class
Please tell me whats wrong in that i can also give you the app.jar file please let me know the email id .. -
Problem with Dark Room theme.
I have created a homepage in iWeb 3.0.1 with the Dark Room theme (web.me.com/jmsuijkerbuijk). Everything looks fine (that is: the way I intended) in Safari 4.0.3 and OmniWeb 5.10.1, incomplete in Opera 10.00 and Camino 1.6.10, and plain terrible in Firefox 3.5.3 (you really don't want to know the result in Internet Explorer under Parallels!).
The problem is manifest with pictures that are titled and/or drop a shadow. In both Opera and Camino the shadows are missing; in Firefox the shadows are present, but are not titled with the picture itself, which returns a ridiculous result.
Is there something I can do to have all or most browsers show proper imaging? Thanks in advance!Camino 1.6.10, however, has problems rendering the pages in a number of areas. I don't worry about Camino as it's not used by many.
There are just two pages that look to have problems with Firefox 3.5.3. The Biography and Score Samples. The photos have both a drop shadow and reflection. The drop shadow is misbehaving. However, on the Welcome page there appears to be both a reflection and drop shadow on the three image and they look fine. The difference is that those three are links. Don't know if that has anything to do with it.
Opera just doesn't support the java script create drop shadows. As for IE you'll have to really dummy down the site to get it to work with IE. Roddy has a number of posts and a site that gives many tips on making a site more compatible with IE.
http://discussions.apple.com/thread.jspa?threadID=2021995&tstart=0
http://discussions.apple.com/thread.jspa?threadID=1837981&tstart=0
http://www.iwebformusicians.com/WebMusic/iWebandInternetExplorer.html
http://discussions.apple.com/thread.jspa?messageID=9375447#9375447
OT
Maybe you are looking for
-
Hi Is it possible to have more than 1 GR/IR account? Looking at obyc, I know tha tthe GR/IR account assignment is driven by the internal SAP key ?WRX?. We have a situation in which the client wants a separate GR/IR account for a specific type of purc
-
Mac Pro 2008 Kernel panic (Mavericks)
Hi all, sorry for my english From yesterday my Mac pro early 2008 8core 3,2 ghz 12 GB ram, reboot unexpectedly I can post the Kernel panic list, someone can tell me what's happen and how to solve this issiue? Thanks a lot Best Stefano Resoconto panic
-
VERY URGENT:REGARDING ALV REPORT
HI, I am making Interactive alv report in which i have to display 3 views in a single report i.e. 1.) I have to display :- RAW MATERIAL DAYS BOP DAYS Here days are the difference b/w the Material Doc. Date and Requsition
-
I have a number of devices linked to a single iTunes account. Of these devices, one was a laptop whose hard drive failed, and one was an iPad which died. My question is if it is possible to remotely deauthorise these devices or is it necessary to dea
-
Improper message in iview when "Check in Now " fails in edit locally
Hi We have implemented our own repository manager. I am facing a problem while Checking in a document after edit locally. Usually edit locally undergo followings set of activities. 1. Get the content of file using Content manager implementation a