Digest mismatch
I'm seeing the following error when I access my flex
application:
Flex Error #1001: Digest mismatch with RSL LibTest.swf. Redeploy
the matching RSL or relink your application with the matching
library.
Here is the source code of my application:
------------------ digestTest.mxml ------------------------
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="
http://www.adobe.com/2006/mxml"
layout="absolute">
<mx:Script>
<![CDATA[
import test.LibTest;
]]>
</mx:Script>
</mx:Application>
and here is the source code of the only file in my library:
----------------------------- LibTest.as
package test
public class LibTest
public function LibTest()
super();
I'm using Flex Builder 3.
I used the RSL link type to link the digestTest application
to the LibTest library, and enabled digest verification.
After I've written and saved both files, I exported the
release build of the digestTest application, and uploaded the
entire content of the bin-release folder to my web server.
Then, when I accessed the digestTest application on my
server, I get the error above.
Please tell me what I'm doing wrong.
Hi Darrell,
After upgrading to Flex SDK 3.5a and using the ant task patch jar I get the following error when running the ant script:
[mxmlc] Loading configuration file C:\workspaces\dashboard\com.metatomix.releng\tools\flex_sdk_3.5a\frameworks\flex-config.x ml
[mxmlc] command line: Error: configuration variable 'runtime-shared-library-path' requires a value for 'rsl-url'
[mxmlc] Use 'mxmlc -help' for information about using the command line.
Excerpt from my any script:
<mxmlc
file="${flex.main.file}"
output="${flex.output.swf}"
actionscript-file-encoding="UTF-8"
keep-generated-actionscript="true"
static-link-runtime-shared-libraries="false"
locale="${flex.build.locale}"
maxmemory="256m">
<source-path path-element="${PROJECT_FRAMEWORKS}"/>
<external-library-path dir="${flex.player.lib.dir}" includes="playerglobal.swc"/>
<runtime-shared-library-path path-element="${PROJECT_FRAMEWORKS}/libs/framework.swc" >
<url rsl-url="framework_${FLEX_BUILD}.swz" />
</runtime-shared-library-path>
<default-size width="500" height="600" />
</mxmlc>
Similar Messages
-
Flex Error #1001: Digest mismatch with RSL error
I apologize if this is not the correct location for this question but it was the closest I could find.
I am working in salesforce trying to add a new content pack. This screen uses a tool written in flash. The screen that comes up is an error with the following:
Flex Error #1001: Digest mismatch with RSL
https://cs13.salesforce.com/_swf/121310/sfc/flex/framework_3.5.0.12683.swf.
Redeploy the matching RSL or relink your application with the matching
library.
I have been working with SalesForce support but they don't have a clue and want to punt to Adobe.
The support staff at SalesForce has no trouble accessing the page with the flash control from thier pc. I have tried several computers in my office and from several browsers (IE 9 and Chrome). I have reinstalled Flash Player 11 and cleared browser caches. Nothing seems to work.
It has to be something common to computers in my office or my network. All of the information I can find on the Internet talks about rebuilding the application and redeploying it. I can't do that since this is part of SalesForce and not something I own. Also, it works for them on their computers.
I am running windows 7 64 bit. I have McAfee running (and have checked that Flash is not blocked).
The flash player itself works when I go to the Adobe site and try other content.
The only other odd thing I have is that my hard drive is encrypted.
Any ideas?
Thanks,
MikeChris,
I have cleared the browsser and flash cache data then restarted browswers and windows. Still no luck. I reverted the flash player back to 10.3 after following the instructions in the link you provided for a clean install but still get the error. SalesForce did not state what version of FlashPlayer they are using but I will check with them later today.
All of the machines that I have tested on have been at the office and all have encrypted hard drives with PGP desktop. I am going to try my laptop on my home network tonight to see if we are blocking something during the download.
This is driving me nuts. I know is it something specific to the machines in the office or the office network but I can't find it.
Thanks for your help. Please let me know if you have any other ideas.
Mike -
It is not possible to install the following error occurs.
[root @ localhost Disk1] # rpm -ivh --nodigest oracle-xe-11.2.0-1.0.x86_64.rpm
preparing... ################################# [100%]
Updating / Installing ...
1: oracle-xe-11.2.0-1.0 ################################# [100%]
error : fails to extension of the archive : File /u01/app/oracle/product/11.2.0/xe/bin/oracle;54091d3a: cpio: Digest mismatch
Error: oracle-xe-11.2.0-1.0.x86_64: Installation failed
Error "Digest mismatch" will have occurred from the very beginning,
I tried to specify the installation options "--nodigest".
But Phenomenon does not improve.
I tried to check the version of the rpm package.
It seems the latest version of rpm-4.11.2-2.fc20.x86_64.
Would you have a good workaround?
Installation OS: fedora20 64bit
Installation package: oracle-xe-11.2.0-1.0.x86_64.rpm
メッセージ編集者: user10993108
Has been translated into English.This is a global forum - you will have to post in English. There are alternate language forums available - Other Languages
Looks like your OS is Fedora - which is not a supported/certified OS for 11g XE - Oracle® Database Express Edition
So things may or may not work as expected. -
WSM-00061 : Signature digest verification failure
Currently Im having some difficulties to decrypt a message that was encrypted using WSM_PolicyName: oracle/wss11_username_token_with_message_protection_service_policy.
I've attached this policy to a SOA Suite 11g PS3 - SOAP Web service service and Im calling this service from a .Net client. It looks like the content of the response has some CR LF's or other invallid characters. I've already tried removing those using XSLT but no luck so far.
Anyone faced the same problem and solved it. Any tips/tricks are also welcome.
Here are some serverlogging snippets:
oracle.wsm.security.SecurityException: WSM-00061 : Signature digest verification failure.
at oracle.wsm.security.policy.scenario.processor.Wss11MessageSecurityProcessor.verify(Wss11MessageSecurityProcessor.java:401)
at oracle.wsm.security.policy.scenario.processor.Wss11X509TokenProcessor.verify(Wss11X509TokenProcessor.java:647)
at oracle.wsm.security.policy.scenario.executor.Wss11UsernameWithCertsScenarioExecutor.receiveRequest(Wss11UsernameWithCertsScenarioExecutor.java:134)
at oracle.wsm.security.policy.scenario.executor.SecurityScenarioExecutor.execute(SecurityScenarioExecutor.java:530)
at oracle.wsm.policyengine.impl.runtime.AssertionExecutor.execute(AssertionExecutor.java:41)
at oracle.wsm.policyengine.impl.runtime.WSPolicyRuntimeExecutor.executeSimpleAssertion(WSPolicyRuntimeExecutor.java:608)
at oracle.wsm.policyengine.impl.runtime.WSPolicyRuntimeExecutor.executeAndAssertion(WSPolicyRuntimeExecutor.java:335)
at oracle.wsm.policyengine.impl.runtime.WSPolicyRuntimeExecutor.execute(WSPolicyRuntimeExecutor.java:282)
at oracle.wsm.policyengine.impl.PolicyExecutionEngine.execute(PolicyExecutionEngine.java:102)
at oracle.wsm.agent.WSMAgent.processCommon(WSMAgent.java:915)
at oracle.wsm.agent.WSMAgent.processRequest(WSMAgent.java:436)
at oracle.fabric.common.BindingSecurityInterceptor.processRequest(BindingSecurityInterceptor.java:94)
at oracle.integration.platform.common.InterceptorChainImpl.processRequest(InterceptorChainImpl.java:91)
at oracle.integration.platform.common.mgmt.InterceptorChainManager.processRequest(InterceptorChainManager.java:232)
at oracle.j2ee.ws.server.mgmt.runtime.SuperServerInterceptorPipeline.handleRequest(SuperServerInterceptorPipeline.java:153)
at oracle.j2ee.ws.server.provider.management.AbstractProviderInterceptorPipeline.executeRequestInterceptorChain(AbstractProviderInterceptorPipeline.java:562)
at oracle.j2ee.ws.server.provider.ProviderProcessor.executeInterceptorRequestChain(ProviderProcessor.java:902)
at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:220)
at oracle.j2ee.ws.server.WebServiceProcessor.doService(WebServiceProcessor.java:185)
at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:430)
at oracle.integration.platform.blocks.soap.FabricProviderServlet.doPost(FabricProviderServlet.java:477)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:330)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.doIt(WebAppServletContext.java:3684)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3650)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2268)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2174)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1446)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
[2012-04-25T17:32:54.562+02:00] [soa_server1] [ERROR] [WSM-00006] [oracle.wsm.resources.security] [host: WNSB01] [nwaddr: xxx.xx.x.xx] [tid: [ACTIVE].ExecuteThread: '12' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: 0000JRe8ZthFg4K6yVaeMG1F^I150018nS,0] [WEBSERVICE_PORT.name: IObjectIS_pt] [APP: soa-infra] [WSM_OperationName: unknown] [J2EE_MODULE.name: fabric] [dcid: 26e72e9850f41d50:-6f3ca2ad:136ceebf996:-7fff-000000000000f8f5] [J2EE_APP.name: soa-infra] [WEBSERVICE.name: ObjectISService11MP_ep] [WSM_PolicyVersion: 3] [WSM_LogType: Request] [WSM_RemoteAddress: 172.18.3.49] [WSM_ServiceID: soa-infra/ObjectIS/ObjectISService11MP_ep] [WSM_PolicyName: oracle/wss11_username_token_with_message_protection_service_policy] [arg: oracle.wsm.security.SecurityException: WSM-00061 : Signature digest verification failure.] Error in receiving the request: oracle.wsm.security.SecurityException: WSM-00061 : Signature digest verification failure..
[2012-04-25T17:32:54.562+02:00] [soa_server1] [TRACE:32] [] [oracle.wsm.security.policy.scenario.executor.Wss11UsernameWithCertsScenarioExecutor] [host: WNSB01] [nwaddr: 172.18.1.11] [tid: [ACTIVE].ExecuteThread: '12' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: 0000JRe8ZthFg4K6yVaeMG1F^I150018nS,0] [SRC_CLASS: oracle.wsm.security.policy.scenario.executor.Wss11UsernameWithCertsScenarioExecutor] [WSM_OperationName: unknown] [dcid: 26e72e9850f41d50:-6f3ca2ad:136ceebf996:-7fff-000000000000f8f5] [SRC_METHOD: receiveRequest] [J2EE_APP.name: soa-infra] [WEBSERVICE.name: ObjectISService11MP_ep] [WSM_LogType: Request] [WSM_PolicyName: oracle/wss11_username_token_with_message_protection_service_policy] [WEBSERVICE_PORT.name: IObjectIS_pt] [APP: soa-infra] [J2EE_MODULE.name: fabric] [WSM_PolicyVersion: 3] [WSM_RemoteAddress: 172.18.3.49] [WSM_ServiceID: soa-infra/ObjectIS/ObjectISService11MP_ep] Failed to receive request[[
oracle.wsm.security.SecurityException: WSM-00061 : Signature digest verification failure.
at oracle.wsm.security.policy.scenario.processor.Wss11MessageSecurityProcessor.verify(Wss11MessageSecurityProcessor.java:401)
at oracle.wsm.security.policy.scenario.processor.Wss11X509TokenProcessor.verify(Wss11X509TokenProcessor.java:647)
at oracle.wsm.security.policy.scenario.executor.Wss11UsernameWithCertsScenarioExecutor.receiveRequest(Wss11UsernameWithCertsScenarioExecutor.java:134)
at oracle.wsm.security.policy.scenario.executor.SecurityScenarioExecutor.execute(SecurityScenarioExecutor.java:530)
at oracle.wsm.policyengine.impl.runtime.AssertionExecutor.execute(AssertionExecutor.java:41)
at oracle.wsm.policyengine.impl.runtime.WSPolicyRuntimeExecutor.executeSimpleAssertion(WSPolicyRuntimeExecutor.java:608)
at oracle.wsm.policyengine.impl.runtime.WSPolicyRuntimeExecutor.executeAndAssertion(WSPolicyRuntimeExecutor.java:335)
at oracle.wsm.policyengine.impl.runtime.WSPolicyRuntimeExecutor.execute(WSPolicyRuntimeExecutor.java:282)
at oracle.wsm.policyengine.impl.PolicyExecutionEngine.execute(PolicyExecutionEngine.java:102)
at oracle.wsm.agent.WSMAgent.processCommon(WSMAgent.java:915)
at oracle.wsm.agent.WSMAgent.processRequest(WSMAgent.java:436)
at oracle.fabric.common.BindingSecurityInterceptor.processRequest(BindingSecurityInterceptor.java:94)
at oracle.integration.platform.common.InterceptorChainImpl.processRequest(InterceptorChainImpl.java:91)
at oracle.integration.platform.common.mgmt.InterceptorChainManager.processRequest(InterceptorChainManager.java:232)
at oracle.j2ee.ws.server.mgmt.runtime.SuperServerInterceptorPipeline.handleRequest(SuperServerInterceptorPipeline.java:153)
at oracle.j2ee.ws.server.provider.management.AbstractProviderInterceptorPipeline.executeRequestInterceptorChain(AbstractProviderInterceptorPipeline.java:562)
at oracle.j2ee.ws.server.provider.ProviderProcessor.executeInterceptorRequestChain(ProviderProcessor.java:902)
at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:220)
at oracle.j2ee.ws.server.WebServiceProcessor.doService(WebServiceProcessor.java:185)
at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:430)
at oracle.integration.platform.blocks.soap.FabricProviderServlet.doPost(FabricProviderServlet.java:477)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:330)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.doIt(WebAppServletContext.java:3684)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3650)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2268)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2174)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1446)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
Regards,
MelvinAfter some research at support.oracle.com I've found the following:
Bug 9399779: .NET CLIENT TO COMPOSITES SECURED WITH OWSM POLICY FAILS AS DIGEST MISMATCH
We are now going to apply:
Patch 9749456: SIGNATURE DIGEST VERIFICATION FAILURE WHEN USING OSDT LIBRARIES
I'll keep you informed.
Regards,
Melvin -
I'm using Flex Builder 3 Beta 3 and I've been trying to
follow the Adobe instructions
here
to include the Flex Framework project in my application as an RSL.
It works fine when I run the html file that gets output in my
project bin directory and the signed RSL gets added to the Flash
Player cache. However when I copy my application SWF and the RSL to
the server and try to download them I get the following error.
Flex Error #1001: Digest mismatch with RSL
framework_3.0.189825.swf. Redeploy the matching RSL or relink your
application with the matching library.
Any ideas?
The machine I use to build and deploy my application is
Windows Server 2003 and the client machine is Windows XP.I haven't seen that error, but the download manager does produce two files, one .exe and another. The .exe uses the second file during the installation.
Usually the files are either in your browser's \Download folder or on your desktop.
However -- I haven't been able to get the download manager to work in Firefox or Chrome -- it's only worked for me under IE. So you may want to try with IE too.
Also, Adobe doees provide free install support; may be worth a call to see if they have thoughts.... -
Running optimizer of custom RSL prevents digest match
For automation purposes, I am compiling an application using command line compiler, and compiling a custom library using flexbuilder 3. When I compile the entire application and copy the library.swf from the unpackaged .swc to the correct deploy location, all is well. However, when I run the command line RSL optimizer on library.swf, suddenly I get an #1001 error:
Flex Error #1001: Digest mismatch with RSL
{the URL to my library file}
Redeploy the matching RSL or relink your application with the matching library.
I've looked all over, at every bit of documentation, but can't seem to understand why running the optimizer using the same flex sdk as I use to compile the app, might invalidate the digest.
If I use compiler option -verify-digests=false then the app loads well, but since I'm also using framework RSLs, I don't want to do this for production purposes.
Please respond if you have any ideas.I have the same problem.
skin_url seems to be variable containing the path/to/a/skin. But it is not correctly filled. It is a $_SESSION variable
also i have another problem. The includes/database.php file uses $_SERVER variables to establish a db connection. These variables are also not filled (and i definitely set them in the mythweb.conf)
seems mythweb has some problems with "$_"-variables, or the php implementation or apache...i don't know
using latest php (5.5) and latest apache -
RSL Error 3 of 3 - Is this problem to do with Flash Player?
In trying to access sailing screens on www.sailonline.org I get the message "RSL Error 3 of 3", with the following at the foot of the page.
"Flex Error #1001: Digest mismatch with RSL http://www.sailonline.org/static/windy/framework_3.5.0.12683.swf. Redeploy the matching RSL or relink your application with the matching library."
There is discussion on this in the sailonline site, but the solutions suggested have not worked for me. I see also similar being discussed elsewhere on internet.
Does anyone know about this?"Flex Error" would indicate that the problem lies within the SWF.
A "workaround" that may work is listed here: https://success.salesforce.com/answers?id=90630000000gxC9AAI, but the posters also acknowledge that the problem is in the content and not the Player. -
Help me to fix it in simple way
Flex Error #1001: Digest mismatch with RSL http://www.babblesex.com/assets/26d8d138/flexapp/framework_3.5.0.12683.swf. Redeploy the matching RSL or relink your application with the matching library.
MuraliSunJava wrote:
javax.mail.MessagingException: Could not connect to SMTP host: pop.bizmail.yahoo.com, port: 25; nested exception is: java.net.ConnectException: Connection refused: connect.Check if the given hostname and port are for sure correct. Consult the documentation of the SMTP host in question. If they are for sure correct, then there's something in between the local machine and the SMTP server which blocks the connection, which can be a firewall, a router, a proxy or even an application server security setting. Verify its configuration and let it allow the connection. -
Metalink access question.
Hi,
I am having issues installing Siebel (in a test environment), and was wondering if having access to Metalink may help me.
Does anyone know if purchasing a database standard edition product, with support give me access to Siebel articles on Metalink ?
Or would that be limited to just the product I purchase ?
ThanksI am able to access it successfully.
Your error indicates it is an Adobe Flash issue - pl uninstall and reinstall the latest version of Flash from Adobe.
http://cloudnebula.blogspot.com/2008/10/digest-mismatch-with-rsl-framework300.html
HTH
Srini -
Flex Error #1001: Digest mismatch with RSL
framework_3.0.189825.swf. Redeploy the matching RSL or relink your
application with the matching library.
Hello good people,
I have tried fixing this according to the following URL's
instructions:
http://www.duzengqiang.com/blog/article.asp?id=681
but it's either not doing it or I keep scewing it up.
I have also read:
http://livedocs.adobe.com/labs/flex3/html/help.html?content=rsl_07.html
and it doesn't look like I'm screwing it up, but I could me missing
something. The real issue is that I tried to show this at my
customer's location and now no matter what I do, I can't seem to
either get rid of the files that are in the browser cache or it
just doesn't work. It only does it when deployed to the server. It
never happens on my development machines.
I don't have a computer here that it doesn't work on, even my
wife's machine runs it just fine and she doesn't have a development
environment, so I'm a little confused as to how to handle this.
If someone has a ready answer i would appreciate it. If you
need to view the site to experience the issue then send me a
private message on this forum and I'll send you the link.
Thanks,Okay Darrell,
Your file worked. I was able to run with ,45, after uploading
it to the server. I believe I understand why this was happening.
You can tell me if I’m wrong, if it matters. Below version
,115, the player RSL’s are not signed and the player loads
the swc file, not the swz file.
This became apparent to me when I saw that on the FLEX Build
Path-->Library Path Tab, there existed a build path library of:
framework.swc.
Expanding this library revealed an RSL URL property with the
signed library -- framework_3.0.189825.swz – as the value.
Underneath the RSL URL as an attached property is listed the
Failover RSL URL with a value of -- framework_3.0.189825.swf --.
I’m a simple man, so I’ll just put it this
way… When the player can’t make sense of an swz file
because it can’t load signed files, it looks for the swf
file. Since the swf is not signed, it has a digest that links it
with the application to provide security protection. For some
reason the framework_3.0.189825.swf library that came with the sdk
and by default was being used by my application was not linked
properly. By the way, this happened on a new install to a virgin
machine.
Okay, I used the ant file, and had to modify it to get it to
work. For one, it’s not well formed, missing a /java end tag.
Second, and this is what I need you to verify for me, I don’t
know why the line
OpenElementTag--arg line="--digest.rsl-file
@{rsl-dir}/@{swc-name}.swf --digest.swc-path
@{swc-dir}/@{swc-name}.swc" --CloseElementTag
would work because the swc-name needs to be framework in
order for the optimizer to output it with the correct name (at
least to stay within the naming conventions we are using). So what
happens is the argument line --digest.rsl-file
@{rsl-dir}/@{swc-name}.swf cannot find the swf that was created by
the optimizer since the swc-name variable does not match the name
that was created with the optimizer (--output
'@{rsl-dir}/@{swc-name}_3.0.${build.number}.swf' =
framework_3.0.189825.swf). I tried to use the ${build.number}
again, but it must be getting assigned from the metadata of the
optimizer, I can’t quite figure it out. I finally got it to
work, by hard coding the name in like so…
OpenElementTag--arg line="--digest.rsl-file
@{rsl-dir}/framework_3.0.189825.swf --digest.swc-path
@{swc-dir}/@{swc-name}.swc"--CloseElementTag
I’ll get back into my Ant documentation and see if I
can figure out how to code for that.
I am attaching the build file I created. Place it in the
root\sdks\3.0.0\frameworks directory and it should work right out
of the box. It is setup to use the standard directories. This is a
windows installation, but it should work on Linux.
I hope we can put this to rest. Please correct me if I have
misunderstood what is happening. You have my heartfelt thanks for
your assistance and if you're at the 360 conference, let me know
and I'll buy you a draft.
Sincerely, -
Sha1 hash function (Message Digest)
I am trying to create a program that lists the current java programs in a directory that is run through command line arguments, ( which works) however once i have populated all the java files i need to then turn the file names into sha1 message digests for the next step. I have the relevant code for this to work but i can not get it to compile is there something i have done wrong? or put the code in the wrong place?? here is my code feel free to amend it.
Thanks Mich
import java.io.UnsupportedEncodingException;
import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;
import java.io.File;
import java.io.FilenameFilter;
import java.util.Scanner;
public class ListDirectories implements FilenameFilter {
static Scanner sc = new Scanner(System.in);
public static void main (String [] args) throws UnsupportedEncodingException, NoSuchAlgorithmException {
String path = args [0];
ListDirectories ff = new ListDirectories();
ff.process(path);
public void process(String dir) {
String objects[] = (new File(dir)).list(this);
for (int i = 0; i < objects.length; i++) {
System.out.println("TRACE:"+objects);
public boolean accept(File dir, String s) {
if (s.endsWith(".java")) {
return true;
return false;
//public void MessageDigest(){
MessageDigest md = MessageDigest.getInstance("SHA");
try {
md.update(objects);
MessageDigest objects = md.clone();
byte[] objectsDigest = objects.digest();
md.update(objects);
} catch (CloneNotSupportedException cnse) {
throw new DigestException("couldn't make digest of partial content");import java.io.UnsupportedEncodingException;
import java.security.DigestException;
import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;
import java.io.File;
import java.io.FilenameFilter;
import java.util.Scanner;
public class ListDirectories implements FilenameFilter {
static Scanner sc = new Scanner(System.in);
public static void main (String [] args) throws UnsupportedEncodingException, NoSuchAlgorithmException {
String path = args [0];
ListDirectories ff = new ListDirectories();
ff.process(path);
public void process(String dir) {
String objects[] = (new File(dir)).list(this);
for (int i = 0; i < objects.length; i++) {
System.out.println("TRACE:"+objects);
public boolean accept(File dir, String s) {
if (s.endsWith(".java")) {
return true;
return false;
public void MessageDigest(){
MessageDigest md = MessageDigest.getInstance("SHA");
try {
MessageDigest objects = md.clone();
md.update(objects);
byte[] objectsDigest = objects.digest();
md.update(objects);
} catch (CloneNotSupportedException cnse) {
throw new DigestException("couldn't make digest of partial content");
}this where the error occur
MessageDigest objects = md.clone();
md.update(objects);
byte[] objectsDigest = objects.digest();
md.update(objects);
The method update(byte) in the type MessageDigest is not applicable for the argumentsListDirectories.java line 42 1187874400500 26683
The method update(byte) in the type MessageDigest is not applicable for the arguments ListDirectories.java line 44 1187874400500 26684
Type mismatch: cannot convert from Object to MessageDigest Test2 ListDirectories.java line 41 1187874400500 26682 -
Hi guys,
I am having problem. I am not sure about this issue. Recently, I have new switch(2950) plugin into the Core switch. However, it keep generating log every 30 mins on my core switch. any idea about this problem?
2005 Jul 01 22:51:15 GMT+2 +07:00 %CDP-4-NVLANMISMATCH:Native vlan mismatch dete
cted on port 3/22
Core> (enable) show port 3/22
* = Configured MAC Address
Port Name Status Vlan Duplex Speed Type
3/22 2950 connected 210 full 100 100BaseFX MM
Core> (enable) show trunk 3/22
* - indicates vtp domain mismatch
# - indicates dot1q-all-tagged enabled on the port
Port Mode Encapsulation Status Native vlan
3/22 off negotiate not-trunking 210
Port Vlans allowed on trunk
3/22 1-1005,1025-4094
Port Vlans allowed and active in management domain
3/22 210
Port Vlans in spanning tree forwarding state and not pruned
3/22
core#show ver
WS-C6506 Software, Version NmpSW: 7.6(7)
Copyright (c) 1995-2004 by Cisco Systems
NMP S/W compiled on May 6 2004, 23:21:07
System Bootstrap Version: 7.1(1)
System Boot Image File is 'bootflash:cat6000-sup2k8.7-6-7.bin'
System Configuration register is 0x102
Core--->2950
2950#show vla
VLAN Name Status Ports
1 default active Fa0/1, Fa0/2, Fa0/3, Fa0/4
Fa0/5, Fa0/6, Fa0/7, Fa0/8
Fa0/9, Fa0/10, Fa0/11, Fa0/12
Fa0/13, Fa0/14, Fa0/15, Fa0/16
Fa0/17, Fa0/18, Fa0/19, Fa0/20
Fa0/21, Fa0/22, Fa0/23, Fa0/24
Fa0/25, Fa0/26
2950#show vtp st
VTP Version : 2
Configuration Revision : 0
Maximum VLANs supported locally : 250
Number of existing VLANs : 5
VTP Operating Mode : Transparent
VTP Domain Name : access
VTP Pruning Mode : Disabled
VTP V2 Mode : Disabled
VTP Traps Generation : Disabled
MD5 digest : 0xB6 0x18 0x3A 0xBA 0xC7 0x54 0x71 0x55
Configuration last modified by 0.0.0.0 at 0-0-00 00:00:00Hi guys,
Thanks for promptly replied. However I had tried to harded core on 2950 Vlan 210(every interfaces). No luck. The core switch still flooding the log. Correct If I am wrong. Since my 2950 is configured as transparent. It shouldn't broadcast the VLAN info. Am I right? This is not the switch connected to the VLAN 210. I have another switch 210 connected to Core. But it doesn't generate the log.
Core(enable) show vlan
VLAN Name Status IfIndex Mod/Ports, Vlans
1 default active 5 2/23-24
3/9,3/18,3/23-24
4/28,4/38-40
5/9-48
5 ServerFarm active 112 4/1-9,4/11-27,4/29-30,4/
33-37,4/43
5/1-8
20 External active 10 4/10,4/41,4/44-48
30 External2 active 11
80 DMZ active 114 4/42
100 User1 active 12
120 User2 active 13 2/1-21
3/1-8,3/10-17,3/19-21
210 VLAN0210 active 116 2/22
3/22
4/31-32
Core# (enable) show vlan 210
VLAN Name Status IfIndex Mod/Ports, Vlans
210 VLAN0210 active 116 1/1-2
2/22<<
3/22<<
4/31-32
15/1
Core> (enable) show port 2/22
* = Configured MAC Address
Port Name Status Vlan Duplex Speed Type
2/22 SwitchA connected 210 full 100 100BaseFX MM -
Type Mismatch error while saving a BPC Report using eTools
Hi,
Iam getting a 'type mismatch' error when trying to save a BPC Excel workbook using eTools>Save Dynamic Template >Company>eExcel. I am saving it as an .xlsx file.
Can anyone please help out and let me know why I am getting this error.
Thanks
ArvindHi,
You need to save the file as .xls extension. -
Hi,
I'm having a problem in calling the Java Applet's Function from Visual Basic. First, I'm getting the handle of the Java Applet and components of it using "Document.Applets(n)" which is a HTML function. I'm calling this function from Visual Basic. My code is something like this...
' // Web1 is IE Browser in my Form.
Dim Ap,Comp
Dim Bol as Boolean
Bol = true
Ap = Web1.Document.Applets(0).getWindow() ' \\ Gets the Parent Window.
Ap.setTitle("My Java Applet") ' \\ Sets the Title of the window.
msgbox Ap.getVisibility() ' \\ This will return a Java boolean ( true or false )
Ap.setVisibility(Bol) ' \\ Function Syntax is : void setVisibility(boolean b)
Here in my code , i'm able to call any function that which accepts Integer or String but not boolean. So, i m facing problem with Ap.setVisibility() function. It gives me a "Type mismatch error" while executing it. Can you please tell me a way to do this from Visual Basic !
I'm using Visual Basic 6.0, Windows 2000 , J2SDK 1.4.2_05.
Please help me Friends.
Thanks and Regards,
Srinivas Annam.Hi
I am not sure about this solution. try this
Declare a variable as variant and store the boolean value in that variable and then use in ur method.
Post ur reply in this forum.
bye for now
sat -
Mismatch of Assigned Budget in CJ33 & Report S_ALR_87013558
Hi,
I would like to inform there is an issue in mismatch of assigned budget value in CJ33 wrt hierarchical report(S_ALR_87013558). Request you to suggest to fix the issue.
Thank you for your coopearation.
Regards,
RanjanRanjan,
removing a column in a report will not affect at all at the values observed. Therefore,
it is unuseful to do it.
If there are inconsistencies in the assigned value, i suggest you to take the following steps:
1. Excute the report BPDIST03 via SE38 for the project in question.
2. Excute the tnrx CJEN.(Reconstruction of project information DB)
3. Excute the trnx CJBW.(Deactivate the availability control)
4. Excute the trnx CJBN.(Reconstruction of availability control)
5. Excute the trnx CJBV.(Activate the availability control again)
Hope this helps
Regards
Martina
Maybe you are looking for
-
Error during sync integrated configuration - incoming payload missed
Hi guys, we are suing PI 7.11 and trying to use the new feature integrated configuration wherever possible. Now I test a sync szeanrio where sender is SOAP and receiver is RFC. The messages fails in SOAP Sender channel with the error that there is no
-
Trouble converting Word 2003 document
I must be doing something wrong. It seemed simple enough to convert a simple Word 2003 document to PDF. When I go to open the PDF file in Word, up pops a window "select the encoding that makes your document readable: (choices are) windows (default)
-
Buiding xml file using SAX parser of JAXP
Please send me xml building using the sax parser.This is the urgent requirement ,iam not geeting how to solve this problem.so please anybody can help with one best example
-
Run jsx from outside illustrator
I am trying to automate the process of making business cards. I have figured out how to get variables from an xml file, now I want there to be a script that runs when either the xml file is updated or when a webpage is loaded, it should be completely
-
Why can't I sign into Game Center on iPad Cocoa error 4097 appears
Why can't I sign into Game Center on iPad Cocoa error 4097 appears