"caching-descriptor" must be declared error when using ejbc on WLS6.0 with EJB 1.1
I'm compiling with ejbc an entity bean .jar. Using WLS 6.0. In the ejb-jar.xml,
I've set version to EJB 1.1. I've made sure the weblogic-ejb-jar.xml has the caching-descriptor
element defined (used to work with WLS 5.1).
Thanks.
Sayid
Error is : org.xml.sax.SAXParseException: Element type "caching-descriptor" must
be declare d. at weblogic.apache.xerces.framework.XMLParser.reportError(XMLParser.java
:1008) at weblogic.apache.xerces.validators.common.XMLValidator.reportRecoverab
leXMLError(XMLValidator.java:1236) at weblogic.apache.xerces.validators.common.XMLValidator.validateElement
AndAttributes(XMLValidator.java:2673) at weblogic.apache.xerces.validators.common.XMLValidator.callStartElemen
t(XMLValidator.java:818) at weblogic.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher
.dispatch(XMLDocumentScanner.java:1222) at weblogic.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocu
mentScanner.java:380) at weblogic.apache.xerces.framework.XMLParser.parse(XMLParser.java:900)
at weblogic.xml.process.ProcessorDriver.process(ProcessorDriver.java:128 ) at
weblogic.ejb20.dd.xml.WebLogicEjbJarLoader_WLS600.process(WebLogicEjb JarLoader_WLS600.java:455)
at weblogic.ejb20.dd.xml.DDUtils.loadDeploymentDescriptor(DDUtils.java:9 3) at
weblogic.ejb20.dd.xml.DDUtils.loadDeploymentDescriptor(DDUtils.java:4 7) at weblogic.ejb20.dd.xml.DDUtils.loadDeploymentDescriptor(DDUtils.java:3
8) at weblogic.ejbc20.runBody(ejbc20.java:665) at weblogic.utils.compiler.Tool.run(Tool.java:81)
at weblogic.ejbc.main(ejbc.java:20) --------------- nested within: ------------------
weblogic.xml.process.XMLParsingException: Element type "caching-descriptor" must
be declared. - with nested exception: [org.xml.sax.SAXParseException: Element
type "caching-descriptor" must be declar ed.] Line: 8 Column: 27 at weblogic.xml.process.ProcessorDriver.process(ProcessorDriver.java:132
) at weblogic.ejb20.dd.xml.WebLogicEjbJarLoader_WLS600.process(WebLogicEjb JarLoader_WLS600.java:455)
at weblogic.ejb20.dd.xml.DDUtils.loadDeploymentDescriptor(DDUtils.java:9 3) at
weblogic.ejb20.dd.xml.DDUtils.loadDeploymentDescriptor(DDUtils.java:4 7) at weblogic.ejb20.dd.xml.DDUtils.loadDeploymentDescriptor(DDUtils.java:3
8) at weblogic.ejbc20.runBody(ejbc20.java:665) at weblogic.utils.compiler.Tool.run(Tool.java:81)
at weblogic.ejbc.main(ejbc.java:20) ERROR: weblogic.xml.process.XMLParsingException:
Element type "caching-descripto r" must be declared. - with nested exception:
[org.xml.sax.SAXParseException: Element type "caching-descriptor" must be declar
ed.] Line: 8 Column: 27
but a bean's deployment descriptor lies in the
meta-inf folder, right?Sorry, my mistake. I was thinking of WAR files while writing. Thanks for pointing out.
Regards,
$ Carol.
Similar Messages
-
I get the following error message in Windows 7 "Sand Box has stopped working" when using System Exec.vi with wait until completion set to true, if I set it to false there is no error message.
Hello JJVerdi
mmm well System Exec.vi simulates a DOS command window, can you run the sandbox from the cmd window using the same commands without any errors?
you may take a look to this KB, it may be related to your issue:
http://digital.ni.com/public.nsf/websearch/2393462BD57B854186256C4F007B706A?OpenDocument
Regards
Mart G -
How to fix "Must be literal" error when using a4j:keepAlive tag?
Hi everybody,
When I use <a4j:keepAlive> tag of Richfaces like this:
<a4j:keepAlive beanName="#{templateController.currentType}"/>I got the an error like this:
/templates.xhtml @20,91 <a4j:keepAlive beanName="#{templateController.currentType}"> Must be literalIn my class, I have declared as:
class TemplateController{
private TemplateType currentType;
public void setCurrentType(TemplateType type) {
public TemplateType getCurrentType() {
}I implemented as guide from Richfaces document but don't know why this happened.
Could anyone tell me why? Please help me to fix it.
I really appreciate it,
Ringo
Edited by: Ringo.CS on Jun 19, 2008 3:42 AM
Edited by: Ringo.CS on Jun 19, 2008 3:43 AMNo, the error message says that the value must be a literal and thus not an EL. I don't know anything about Ajax4jsf (you're in the wrong place to ask questions about it, rather use the forums of the Ajax4jsf manfacturer at jboss.com), but the attributename and errormessage together makes it logical to put just the raw managed bean name in there. If this is not what you're after, then just consult their documentation and forums at jboss.com.
-
When I use the Glossary Hotspot Wizard to create links within my topics to the terms, I then generate the project using the script (because I want to use popups instead of having the text display in-line). I did not edit this script before running it - do I need to? If so, where does the script reside? Any suggestions would be appreciated so that I can get this working as intended :-).
The error occurs during the WebHelp generation. If I generate the project
without using this script, there is no error.
The error indicates
Line no: 395
Thanks!
Julie
Julie Haddon-Cook
Senior Specialist
Messaging Engineering
Direct: +1 770 303 3507
CVS: 224 3507
Address: SITA | 3100 Cumberland Blvd | Atlanta, GA 30338 | USA
Website: www.sita.aero -
Invalid Device Error when using Labview to comunicate with Jorway 73A
I'm having a problem when trying to get Labview to communicate with the Jorway 73a CAMAC crate controller. Keep in mind while reading this that I'm still fairly new to both the CAMAC system and Labview. I've downloaded the drivers for the Jorway 73a off your site and run into a "Invalid device" error whenever I try to read or write from the CAMAC crate using the read or write VI's. Oddly, the initialize/clear/inhibit VI runs without error. When reading cmjwdll.c I can tell that this error occurs whenever "the device selected is not a JW 73A". Not sure why I'd be getting such an error, and only with the read/write VI's, not on the initialize/clear/inhibt one.
Thank you for your time.Hi Caleb,
You may want to contact [email protected] for this question. Looking at the driver (http://zone.ni.com/idnet97.nsf/9b2b33e1993d877786256436006ec498/398258c61da17663862568ab005fbcbc?OpenDocument) It states that these drivers use 32-bit dll's that only work on 95/NT and are provided by Jorway.
Hope this helps out!
Best Regards,
Aaron K.
Application Engineer
National Instruments -
Hello.
When I view the XML URL I can see it fine but when I use it as the "XML Link" in an "XML Viewer" I get an error.
The URL I used (with GUID removed):
http://www.company.com/sites/SPSite/_vti_bin/owssvr.dll?Cmd=Display&List={...}&View={...}&XMLDATA=TRUE
The error:
Cannot retrieve the URL specified in the XML Link property. For more assistance, contact your site administrator.
I cannot figure it out. Any ideas?To get access to SharePoint Web Service – owssrv.dll, You need to -
Provide anonymous access for the web application and list & libraries section at the site collection
Web application pool account should be a part of WSS_WPG, ISS_WPG and WSS_ADMIN_WPG
Please check -
http://sharepointknowledgebase.blogspot.ru/2011/11/cannot-retrieve-url-specified-in-xml.html#.VQJ8xvmUeAk
Thanks
Ganesh Jat [My Blog |
LinkedIn | Twitter ]
Please click 'Mark As Answer' if a post solves your problem or 'Vote As Helpful' if it was useful. -
ME21N Runtime error when using u201CDocument overview onu201D
Hi Gurus,
****I encountered Runtime error when using u201CDocument overview onu201D with variant u201CMy purchase ordersu201D or u201CPurchase orders on holdu201D. I encountered following ABEND message.
Varaint SAP&MEPOBEST not created
****I faced another issue which is mentioned below.
All page activities are blocked when using u201CDocument overview onu201D with variant u201CPurchase Ordersu201D or u201CContactsu201D .
Please reply.Hello,
To use that form you need to configure ADS in your system.
I sugest you to read the ADS configure manual and the troubleshooter note: SAP Note Number: 944221 -
Error: Element type "stateful-session-descriptor" must be declared ?
Hi,
while running the ant i am getting this error.
jar_ejb:
[jar] Building jar: D:\bdms\src\ejbdist\std_ejb_bdms_eapm.jar
ejbc:
[java]
[java] ERROR: ejbc found errors while parsing the descriptor for src/ejbdis
t/std_ejb_bdms_eapm.jar:
[java]
[java]
[java]
[java] ERROR: Error from ejbc: Error parsing file 'META-INF/weblogic-ejb-ja
r.xml' at line: 394 column: 55. Element type "stateful-session-descriptor" must
be declared.
[java]
[java]
[java] ERROR: ejbc couldn't load descriptor from jar
[java]
[java] Java Result: 1
Here with i have included the ejb-jar.xml & weblogic-ejb-jar.xml lines. I am using a service locator to call the ejb. please help me.
ejb-jar.xml
<session>
<ejb-name>ValueListHandlerEJB</ejb-name>
<home>com.pagination.ValueListHandlerEJBHome</home>
<remote>com.pagination.ValueListHandlerEJBRemote</remote>
<ejb-class>com.pagination.ValueListHandlerEJB</ejb-class>
<session-type>Stateful</session-type>
<transaction-type>Container</transaction-type>
<resource-ref>
<res-ref-name>jdbc/DataSource</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Container</res-auth>
</resource-ref>
</session>
weblogic-ejb-jar.xml
<weblogic-enterprise-bean>
<ejb-name>ValueListHandlerEJB</ejb-name>
<stateful-session-descriptor>
<stateful-session-cache>
<max-beans-in-cache>100</max-beans-in-cache>
<idle-timeout-seconds>600</idle-timeout-seconds>
</stateful-session-cache>
</stateful-session-descriptor>
<reference-descriptor>
<resource-description>
<res-ref-name>
jdbc/DataSource
</res-ref-name>
<jndi-name>
adslDataSource
</jndi-name>
</resource-description>
</reference-descriptor>
<enable-call-by-reference>True</enable-call-by-reference>
<jndi-name>ValueListHandlerEJB</jndi-name>
</weblogic-enterprise-bean>but a bean's deployment descriptor lies in the
meta-inf folder, right?Sorry, my mistake. I was thinking of WAR files while writing. Thanks for pointing out.
Regards,
$ Carol. -
Must declare object when using package
Using SQL Developer, I can select from a table but when I try to select from table in a package body I receive must be declared error. The privs to the table are granted via a role. If I grant the priv directly to the user it works. Why won't it work when the privs are granted via a role? Thanks,
I think the best place to point you is to the explanation in the documentation
Using Invoker's Rights Versus Definer's Rights (AUTHID Clause) -
Error when using PPR in the OA page developed.
HI,
We are encountering an error when using PPR for the custom OA page being developed. I am using JDeveloper version 9.0.3.5(Build 1437) and Oracle Applications version 11.5.10.CU2. The scenario we are using PPR and the steps to reproduce the issue is mentioned below,
Scenario:
1) PPR is enabled for a custom OA page that is developed.
2) The PPR is being used to enable or disable a particular field based on the
selection of a value in a poplist in the same OA Page.
Error replication steps:
1) The user enters a value in the primary mandatory field which has to have
unique value.
2) The user selects a value from the poplist of a field which has PPR associated.
3) The user enters data in all other mandatory fields in the OA page except one
and tries to save the form and is shown a error message saying that all
mandatory fields are not entered(This is correct). Now the page gets
automatically refreshed and so the entered values are wiped off.
4) Now if the user again enters a value in the primary mandatory field (as in
step1) and if that value happens to be already existing value and then select
a value from the poplist which has PPR enabled then immediately the error
"Please enter a unique value" is entered, though we did not save the record.
The unique record validation would happen only at the time of saving the
record as per out business logic.
5) But if in Step 4 if i had entered a unique value again then the above said error
does not happen. There are few more similar kind of issues happening in the
same page because PPR is enabled.
Please note that this issue happens only when the page is deployed in a oracle
applications instance and not in JDeveloper.
Would this issue because of some cacheing problem? If Yes then how do we resolve it? Or would it be some other problem caused by our internal coding.
Any inputs for resolving this issue would be highly appreciated.
Thanks, Raja.What works in Jdeveloper should work when deployed in iAS as well.
And PPR is an old feature given quite enough time to mature, so before we suspect OA we should investigate the code. What I do not understand is how the page refreshes in Step 3 and why does the user have to re-enter the fields just because he missed entering one mandatory field the last time.
Mandatory field validations are client validations set by making the fields 'Required'. You obviously have client validations turned off on your PPR, otherwise you would be stuck with a javascript popup on PPR. The only way you can get the "Please enter unique..." error on PPR is Server Validation. So where have you placed this validation? If it is not in the EO, is it in the AM? And are you unconditionally calling the AM validation method in your processFormRequest? The PPR will also go through processFormRequest so I hope the PPR event is in a different if-else block. -
Jvm startup fails with error when using large -Xmx value
I'm running JDK 1.6.0_02-b05 on RHEL5 server. I'm getting error when starting the JVM with large -Xmx value. The host has ample memory to succeed yet it fails. I see this error when I'm starting tomcat with a bunch of options but found that it can be easily reproduced by starting the JVM with -Xmx2048M and -version. So it's this boiled down test case that I've been examining more closely.
host% free -mt
total used free shared buffers cached
Mem: 6084 3084 3000 0 184 1531
-/+ buffers/cache: 1368 4716
Swap: 6143 0 6143
Total: 12228 3084 9144
Free reveals the host has 6 GB of RAM, approximately half is available. Swap is totally free meaning I should have access to about 9 GB of memory at this point.
host% java -version
java version "1.6.0_02"
Java(TM) SE Runtime Environment (build 1.6.0_02-b05)
Java HotSpot(TM) Server VM (build 1.6.0_02-b05, mixed mode)
java -version succeeds
host% java -Xmx2048M -version
Error occurred during initialization of VM
Could not reserve enough space for object heap
Could not create the Java virtual machine.
java -Xmx2048M -version fails. Trace of this reveals mmap call fails.
mmap2(NULL, 2214592512, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANONYMOUS|MAP_NORESERVE, -1, 0) = -1 ENOMEM (Cannot allocate memory)
Any ideas?These are the relevant java options we are using:
-server -XX:-OmitStackTraceInFastThrow -XX:+PrintClassHistogram -XX:+UseLargePages -Xms6g -Xmx6g -XX:NewSize=256m -XX:MaxNewSize=256m -XX:PermSize=128m -XX:MaxPermSize=192m -XX:+UseConcMarkSweepGC -XX:+CMSClassUnloadingEnabled -XX:+CMSPermGenSweepingEnabled -XX:+ExplicitGCInvokesConcurrent -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djava.awt.headless=true
This is a web application that is very dynamic and uses lots of database calls to build pages. We use a large clustered cache to reduce trips to the database. So being able to acces lots of memory is important to our application.
I'll explain some of the more uncommon options:
We use the Concurrent Garbage collector to reduce stop the world GC's. Here are the CMS options:
-XX:+UseConcMarkSweepGC
-XX:+CMSClassUnloadingEnabled
-XX:+CMSPermGenSweepingEnabled An explicit coded GC invokes the Concurrent GC instead of the stop the world GC.
-XX:+ExplicitGCInvokesConcurrentThe default PermSizes where not large enough for our application. So we increased them.
-XX:PermSize=128m
-XX:MaxPermSize=192mWe had some exceptions that were omitting their stack traces. This options fixes that problem:
-XX:-OmitStackTraceInFastThrowWe approximate between 10% to 20% performance improvement with Large Page support. This is an advance feature.
-XX:+UseLargePagesUseLargePages requires OS level configuration as well. In SUSE10 we configured the OS's hugepages by executing
echo "vm.nr_hugepages = 3172" >> /etc/sysctl.confand then rebooting. kernel.shmmax may also need to be modified. If you use Large Page be sure to google for complete instructions.
When we transitioned to 64bit we transitioned from much slower systems having 4GB of ram to much faster machines with 8GB of ram, so I can't answer the question of degraded performance, however with our application, the bigger our cache the better our performance, so if 64bit is slower we more than make up for it being able to access more memory. I bet the performance difference depends on the applications. You should do your own profiling.
You can run both the 32bit version and the 64bit version on most 64bit OSes. So if there is a significant difference run the version you need for the application. For example if you need the memory use the 64bit version if you don't then use the 32bit version. -
Any help will be greatly appreciated.
I got the following errors when using the ant task source2wsdd:
[source2wsdd] classpath C:\bea\weblogic81\server\lib\weblogic.jar;C:\bea\weblogi
c81\server\lib\webservices.jar
[source2wsdd] source2wsdd: Cannot find doclet class weblogic.webservice.tools.dd
gen.ServiceGen
[source2wsdd] 1 error
[ant] Exiting C:\project\DCII\ant\batch-build.xml.
BUILD FAILED
C:\project\ant\build.xml:67: The following error occurred while executing this l
ine:
C:\project\DCII\ant\batch-build.xml:326: javadoc execution failed
at org.apache.tools.ant.ProjectHelper.addLocationToBuildException(Projec
tHelper.java:539)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:388)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.tools.ant.Target.execute(Target.java:341)
at org.apache.tools.ant.Target.performTasks(Target.java:369)
at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
at org.apache.tools.ant.Project.executeTargets(Project.java:1062)
at org.apache.tools.ant.Main.runBuild(Main.java:673)
at org.apache.tools.ant.Main.startAnt(Main.java:188)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:196)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:55)
Caused by: C:\project\DCII\ant\batch-build.xml:326: javadoc execution failed
at weblogic.ant.taskdefs.webservices.autotype.JavaSource2DD.runJavadoc(J
avaSource2DD.java:297)
at weblogic.ant.taskdefs.webservices.autotype.JavaSource2DD.execute(Java
Source2DD.java:150)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.tools.ant.Target.execute(Target.java:341)
at org.apache.tools.ant.Target.performTasks(Target.java:369)
at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
at ise.antelope.tasks.Call.execute(Call.java:17)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
at org.apache.tools.ant.Task.perform(Task.java:364)
at ise.antelope.tasks.IfTask.doIf(IfTask.java:298)
at ise.antelope.tasks.IfTask.execute(IfTask.java:267)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.tools.ant.Target.execute(Target.java:341)
at org.apache.tools.ant.Target.performTasks(Target.java:369)
at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:386)
... 10 more
--- Nested Exception ---
C:\project\DCII\ant\batch-build.xml:326: javadoc execution failed
at weblogic.ant.taskdefs.webservices.autotype.JavaSource2DD.runJavadoc(J
avaSource2DD.java:297)
at weblogic.ant.taskdefs.webservices.autotype.JavaSource2DD.execute(Java
Source2DD.java:150)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.tools.ant.Target.execute(Target.java:341)
at org.apache.tools.ant.Target.performTasks(Target.java:369)
at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
at ise.antelope.tasks.Call.execute(Call.java:17)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
at org.apache.tools.ant.Task.perform(Task.java:364)
at ise.antelope.tasks.IfTask.doIf(IfTask.java:298)
at ise.antelope.tasks.IfTask.execute(IfTask.java:267)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.tools.ant.Target.execute(Target.java:341)
at org.apache.tools.ant.Target.performTasks(Target.java:369)
at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:386)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.tools.ant.Target.execute(Target.java:341)
at org.apache.tools.ant.Target.performTasks(Target.java:369)
at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
at org.apache.tools.ant.Project.executeTargets(Project.java:1062)
at org.apache.tools.ant.Main.runBuild(Main.java:673)
at org.apache.tools.ant.Main.startAnt(Main.java:188)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:196)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:55)
Total time: 8 seconds
The following is the major parts from my ant build file:
<path id="webservice.classpath">
<pathelement location="${wls.home.dir}/server/lib/weblogic.jar"/>
<pathelement location="${wls.home.dir}/server/lib/webservices.jar"/>
</path>
<target name = "initialize">
<mkdir dir="${build.dir}"/>
<mkdir dir="${class.dir}"/>
<mkdir dir="${dist.dir}/${deploy.env}"/>
<mkdir dir="${jdocs.dir}"/>
<mkdir dir="${weblogic.application.dir}"/>
<taskdef name="call"
classpathref="antelope.classpath"
classname="ise.antelope.tasks.Call"/>
<taskdef name="if"
classpathref="antelope.classpath"
classname="ise.antelope.tasks.IfTask"/>
<taskdef name="servicegen"
classpathref="webservice.classpath"
classname="weblogic.ant.taskdefs.webservices.servicegen.ServiceGenTask"/>
<taskdef name="clientgen"
classpathref="webservice.classpath"
classname="weblogic.ant.taskdefs.webservices.clientgen.ClientGenTask"/>
<taskdef name="source2wsdd"
classpathref="webservice.classpath"
classname="weblogic.ant.taskdefs.webservices.autotype.JavaSource2DD"/>
<taskdef name="wldeploy"
classpathref="webservice.classpath"
classname="weblogic.ant.taskdefs.management.WLDeploy"/>
</target>
<target name="buildEar"
depends="buildCommonJar, ejbc">
<echo message ="[${module.name}] Checking to see if ${ear.file} is up to date...[${appc.classpath}]" />
<source2wsdd
javaSource="${webserviceServer_src_dir}/HelloWorld.java"
ddFile="${descriptor.dir}/webservice/web-services.xml"
serviceUri="/HelloWorld">
<classpath refid="webservice.classpath" />
</source2wsdd>
<echo message ="[Done with buildEar]" />
</target>Did you ever resolve this?
-
Error When Using Class :(
Hey,
Class:
package
import flash.display.MovieClip;
import flash.events.Event;
public class Main extends MovieClip
public var enemyA:Array = [];
public var birdA:Array = [];
public var rowNum:int = 2;
private var gap:int = 100;
private var obj_no = 2;
public var enemy1:mychar = new mychar();
public var TheBird:BirdChar = new BirdChar();
public function Main()
// constructor code
createEnemyF();
createBirdF();
this.addEventListener(Event.ENTER_FRAME,loopF);
public function createEnemyF()
for (var i:int = 0; i < rowNum; i++)
for (var j:int = 0; j < obj_no; j++)
enemy1.x = Math.random() * stage.stageWidth - enemy1.width;
enemy1.y = - i * (gap + enemy1.height) - 30.65;
enemyA.push(enemy1);
addChild(enemy1);
public function createBirdF() {
TheBird.x = 270.95;
TheBird.y = 350.95;
birdA.push(TheBird);
addChild(TheBird);
public function loopF(event:Event) {
updateEnemyPositionsF();
updateBirdPositionsF();
hitTestF();
public function updateEnemyPositionsF() {
enemy1.y += 2;
public function updateBirdPositionsF() {
TheBird.x = mouseX;
public function hitTestF() {
if(TheBird.hitTestObject(enemy1))
gotoAndPlay(5);
trace('The Bird Hit Enemy 1');
This conflicts and causes this error:
1046: Type was not found or was not a compile-time constant: MouseEvent
^ ^ Code repeats to all of my event listeners
Thanks for your time.Thanks, i thought it might be this because of previous problems but i seen i already had : import flash.events.Event; so i thought that would be OK!
Second Error:
1180: Call to an undefined method Timer.
I think this is the same sort of thing but what to import to fix this?
So far these are my imports:
import flash.display.MovieClip;
import flash.events.Event;
import flash.events.MouseEvent;
import flash.events.TimerEvent;
Thanks for helping.
Date: Thu, 3 Nov 2011 05:36:22 -0600
From: [email protected]
To: [email protected]
Subject: Error When Using Class
Re: Error When Using Class
created by markerline in Flash Pro - General - View the full discussion
Looks like you imported events.Event but not events.MouseEvent (or some similar syntax) basically you must import MouseEvents separately from other Events.
Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/4005227#4005227
To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/4005227#4005227. In the Actions box on the right, click the Stop Email Notifications link.
Start a new discussion in Flash Pro - General by email or at Adobe Forums
For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746. -
Dbms_crypto - avoid error when using different key in lower environment
Hello Experts,
We are using Oracle 11.2.0.2. We are planning to implement dbms_crypto to encrypt few columns. We clone the data from production to lower environment ( DEV, QC).
For the lower environments, we do not want to get the sensitive data from production and do not plan to use same key. Rather than getting an error when using differnt key, is it possible to get a different resultset back.
In other words, we want the implementation to be same across environments but want to use a diffent key in lower environment and get different result (or garbage).
Any suggestions would be greatly appreciated.
While testing this logic, I am getting following error when using differnt key to decrypt. It works fine if I use same key.
Error at line 1
ORA-28817: PL/SQL function returned an error.
ORA-06512: at "SYS.DBMS_CRYPTO_FFI", line 67
ORA-06512: at "SYS.DBMS_CRYPTO", line 44
ORA-06512: at line 19
DECLARE
l_credit_card_no VARCHAR2(19) := '1234 5678 9012 3456';
l_ccn_raw RAW(128) := UTL_RAW.cast_to_raw(l_credit_card_no);
l_key RAW(128) := UTL_RAW.cast_to_raw('abcdefgh');
l2_key RAW(128) := UTL_RAW.cast_to_raw('12345678');
l_encrypted_raw RAW(2048);
l_decrypted_raw RAW(2048);
BEGIN
DBMS_OUTPUT.put_line('Original : ' || l_credit_card_no);
l_encrypted_raw := DBMS_CRYPTO.encrypt(src => l_ccn_raw,
typ => DBMS_CRYPTO.des_cbc_pkcs5,
key => l_key);
DBMS_OUTPUT.put_line('Encrypted : ' || RAWTOHEX(UTL_RAW.cast_to_raw(l_encrypted_raw)));
l_decrypted_raw := DBMS_CRYPTO.decrypt(src => l_encrypted_raw,
typ => DBMS_CRYPTO.des_cbc_pkcs5,
key => l2_key); --**Using different key to decrypt
DBMS_OUTPUT.put_line('Decrypted : ' || UTL_RAW.cast_to_varchar2(l_decrypted_raw));
END;Thank you.If I understand what you are trying to do ... and I may not ... it is not going to work.
SQL> DECLARE
2 l_credit_card_no VARCHAR2(19) := '1612-1791-1809-2605';
3 l_ccn_raw RAW(128) := utl_raw.cast_to_raw(l_credit_card_no);
4 l_key1 RAW(128) := utl_raw.cast_to_raw('abcdefgh');
5 l_key2 RAW(128) := utl_raw.cast_to_raw('zyxwvuts'); -- alternate key used to attempt a different decryption
6
7 l_encrypted_raw RAW(2048);
8 l_decrypted_raw RAW(2048);
9 BEGIN
10 dbms_output.put_line('Original : ' || l_credit_card_no);
11
12 l_encrypted_raw := dbms_crypto.encrypt(l_ccn_raw, dbms_crypto.des_cbc_pkcs5, l_key1);
13
14 dbms_output.put_line('Encrypted : ' || RAWTOHEX(utl_raw.cast_to_raw(l_encrypted_raw)));
15
16 l_decrypted_raw := dbms_crypto.decrypt(src => l_encrypted_raw, typ => dbms_crypto.des_cbc_pkc
s5, key => l_key1);
17
18 dbms_output.put_line('Key1 : ' || utl_raw.cast_to_varchar2(l_decrypted_raw));
19
20 l_decrypted_raw := dbms_crypto.decrypt(src => l_encrypted_raw, typ => dbms_crypto.des_cbc_pkc
s5, key => l_key2);
21
22 dbms_output.put_line('Key2 : ' || utl_raw.cast_to_varchar2(l_decrypted_raw));
23 END;
24 /
Original : 1612-1791-1809-2605
Encrypted : 3534443342333642353141363846384237463732384636373943374630364234323243334539383042323135
Key1 : 1612-1791-1809-2605
DECLARE
ERROR at line 1:
ORA-28817: PL/SQL function returned an error.
ORA-06512: at "SYS.DBMS_CRYPTO_FFI", line 67
ORA-06512: at "SYS.DBMS_CRYPTO", line 44
ORA-06512: at line 20 -
Weblogic 9.2 error when using spring framework and taglibs.
I am getting the following error when using spring binding for a command form class.
Class ExCommandForm
private String firmCode;
public String getFirmCode ()
public void setFirmCode ()
In my jsp I have the following
<spring:bind path="exCommandForm.firmCode">
<input name="<c:out value="${status.expression}"/>" type="text" value="<c:out value="${status.value}"/>" >
</spring:bind>
Ps. exCommandForm is the commandForm declaration in my SiimpleFormController.
When I deploy the application to weblogic 9.2 I get the following error :
<Apr 26, 2007 4:34:44 PM BST> <Error> <HTTP> <BEA-101017> <[weblogic.servlet.int
ernal.WebAppServletContext@1f601c6 - appName: 'BDRui', name: 'BDRui', context-pa
th: '/BDRui'] Root cause of ServletException.
java.lang.ClassCastException: javax.servlet.jsp.jstl.core.LoopTagSupport$1Status
at jsp_servlet._web_45_inf._jsp.__tradesearch._jspService(__tradesearch.
java:1075)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run
(StubSecurityHelper.java:225)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecuri
tyHelper.java:127)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.jav
a:283)
Ps. Deploying application on Tomcat 5.23 works.
Can anyone help on this ?
cheers in advance.
More Info - Using Weblogic 9.2 on UNIX, servlet 2.4, jstl 1.1
regards
Edited by kings_citi at 04/26/2007 9:03 AM
Edited by kings_citi at 04/26/2007 10:35 AM
Edited by kings_citi at 04/26/2007 10:36 AMThe problem doesn't look like it has anything to do with wappers per se. The stack indicates that the JVM died when the persistent store tried to invoke a standard Java synchronize operation. JVM crashes need to be analyzed by a JVM expert, so I second the suggestion to solicit help from JVM experts and/or filing a case with customer support. In the mean-time, you can probably work-around the issue by either (A) ensuring you have a recent version of the JVM installed, or (B) temporarily switching to the Sun JVM.
Regards,
tom
Edited by: TomB on Sep 17, 2010 2:33 PM
Maybe you are looking for
-
File window not updating modif. dates – and mysterious parallel universe discovered
The day started innocently enough when I tried to edit some <meta> content on a site I'm building and then saved my work. Little did I know... DW's "File" window refused to update the "Modified" column of the files I worked on. Open and closing the
-
Additional field in the 'Add document' subscreen while creating a Solar doc
Hi Forum members, I need to add additional fields in the 'Add Document' sub-screen that appears when I create documents in SOLAR01. The subscreen currently has 'Title', 'Documentation Type', 'Status' and 5 radio buttons for 'Object type'. Please advi
-
Huge volume of data not getting processed
Hello Everyone, Its a single file to multiple idoc scenario. There is no mapping involved. But the problem is that the file is of size 50 MB having 50000 idocs . This idocs get divided and are sent to BW for reporting based on the message id . Now s
-
Embedding Google earth in Java Application
I have developed a java application with help of wings i wanna embed google earth can sum1 guide from were to proceed plz
-
XI- CRM through IDOC adapter - error in outbound status of XI
I have set of messages created today, each of which have 10,000 records as well as same no. of idocs as outbound in XI. only few messages have status 'messages processed' adn lot of messages are in staus 'Message Recorded (Commit follows)' and 'Syste