.xml file not loading when piece runs through an LMS
Dear all
We created a fully interactive training program on MS Excel where we also simulated Excel using the OWC10.DLL control. This works pretty well for both .exe and web packaged pieces.
In certain cases this control is pre-populated using a .xml data file.
When the piece is packaged for the web and runs directly over the web - everything works fine.
But when published to Moodle as a SCORM 1.2 package the data in the .xml file is not read. The .xml file is included in the SCORM wrapper.
Anyone has any idea what the problem could be?
My existing mime types on the Apache server as follows:
AddType application/x-authorware-seg aas
AddType application/x-authorware-bin aab
AddType application/x-authorware-bin x32
AddType application/x-authorware-bin u32
AddType application/x-authorware-bin vox
AddType application/x-authorware-bin xml
AddType application/x-authorware-map aam
AddType application/x-authorware aam aas u32 vox xml
Still not working ;-(
Johann Fouché
+27 82 853 1010
http://www.jfmultimedia.co.za
Skype: johannfouche
Telephone VOIP: +27 127435670
Similar Messages
-
Xml file not loading from different server
Hi,
I have a simple flash banner that is pulling a number from an xml file on a different server. When it gets to the frame where the number should be it just says "transferring data from eckul.com" and will not actually pull in the number. Unfortunately I can't put the files on the same servers. Any help would be much appreciated, below are the links and the xml code I'm using followed by the action script. Cheers
http://www.sainters.net/newsletters/2010/flash_test_membership2.html
http://www.eckul.com/number.xml
<?xml version="1.0"?>
<inventors>
<person>
<name>892</name>
</inventors>
function loadXML(loaded) {
if (loaded) {
_root.inventor = this.firstChild.childNodes[0].childNodes[0].firstChild.nodeValue;
_root.comments = this.firstChild.childNodes[0].childNodes[1].firstChild.nodeValue;
name_txt.text = _root.inventor;
comment_txt.text = _root.comments;
} else {
trace("file not loaded!");
xmlData = new XML();
xmlData.ignoreWhite = true;
xmlData.onLoad = loadXML;
xmlData.load("http://www.eckul.com/number.xml");so, in frame 1 of your fla before you execute that cross-domain load method, use:
System.security.loadPolicyFile("http:www.yourcrossdomain.com/subdirectoriesIfNeeded/crossd omain2.xml");
where the following (crossdomain.xml) is in www.yourcrossdomain.com's root (IF you want to allow allow subdirectory policy files):
<!DOCTYPE cross-domain-policy SYSTEM "http://www.adobe.com/xml/dtds/cross-domain-policy.dtd">
<cross-domain-policy>
<site-control permitted-cross-domain-policies="all"/>
</cross-domain-policy>
and in the subdirectory (and its descendents) that you want to allow access put crossdomain2.xml:
<?xml version="1.0"?>
<!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">
<cross-domain-policy>
<allow-access-from domain="www.thedomainthatstryingtoloadcrossdomaindata.com" />
</cross-domain-policy> -
XML file not loading in FF from server
I've created a web page that loads an external XML file and
then uses javascript code to parse the file for requested
information. I know it's not the best way to do this, but I'm
trying to get this working before I move on to "better" methods.
When I run the page using the "Preview/Debug in browser"
funtionality of DW everything works great both in IE and FF. But
when I load the page to the server and then load the page in a
browser, it works in IE but not in FF. It looks as though FF is
just not loading the XML file. I can't figure out why the page
would work if launched from DW, but not work if the page is loaded
on the server and then run from there, and only in FF.
The code I'm using to load the XML file is supposed to be
cross-browser compatible. I've seen many versions like from various
sources, so it should be OK. I'm pretty new to all of this so I'm
hoping that I'm just missing something simple. Does anyone have any
idea why this is behaving this way?
Thanks for any help.so, in frame 1 of your fla before you execute that cross-domain load method, use:
System.security.loadPolicyFile("http:www.yourcrossdomain.com/subdirectoriesIfNeeded/crossd omain2.xml");
where the following (crossdomain.xml) is in www.yourcrossdomain.com's root (IF you want to allow allow subdirectory policy files):
<!DOCTYPE cross-domain-policy SYSTEM "http://www.adobe.com/xml/dtds/cross-domain-policy.dtd">
<cross-domain-policy>
<site-control permitted-cross-domain-policies="all"/>
</cross-domain-policy>
and in the subdirectory (and its descendents) that you want to allow access put crossdomain2.xml:
<?xml version="1.0"?>
<!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">
<cross-domain-policy>
<allow-access-from domain="www.thedomainthatstryingtoloadcrossdomaindata.com" />
</cross-domain-policy> -
XML file not loading...HELP!
Hello,
I'm working on a Magento template that includes a flashfile that loads a XML file.
I'm getting the following error:
XML FAILED TO LOAD! (undefinedtfile_main.xml)
Fout bij openen van URL 'file:////Volumes/Macintosh%20HD/Users/ralreclame/Desktop/undefinedtf ile_main.xml'
flash folder looks like this:
I also tried placing the xml-file outside the xml_folder. Did not work either.
code in the first frame looks like this:
Stage.align = "MC";
Stage.scaleMode = "noScale";
_root.gall = url="tfile";
_root.cacheKiller = "true";
_root.road = _root.xmlUrl;
_root.r_p = _root.imagesFolder;
import gs.dataTransfer.XMLParser;
function onFinish(success_boolean, results_obj, xml) {
//This fhunction gets called as soon as the XML loads and gets parsed.
if (success_boolean) {
trace(1);
play();
stop();
var parsed_obj = {};
//We'll use this to hold the parsed xml object (once the XML loads and gets parsed successfully).
var unCash = new Date().getTime();
if (_root.cacheKiller == "true") {
fileToLoad = _root.road+url+"_main.xml?cacheKiller="+unCash;
fileToLoad = _root.road+url+"_main.xml";
} else {
fileToLoad = _root.road+url+"_main.xml";
XMLParser.load(fileToLoad, onFinish, parsed_obj);
Hopefully anyone can help me out here!
grtz RoelThanx for the reply! my flash folder looks like this:
and i inserted the value this way >>
Stage.align = "MC";
Stage.scaleMode = "noScale";
_root.gall = url="tfile";
_root.cacheKiller = "true";
_root.road = _root.xmlUrl;
_root.r_p = _root.imagesFolder;
_root.xmlUrl; = "xml_folder/" <<
import gs.dataTransfer.XMLParser;
function onFinish(success_boolean, results_obj, xml) {
//This fhunction gets called as soon as the XML loads and gets parsed.
if (success_boolean) {
trace(1);
play();
stop();
var parsed_obj = {};
//We'll use this to hold the parsed xml object (once the XML loads and gets parsed successfully).
var unCash = new Date().getTime();
if (_root.cacheKiller == "true") {
fileToLoad = _root.road+url+"_main.xml?cacheKiller="+unCash;
fileToLoad = _root.road+url+"_main.xml";
} else {
fileToLoad = _root.road+url+"_main.xml";
XMLParser.load(fileToLoad, onFinish, parsed_obj);
The movie now shows in the preview so no more load error. One step further.
But the links from the XML file are stil not working. When i preview the movie in flash i get "undefined" 5 times (i got 5 links in the xml file) It looks like this>>>
any idea where that comes from??
Thanks Again.
-Roel -
i am trying to create an e-learning course that will have
glossaries according to the various lessons that are within the
overall course. i have attached the code that i am using to quickly
switch out the glossary xml file (that contains the definitiosn and
terms). I can currently trace the lessonNumber variable (it is
reading "1"), but when I attempt to trace the glossaryText
variable, the output window is blank....can anyone tell me where i
am going wrong?Just a hint - perhaps try putting your onLoad declaration
BEFORE your load command. This way, your onload is present before
the load is issued, so in case the XML is loaded really quickly,
the onLoad handler will get called for sure. Does this make sense?
In your case, the XML may have already loaded before you tell the
object WHAT to call after it's loaded.
When I've used the xml object, it looks more like this:
myXML = new XML();
myXML.onLoad = someFunction;
myXml.load("somexmlfile.xml");
Also -afterwards, you have to select a node of the XML to
view. I use the XPath API to do so, by including this
import mx.xpath.XPathAPI;
And then using:
XPathAPI.selectSingleNode within an onLoad function. Take a
look at the documentation for XPathAPI - I had to make a custom
function to return the node I wanted.
Hope this helps you. -
Images not loading when I run my JAR
I created a Yahtzee game that contains five die images. When I created the JAR file, I explicitly added the source and images to it. But when I go to run the app, no die images show up. I referenced Java's Creating a JAR File tutorial (http://java.sun.com/docs/books/tutorial/deployment/jar/build.html) but I didn't find anything useful regarding my issue.
My Images folder is under my classes folder: Yahtzee\build\classes\Images
I create the JAR from within classes and I add the die images that are in Images by using change directory option -C.
jar cvfm Yahtzee.jar Manifest.txt *.class -C Images/ .
I'm using the verbose option v, which allows me to see every file that gets added to the JAR, so I know there's no problem with missing files.
Any thoughts?
Message was edited by:
d_martBy the way I'm adding the images into the JAR, they should be in its root.
This is what I'm doing with my code. I have five die buttons that get a random die face, which are represented with my die images. I have an up-state (unselected) and a down-state (selected) image for each die face (1, 2, 3, 4, 5, 6). I have two different states because just like poker, you keep the cards that you want and disgard the ones that you don't want and in return, you get some random card for every card that you disgarded. So the selected and unselected images should be self-explanitory now. In Yahtzee, you have up to three rolls per hand, which I have a button that handles the rolls (<=3). I have stored my die images in a 2D array.
My image file names are as follows:
d1up.png, d1down.png, d2up.png, d2down.png,...d6up.png, d6down.png
private Icon [][] dieImages;
private Icon defaultDieImage;
private Die [] dieButtons;
// INITIALIZE DIE IMAGES
defaultDieImage = new ImageIcon("../Yahtzee/src/Images/blank.png");
dieImages = new ImageIcon[2][6];
for(int i = 0; i <= 5; i++) {
// up state images
dieImages[0] = new ImageIcon("../Yahtzee/src/Images/d"
+ (i + 1) + "up.png");
// down state images
dieImages[1][i] = new ImageIcon("../Yahtzee/src/Images/d"
+ (i + 1) + "down.png");
Those images are then loaded into the die buttons (depending on the roll).
FYI, I just finished my 2nd semester of Java, so I'm still pretty new to the language and it's the only language that I know so far. With that said, please forgive for any dumb mistakes. It's all good though, I learn something new everyday. So you say that I should be using something like getClass().getClassLoader().getResource("an_image.jpg"); in my code instead of what I have?
I hope the information that I provided helps.
Dan -
Metadata for podcast content files not loading when using Public Site Mgr.
Metadata entered via QickTime for video files does not stay with thge file when it is uploaded for our iTunes U site via the Public Site Manager.
Please note that Java and Javascript are not related. iWeb uses a lot
of Javascript, not Java. There may be some issues with the Javascript
generated by iWeb -- I don't know. If it seems to work for someone
and not for someone else then it is an issue at the browser end, not
the website end. Each browser may not be handling the Javascript in
exactly the same way. (You gotta love standards.)
Dave -
Imported Jar file not loaded at run time ORA-105100
Oracle 9iDS forms Version 9.0.2.9.0
Oracle 9iAS Release 2
I have imported java classes from a jar file into my form. I have it working in client server. Added the entries to the classpath in the default.env and system environment variable for development of the form and for execution.
Moved the jar file, form and testing html to the application server. Modified the classpath in the default.env file. Tested the form. Got the ORA-105100 error. MetaLink note 261650.1 states that error frm-40735 When-Button-Pressed triger raised exception ORA-105100 if calling a java function from a jar file. Cause: Jar file not loaded at run time. Solution: add in your default.env CLASSPATH parameter your jar file including the whole directory of the jar file location. That has been done and the OC4J has been restarted. Still get error.
Oracle support has not been able to give me much help as of yet. Does anyone have any further ideas, or documentation that I can read to help get this working?
Thanks in advance for any assistance that is offered.Hey people any clues?
-
Firefox 6 will not load when I click the icon. I have tried to uninstall it, both through the control panel and going straight to help.exe. In both cases nothing happens. How do I uninstall this program?
Start Firefox in [[Safe Mode]] to check if one of the add-ons is causing the problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
* Don't make any changes on the Safe mode start window.
See:
* [[Troubleshooting extensions and themes]]
* [[Troubleshooting plugins]]
If it does work in Safe-mode then disable all extensions and then try to find which is causing it by enabling one at a time until the problem reappears.
* Use "Disable all add-ons" on the [[Safe mode]] start window to disable all extensions.
* Close and restart Firefox after each change via "File > Exit" (Mac: "Firefox > Quit"; Linux: "File > Quit") -
When MRP run through background process in MDBT open PR and PO not comming?
Hi,
When MRP run through backgroung process in MDBT open PR and PO not coming in MDBT result.
Pls advise accordingaly.
Regards
rkRam,
Either I am totally misunderstanding your statements, or your business people are misinformed.
The output of MD01 (MRP total run in foreground) and the output of MDBT (MRP total Run in Background) ARE IDENTICAL, provided you have selected the same parameters.
Neither output contains a discrete listing of open Purchase orders and Purchase requisitions.
Standard output of both MD01 and MDBT are:
1. List of materials processed, with exception messages
2. Statistics
In addition, both of these programs also write MRP records to the MRP databases, provided that the "Display Material List" parameter is set. In this case, both of these programs will produce data that can be further reviewed and managed in MD05 and MD06. MD06 is the tool that most planners use to process the MRP database info.
If you wish to see a listing of the entire MRP results (either MD01 or MDBT), then execute transaction MDLD. This will produce either a spoolfile or a printed document.
For the PO or PR listings, review my earlier suggestions.
Rgds,
DB49 -
i tunes on my iphone will not play songs. it runs through the library at break neck speed when i click on a song...help!!, i tunes on my iphone will not play songs. it runs through the library at break neck speed when i click on a song...help!!
Try force-closing the Music app: from the home screen, double-tap the home button, locate Music in the list at the bottom, tap and hold it until it wiggles, tap to close it, tap the home button again, then try to play your music again.
-
XML File not Found for the Container BC4J.cpx
Hi,
Have following error when I start a BC4J-JSP/Struts application (with Embedded and standalone OC4J) :
500 Internal Server Error
oracle.jbo.NoXMLFileException: JBO-26001: XML File not found for the Container BC4J.cpx
oracle.jbo.mom.ContainerDefImpl oracle.jbo.mom.DefinitionManager.loadProjectDefinition(java.lang.String)
DefinitionManager.java:751
oracle.jbo.mom.ContainerDefImpl oracle.jbo.mom.DefinitionManager.loadProjectDefinition()
DefinitionManager.java:793
void oracle.jbo.mom.DefinitionManager.initManager()
DefinitionManager.java:137
void oracle.jbo.uicli.mom.JUMetaObjectManager.<init>()
JUMetaObjectManager.java:57
oracle.jbo.uicli.mom.JUMetaObjectManager oracle.jbo.uicli.mom.JUMetaObjectManager.getJUMom()
JUMetaObjectManager.java:131
oracle.jbo.common.ampool.SessionCookie oracle.jbo.http.HttpContainer.findSessionCookie(javax.servlet.http.HttpSession, java.lang.String, java.lang.String, java.util.Properties)
HttpContainer.java:541
boolean oracle.jbo.html.struts11.BC4JRequestProcessor.initPageFromPath(oracle.jbo.html.struts11.BC4JActionMapping, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
BC4JRequestProcessor.java:222
org.apache.struts.action.ActionMapping oracle.jbo.html.struts11.BC4JRequestProcessor.processMapping(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String)
BC4JRequestProcessor.java:124
void org.apache.struts.action.RequestProcessor.process(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
RequestProcessor.java:234
void org.apache.struts.action.ActionServlet.process(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
ActionServlet.java:1292
void org.apache.struts.action.ActionServlet.doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
ActionServlet.java:492
void javax.servlet.http.HttpServlet.service(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
HttpServlet.java:740
void javax.servlet.http.HttpServlet.service(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
HttpServlet.java:853
void com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.ServletRequestDispatcher.invoke(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
ServletRequestDispatcher.java:721
void com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.ServletRequestDispatcher.forwardInternal(javax.servlet.ServletRequest, javax.servlet.http.HttpServletResponse)
ServletRequestDispatcher.java:306
boolean com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpRequestHandler.processRequest(com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.ApplicationServerThread, com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.EvermindHttpServletRequest, com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.EvermindHttpServletResponse, java.io.InputStream, java.io.OutputStream, boolean)
HttpRequestHandler.java:767
void com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpRequestHandler.run(java.lang.Thread)
HttpRequestHandler.java:259
void com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpRequestHandler.run()
HttpRequestHandler.java:106
void EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run()
PooledExecutor.java:803
void java.lang.Thread.run()
Thread.java:484
Then I make a Reload and it's ok.
I have a Workspace with two Projects :
BC4J.jpr for Businnes Components
Web.jpr for JSP Struts
In /classes I have the file Web.cpx, but no BC4J.cpx.
From which does this name come ? Can I change this name ?
Thanks
YvesI found this on Metalink...
JBO-26001: NoXMLFileException
Cause: Could not open the named XML file for read.
The following is from Note 137429.1. Hope this helps.
Raja.
JBO-26001: NoXMLFileException
Cause: Could not open the named XML file for read.
Action: 1. Make sure that the file is present. In particular, if the file is to be found in a zip/jar file, make sure that the Zip/JAR file is included in the CLASSPATH.
2. This error is also reported if the name of the XML file does not match the object Name specified in the XML file. If the file system support case insensitive file names (e.g., Windows NT), make sure that the file name matches the object Name in the XML file in case-sensitive fashion.
3. For a .JPX file, this error is reported if the JPX file is missing the JboProject XML tag. Check the JPX file to make sure that the valid tag is in there.
4. One XML file may be extending another XML file (specified by the Extends element in this XML file). This error is reported if the base XML file is not found.
5. When loading the XML file for a package (JboPackage tag), this error is reported if some unexpected error occurs while loading a containee.
In all of the above cases, a more descriptive message may be printed on Diagnostic. If you are not seeing Diagnostic messages, you can run your application with Diagnostic turned on, as in "java -Djbo.debugoutput=console ...", to see Diagnostic messages. -
Connection has no password, -jdbc.xml file not generated for connection
Hi,
I'm migrating a jdev 10g web application (with EJB) to 11g, i did the automatic migration tool offred by 11g, i'm using the integrated weblogic server but it seems there is a *-jdbc.xml file missed, and it must be generated, this is the log file of the start of server :
IntegratedWebLogicServer started.
[Running application SAB_ADMIN on Server Instance IntegratedWebLogicServer...]
[09:14:15 AM] ---- Deployment started. ----
[09:14:15 AM] Target platform is (Weblogic 10.3).
[09:14:18 AM] Retrieving existing application information
[09:14:19 AM] Running dependency analysis...
[09:14:19 AM] Deploying 4 profiles...
[09:14:21 AM] Wrote Web Application Module to C:\Users\Moshe\AppData\Roaming\JDeveloper\system11.1.1.3.37.56.60\o.j2ee\drs\SAB_ADMIN\ViewControllerWebApp.war
[09:14:21 AM] Wrote Web Application Module to C:\Users\Moshe\AppData\Roaming\JDeveloper\system11.1.1.3.37.56.60\o.j2ee\drs\SAB_ADMIN\ModelWebApp.war
[09:14:25 AM] Wrote EJB Module to C:\Users\Moshe\AppData\Roaming\JDeveloper\system11.1.1.3.37.56.60\o.j2ee\drs\SAB_ADMIN\ModelEJB.jar
[09:14:25 AM] WARNING: Connection DBConnectionSAB has no password. DBConnectionSAB-jdbc.xml file not generated for connection DBConnectionSAB.
[09:14:26 AM] Wrote Enterprise Application Module to C:\Users\Moshe\AppData\Roaming\JDeveloper\system11.1.1.3.37.56.60\o.j2ee\drs\SAB_ADMIN
[09:14:26 AM] Deploying Application...
<14 oct. 2010 09 h 14 GMT+01:00> <Notice> <EclipseLink> <BEA-2005000> <2010-10-14 09:14:28.065--ServerSession(40464643)--property eclipselink.jdbc.user is deprecated, property javax.persistence.jdbc.user should be used instead.>
<14 oct. 2010 09 h 14 GMT+01:00> <Notice> <EclipseLink> <BEA-2005000> <2010-10-14 09:14:28.299--ServerSession(40464643)--property eclipselink.jdbc.driver is deprecated, property javax.persistence.jdbc.driver should be used instead.>
<14 oct. 2010 09 h 14 GMT+01:00> <Notice> <EclipseLink> <BEA-2005000> <2010-10-14 09:14:28.299--ServerSession(40464643)--property eclipselink.jdbc.url is deprecated, property javax.persistence.jdbc.url should be used instead.>
<14 oct. 2010 09 h 14 GMT+01:00> <Notice> <EclipseLink> <BEA-2005000> <2010-10-14 09:14:28.299--ServerSession(40464643)--property eclipselink.jdbc.password is deprecated, property javax.persistence.jdbc.password should be used instead.>
<14 oct. 2010 09 h 14 GMT+01:00> <Warning> <EJB> <BEA-012035> <The Remote interface method: 'public abstract java.lang.Object oracle.user.Session_user.mergeEntity(java.lang.Object)' in EJB 'SessionEJB' contains a parameter of type: 'java.lang.Object' which is not Serializable. Though the EJB 'SessionEJB' has call-by-reference set to false, this parameter is not Serializable and hence will be passed by reference. A parameter can be passed using call-by-value only if the parameter type is Serializable.>
<14 oct. 2010 09 h 14 GMT+01:00> <Warning> <EJB> <BEA-012035> <The Remote interface method: 'public abstract java.lang.Object oracle.user.Session_user.persistEntity(java.lang.Object)' in EJB 'SessionEJB' contains a parameter of type: 'java.lang.Object' which is not Serializable. Though the EJB 'SessionEJB' has call-by-reference set to false, this parameter is not Serializable and hence will be passed by reference. A parameter can be passed using call-by-value only if the parameter type is Serializable.>
<14 oct. 2010 09 h 14 GMT+01:00> <Warning> <EJB> <BEA-012035> <The Remote interface method: 'public abstract java.lang.Object oracle.bouton.Session_bouton.mergeEntity(java.lang.Object)' in EJB 'Session_bouton' contains a parameter of type: 'java.lang.Object' which is not Serializable. Though the EJB 'Session_bouton' has call-by-reference set to false, this parameter is not Serializable and hence will be passed by reference. A parameter can be passed using call-by-value only if the parameter type is Serializable.>
<14 oct. 2010 09 h 14 GMT+01:00> <Warning> <EJB> <BEA-012035> <The Remote interface method: 'public abstract java.lang.Object oracle.bouton.Session_bouton.persistEntity(java.lang.Object)' in EJB 'Session_bouton' contains a parameter of type: 'java.lang.Object' which is not Serializable. Though the EJB 'Session_bouton' has call-by-reference set to false, this parameter is not Serializable and hence will be passed by reference. A parameter can be passed using call-by-value only if the parameter type is Serializable.>
<14 oct. 2010 09 h 14 GMT+01:00> <Warning> <EJB> <BEA-012035> <The Remote interface method: 'public abstract java.lang.Object oracle.operation.Session_operation.mergeEntity(java.lang.Object)' in EJB 'Session_operation' contains a parameter of type: 'java.lang.Object' which is not Serializable. Though the EJB 'Session_operation' has call-by-reference set to false, this parameter is not Serializable and hence will be passed by reference. A parameter can be passed using call-by-value only if the parameter type is Serializable.>
<14 oct. 2010 09 h 14 GMT+01:00> <Warning> <EJB> <BEA-012035> <The Remote interface method: 'public abstract java.lang.Object oracle.operation.Session_operation.persistEntity(java.lang.Object)' in EJB 'Session_operation' contains a parameter of type: 'java.lang.Object' which is not Serializable. Though the EJB 'Session_operation' has call-by-reference set to false, this parameter is not Serializable and hence will be passed by reference. A parameter can be passed using call-by-value only if the parameter type is Serializable.>
<14 oct. 2010 09 h 14 GMT+01:00> <Notice> <EclipseLink> <BEA-2005000> <2010-10-14 09:14:29.656--ServerSession(42285779)--property eclipselink.jdbc.user is deprecated, property javax.persistence.jdbc.user should be used instead.>
<14 oct. 2010 09 h 14 GMT+01:00> <Notice> <EclipseLink> <BEA-2005000> <2010-10-14 09:14:29.656--ServerSession(42285779)--property eclipselink.jdbc.driver is deprecated, property javax.persistence.jdbc.driver should be used instead.>
<14 oct. 2010 09 h 14 GMT+01:00> <Notice> <EclipseLink> <BEA-2005000> <2010-10-14 09:14:29.656--ServerSession(42285779)--property eclipselink.jdbc.url is deprecated, property javax.persistence.jdbc.url should be used instead.>
<14 oct. 2010 09 h 14 GMT+01:00> <Notice> <EclipseLink> <BEA-2005000> <2010-10-14 09:14:29.656--ServerSession(42285779)--property eclipselink.jdbc.password is deprecated, property javax.persistence.jdbc.password should be used instead.>
<14 oct. 2010 09 h 14 GMT+01:00> <Error> <HTTP> <BEA-101371> <There was a failure when processing annotations for application C:\Users\Moshe\AppData\Roaming\JDeveloper\system11.1.1.3.37.56.60\o.j2ee\drs\SAB_ADMIN\ModelWebApp.war. Please make sure that the annotations are valid. The error is oracle.adf.view.faces.webapp.ResourceServlet>
<14 oct. 2010 09 h 14 GMT+01:00> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1287044066833' for task '0'. Error is: 'weblogic.application.ModuleException: Failed to load webapp: 'SAB_CRUD-Model-context-root''
weblogic.application.ModuleException: Failed to load webapp: 'SAB_CRUD-Model-context-root'
at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:404)
at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:180)
at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:508)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
Truncated. see log file for complete stacktrace
Caused By: java.lang.ClassNotFoundException: oracle.adf.view.faces.webapp.ResourceServlet
at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:280)
at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:253)
at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:56)
at java.lang.ClassLoader.loadClass(ClassLoader.java:303)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
Truncated. see log file for complete stacktraceThis is the content of my web.xml file where i found the markup <servlet> and i tried to run without the first one but the error still like it was :
<servlet>
<servlet-name>Faces Servlet</servlet-name>
<servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet>
<servlet-name>resources</servlet-name>
<servlet-class>oracle.adf.view.faces.webapp.ResourceServlet</servlet-class>
</servlet>
<servlet>
<servlet-name>resources</servlet-name>
<servlet-class>org.apache.myfaces.trinidad.webapp.ResourceServlet</servlet-class>
</servlet>
<servlet>
<description>Web Service MyConnexionServiceSoapHttpPort</description>
<display-name>Web Service MyConnexionServiceSoapHttpPort</display-name>
<servlet-name>MyConnexionServiceSoapHttpPort</servlet-name>
<servlet-class>oracle.controll.ConnexionBaseDeDonnees</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet>
<servlet-name>ResultatRequetePort</servlet-name>
<servlet-class>oracle.controll.ResultatRequete</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>Faces Servlet</servlet-name>
<url-pattern>/faces/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>resources</servlet-name>
<url-pattern>/adf/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>MyConnexionServiceSoapHttpPort</servlet-name>
<url-pattern>MyConnexionServiceSoapHttpPort</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>ResultatRequetePort</servlet-name>
<url-pattern>/ResultatRequetePort</url-pattern>
</servlet-mapping>
Thanks... -
UIXJSP App built off BC4J Project JBO Excep XML File not found for the Container
Running JDEV 9.0.3 build 960
Created a new project in folder "UIX JSP"
"UIX JSP" note the space!
Create a default UIX JSP Application based on existing BC4J Project
When running a JSP - Get a JBO Error complaining that the XML File not found for the Container
If I recreate the project with name UIX_JSP problem does not occur.I logged a bug on this.
-
XML File not found for the Container model.cpx
I can run my application from JDeveloper without receiving the error. But when I deploy the application I get the following:
500 Internal Server Error
oracle.jbo.NoXMLFileException: JBO-26001: XML File not found for the Container model.cpx at oracle.jbo.mom.DefinitionManager.loadProjectDefinition(DefinitionManager.java:751) at oracle.jbo.uicli.mom.JUMetaObjectManager.createPool(JUMetaObjectManager.java:457) at oracle.jbo.http.HttpContainer.findSessionCookie(HttpContainer.java:541) at oracle.jbo.html.struts11.BC4JRequestProcessor.initPageFromPath(BC4JRequestProcessor.java:233) at oracle.jbo.html.struts11.BC4JRequestProcessor.processMapping(BC4JRequestProcessor.java:123) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:234) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1292) at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:510) at javax.servlet.http.HttpServlet.service(HttpServlet.java:760) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:721) at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306) at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767) at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpRequestHandler.run(HttpRequestHandler.java:259) at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpRequestHandler.run(HttpRequestHandler.java:106) at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803) at java.lang.Thread.run(Thread.java:479)
Any Ideas?Hi,
please explicitly "make" the project. One reason for this problem could be that the model.cpx isn't created properly. Select the model project and compile the complete project before deploying it. Sometimes it helps to clear the "class" directory of the project on teh file system before re-compiling
Frank
Maybe you are looking for
-
when i try to conect my ipod touch 4g to my laptop, it doesn't recgonize it itunes doesn't either. at first i would get a pop up from my laptop saying something about the driver buit now nothing happens, but when i try to connet an ipad or ipod nano
-
How can I uninstall iDVD '08 and install iDVD '06?
There's a reported bug among iDVD '08 users where burning large projects are resulting in audio synch problems near the end of the burned DVD. In other words, the audio slowly goes out of synch towards the end of burned projects. This is a problem in
-
21.5" iMac brightness problem under Windows 7
Even at lowest possible brightness under Windows 7, this is much too bright for working in the evening/night. I was using VistaShades under Vista, but now under Windows 7 VistaShades only darkens the background! Does anyone know another program for r
-
Is there a way to restore an erased history?
My kids have recently started erasing the history on my computer. I want to go back and see what they are looking at. Is there any way to restore a history once it has been cleared? Thanks
-
we make the wrong advance payment to another vendor, now how to clear the vendor, should we use f51 or F-44? thanks