Preloader - export frame for AS 2 Classes - not initizialising component
I am using Yahoo's Map Component on a website. When I edit
the Export Frame in Publish settings so that the AS classes are
exported on a frame other than 1 (so my preloader is accurate) my
component does not initialize. I've researched relentlessly on a
solution to this, apparently the same happens for some default
Flash components, and just cannot find one.
Does anyone have any ideas?
In addition AS2 Classes add nearly 400k to my file size. Is
there anyway around this?
click file/publish settings/flash/actionscript settings and make sure frame 1 is set as the export frame.
if that's already set, don't use test scene.
Similar Messages
-
The Export Frame for Classes specified in the Publish or Export settings
Hi,
I have a site I'm currently editing for a client, I'm adding a video element into it, but it doesn't play when I test movie, and when I test scene it gives me this error message:
WARNING: The Export Frame for Classes specified in the Publish or Export settings, frame 2, does not exist. No bytecode for ActionScript 2.0 classes or interfaces was exported.
I've heard its a bug in CS3
Can anyone help?
here's the actionscript:
/**********---------- Config Part ----------**********/
import cn.com.webstudio.util.*;
Stage.scaleMode = "noscale";
Stage.align = "TL";
//Stage.showMenu = false;
stop();
/**********---------- Variable Part ----------**********/
var xmlpath:String;
var dataArr:Array = [];
var curItem:Number = 0;
//sound volume setting
var volume:Number = 50;
//buffer time setting
var bufferTime:Number = 10;
var locked:Boolean = false;
//please set these fellowing value from external xml file.
var autoPlayFirst:Boolean = false;
var autoPlayAll:Boolean = false;
var autoNext:Boolean = false;
var mainStyleColor:Number = FFFFFF;
var titleItem, videoItem, thumbList, controlItem, scrollItem;
/**********---------- Function Part ----------**********/
// Load the xml file.
function loadXML(url:String, callback:Function) {
var myxml:XML = new XML();
myxml.ignoreWhite = true;
myxml.onLoad = function(success) {
if (success) {
if (callback != null) {
callback(this);
myxml.load(url);
if(xmlpath !== undefined ){
loadXML(xmlpath, parseXML);
}else{
loadXML("config.xml",parseXML);
// parse xml data
function parseXML(xml:XML) {
curItem = -1;
dataArr = [];
var i, j, temp1, temp2, temp3;
temp1 = xml.firstChild.firstChild.childNodes;
// config part
autoPlayFirst = temp1[0].firstChild.nodeValue=="false";
autoPlayAll = temp1[1].firstChild.nodeValue=="true";
autoNext = temp1[2].firstChild.nodeValue=="true";
mainStyleColor = int(temp1[3].firstChild.nodeValue);
// item data
temp2 = xml.firstChild.childNodes[1].childNodes;
for (i in temp2) {
dataArr[i] = {};
temp3 = temp2[i].childNodes;
for (j in temp3) {
dataArr[i][temp3[j].nodeName] = temp3[j].firstChild.nodeValue;
init();
function init() {
// title item
titleItem = this.attachMovie("titleItem", "titleItem", 1);
titleItem._x = 68;
titleItem._y = 21;
// video list
videoItem = this.attachMovie("videoItem", "videoItem", 2);
videoItem._x = 68;
videoItem._y = 50;
videoItem.posX = videoItem._x;
videoItem.posY = videoItem._y;
videoItem.posW = videoItem._width;
videoItem.posH = videoItem._height;
// thumb list
thumbList = this.attachMovie("thumbList", "thumbList", 3);
thumbList._x = 558;
thumbList._y = 20;
// control item
controlItem = this.attachMovie("controlItem", "controlItem", 4);
controlItem._x = videoItem._x-1;
controlItem._y = videoItem._y+videoItem._height+11;
controlItem.posX = controlItem._x;
controlItem.posY = controlItem._y;
var mainStyleColor:Number = FFFFFF;
//controlItem.volBut.onPress();
// scroll item
scrollItem = this.attachMovie("scrollItem", "scrollItem", 5);
scrollItem._x = thumbList._x+thumbList._width-scrollItem._width+3;
scrollItem._y = thumbList._y+thumbList.mask._y;
// set main style color
setStyle();
function setStyle() {
wEffect.setRGB(thumbList.back, mainStyleColor);
wEffect.setRGB(controlItem.back, mainStyleColor);
wEffect.setRGB(titleItem.back, mainStyleColor);click file/publish settings/flash/actionscript settings and make sure frame 1 is set as the export frame.
if that's already set, don't use test scene. -
For weeks I have been viewing a doggy day care center via their web cam. This weekend I upgraded to Lion and have been unable to view the center. I get an error message for Java plug-in 1.6.0_29 ....webcam class not found. Any suggestions on how to fix this?
Sorry, don't know what else to suggest unless there's a URL to the problem stream that someone here can try. Otherwise we can't test it to try and determine what might be wrong.
BTW, make sure they're testing it with a Mac, not with a Windows system. If they test only with Windows, what they say is or is not working doesn't mean much.
Regards. -
Publish settings Export frame set to 2 kills flvPlayback
To let my tiny preloader show up before its at 75% I changed
the export frame for classes to 2 in the publish settings. This
works for the preloader but now the flvPlayback doesnt work.
(except it does still work if I hit control enter a second time and
watch my preloder work.Bizzare!) The .flw file still wont playback
the .flv's when run on its own. Changing the export frame back to
"1" and all is fine except the preloader is a no show till it's at
75% or so.
Dosent seem to be any way to change properties for the
playback component itself.
help please. The last thread I saw on this subject had no
resolution and was from 2005.
ffwow, you waited a whole of 10 minutes to complain you're not
getting help?
You might want to rethink that strategy, or you'll likely not
get any help
at all.
Things export in the frame their in, unless you specify
otherwise.
A more proper way to make a preloader is to use a separate
movie, and load
the content into an empty movie clip. Then you can use
MovieClipLoader, and
accurately monitor and display the dl.
Dave -
Head Developer
http://www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/ -
When i right click an item in my library and then click
linkage.....isee the option to export in first frame!
Is there anyway to instruct individual items to export in any
other frame than first?
If i go to publish settings and change export frame for
classes to frame 8 it changes ALL my classes, which presents a
problem as it stops my preloader working and gets stuck on frame
one rather than going to frame 8 and continuing with the animation?wow, you waited a whole of 10 minutes to complain you're not
getting help?
You might want to rethink that strategy, or you'll likely not
get any help
at all.
Things export in the frame their in, unless you specify
otherwise.
A more proper way to make a preloader is to use a separate
movie, and load
the content into an empty movie clip. Then you can use
MovieClipLoader, and
accurately monitor and display the dl.
Dave -
Head Developer
http://www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/ -
WARNING: The Export Frame...
WARNING: The Export Frame for Classes specified in the
Publish or Export settings, frame 10, does not exist. No bytecode
for ActionScript 2.0 classes or interfaces was exported.
What does that mean!??? My movie export correctly and
everything works fine but I keep getting this warning when I'm
editing the main fla. I have verify and reverify about my export
setting on frame 10 and everything is fine.
Kinda annoying...click file/publish settings/flash/actionscript settings and make sure frame 1 is set as the export frame.
if that's already set, don't use test scene. -
Shutterfly iPhoto Export Assistant - for INTEL Macs
I have twice followed the directions on the shutterfly site -
http://www.shutterfly.com/downloads/features_mac.jsp
. I have uninstalled and reinstalled the plugin. It appears in my list of plugins and is checked when I go through the applications folder and get info on iPhoto. Still, when I select photos and click on export NOTHING happens - no tabs, no nothing. Suggestions?
Machine Name: MacBook Pro 17"
Machine Model: MacBookPro1,2
Processor Name: Intel Core Duo
Processor Speed: 2.16 GHz
Number Of Processors: 1
Total Number Of Cores: 2
L2 Cache (per processor): 2 MB
Memory: 1 GB
Bus Speed: 667 MHz
Boot ROM Version: MBP12.0061.B03
SMC Version: 1.5f10
Serial Number: W86291NTTHY
Sudden Motion Sensor:
State: EnabledI just got off the phone with Shutterfly tier 2 support and was told that the current Export Assistant for Intel Macs will not work with OS X version 10.4.8.
It seems to me that since 10.4.8 has been out way before the Intel compatible iPhoto Export Assistant for Shutterfly they might have tested it with the latest version of OS X. Also, there is no mention of compatability issues on the Shutterfly "Free Software" page, even though they are aware of the issue.
Additionally, the Shutterfly support pages only suggest uninstalling and reinstalling the plug-in, again with no mention of the fact that it does not work with the current version of OS X. Nice! -
Document Class not work when I shift my MovieClip to 2nd Frame.
Hello,
All my content is at 1st frame of my FLA file...and I'm using Document Class... When I try to shift my content to 2nd frame, so I can use 1st frame for preloader.. but its not working...
This is my document class... Basically at 1st frame I'm loading external jpg image to a MovieClip..
Is it possible, I can **** my MovieClip and other content to 2nd frame of the timeline... ??? and Document Class work???
Thanks...
package com.ahmad.bg
//import all classes
import caurina.transitions.Tweener;
import flash.display.Loader;
import flash.display.MovieClip;
import flash.display.Sprite;
import flash.display.StageAlign;
import flash.display.StageDisplayState;
import flash.display.StageScaleMode;
import flash.events.Event;
import flash.events.MouseEvent;
import flash.net.URLRequest;
public class MainClass extends MovieClip
//create variables
private var loader:Loader;
private static const IMAGE_PATH:String = "bgs/bg.jpg";
public function MainClass() {
stage.align = StageAlign.TOP_LEFT;
stage.scaleMode = StageScaleMode.NO_SCALE;
stage.addEventListener(Event.RESIZE, stageResize);
//load external image
loader = new Loader();
loader.load(new URLRequest(IMAGE_PATH));
loader.contentLoaderInfo.addEventListener(Event.COMPLETE, showImage);
pic.addChild(loader);
private function showImage(e:Event):void
try {
e.target.content.alpha = 1;
Tweener.addTween(e.target.content, { alpha:1, time:1, transition:"easeOutSine" } );
e.target.content.smoothing = true;
} catch (e:Error) { };
stageResize();
private function stageResize(e:Event=null):void
pic.x = 0;
pic.y = 0;
pic.scaleX = pic.scaleY = 1;
if ((stage.stageHeight / stage.stageWidth) < pic.height / pic.width) {
pic.width = stage.stageWidth;
pic.scaleY = pic.scaleX;
} else {
pic.height = stage.stageHeight;
pic.scaleX = pic.scaleY;
pic.x = stage.stageWidth / 2 - pic.width / 2;
pic.y = stage.stageHeight / 2 - pic.height / 2;
bottomNav.x = Math.floor(stage.stageWidth / 2 - bottomNav.width / 2);
bottomNav.y = Math.floor(stage.stageHeight - bottomNav.height - 0);If you have code in your main class that references specific movieclips on the stage, they have to be on every frame you plan on using.
If you have a movieclip named "pic" on frame 2, but you are referencing it right away in the main class, which starts on frame 1, then it is looking for a movieclip that does not exist until you move it to frame 2 -
"1046: Type was not found" for a custom class calling a custom class
This should be easy... but I've spent two days on nothing but this error.... I am absolutely at my wit's end.
Basically, I've got a "character" container linked to a MovieClip in the library that is supposed to act as a container for various body parts; head, shirt, pants, etc. For simplicity, I've just got Character class and Head class, both in a "char" package, both classes are named the same as their respective files (Character.as and Head.as, both in an actual file called "char"). Character class is supposed to create an instance of Head, but I always get this 1046 error. The problem is that I've got other body parts with nearly identical classes that ARENT throwing a 1046 error and are working just fine. I went and made a new project to see if I was still having the problem with just character calling 1 simple body part. I do.
In the symbol properties, it's Exported for Actionscript & Export in Frame 1... the class is "char.Head" and "char.Character" respectively. I have tried everything I can find or think of, I've done dozens of Google searches and sifted through dozens of forums. I can't find anything and I've been working on this problem for 24 straight working hours now. I'm completely exasperated......
package char {
import flash.display.MovieClip;
import flash.display.Stage;
import flash.display.Sprite;
import flash.events.Event;
import flash.geom.ColorTransform;
import fl.motion.Color;
import char.Head;
public class Character extends MovieClip {
// 1046: Type was not found or was not a compile-time constant: Head
private var _head:Head;
// reference to get the stage later
private var stageRef:Stage;
public function Character(stageRef:Stage=null) {
trace("NEW CHARACTER");
//1180 Call to a possibly undefined method Head;
_head=new Head();
And here's the contents of Head.as
package char {
import flash.display.MovieClip;
import flash.events.Event;
import flash.display.Stage;
import flash.geom.ColorTransform;
public class Head extends MovieClip {
private var skin_type:uint;
public function Head() {
trace ("NEW HEAD");
Now if I declare the head variable and create a new instance of it in my document class, no problem whatsoever. If I do it in my Character class, it just doesn't stop giving me this error!!! Somebody please help me.
1046: Type was not found or was not a compile-time constant: Head
1180 Call to a possibly undefined method Head;There is a blank movieclip named Character in the library, yup.
Also in my main handler for my document class calls "mainCharacter = new Character(); "
Here's a chunk of the code from the document class. For the record, it calls "head" as just a test and that works fine. Just doesn't work in "Character"
import char.Character;
import char.Head;
public class MainHandler extends MovieClip {
private static var _instance:MainHandler;
public static function get instance():MainHandler { return _instance; }
public var mainCharacter:Character;
public var head_:Head;
public function MainHandler() {
_instance = this;
mainCharacter = new Character();
head_=new Head(); -
Class not found for Startup servlet
I have deployed a war file under weblogic 7. The application has some startup servlets,
which are failing to load during startup. It returns the following error messages
for each servlet
####<Jan 8, 2003 2:00:25 PM CST> <Error> <HTTP> <abc-web1> <abcAppServer> <Thread-8>
<kernel identity> <> <101249> <[ServletContext(id=3959381,name=abcApps,context-path=/abcApps)]:
Servlet class com.abc.servlets.startup.StartupTSContentDaemonServlet for servlet
StartupTSContentDaemonServlet could not be loaded because the requested class
was not found in the classpath D:\bea\user_projects\abcdomain\abcAppServer\stage\abcApps\abcApps.war;D:\bea\user_projects\abcdomain\.\abcAppServer\.wlnotdelete\abcApps_abcApps_3959381\jarfiles\WEB-INF\lib\servlet2373.jar;D:\bea\user_projects\abcdomain\.\abcAppServer\.wlnotdelete\abcApps_abcApps_3959381\jarfiles\WEB-INF\lib\jbcl2374.jar;D:\bea\user_projects\abcdomain\.\abcAppServer\.wlnotdelete\abcApps_abcApps_3959381\jarfiles\WEB-INF\lib\jaxp2375.jar;D:\bea\user_projects\abcdomain\.\abcAppServer\.wlnotdelete\abcApps_abcApps_3959381\jarfiles\WEB-INF\lib\xerces2376.jar;D:\bea\user_projects\abcdomain\.\abcAppServer\.wlnotdelete\abcApps_abcApps_3959381\jarfiles\WEB-INF\lib\AS4002377.jar;D:\bea\user_projects\abcdomain\.\abcAppServer\.wlnotdelete\abcApps_abcApps_3959381\jarfiles\WEB-INF\lib\decrypt2378.jar;D:\bea\user_projects\abcdomain\.\abcAppServer\.wlnotdelete\abcApps_abcApps_3959381\jarfiles\cls2372.jar.
java.lang.UnsupportedClassVersionError: com/abc/servlets/startup/StartupTSContentDaemonServlet
(Unsupported major.minor version 48.0)>
####<Jan 8, 2003 2:00:25 PM CST> <Error> <HTTP> <abc-web1> <abcAppServer> <Thread-8>
<kernel identity> <> <101216> <Servlet: "StartupTSContentDaemonServlet" failed
to preload on startup in webapp: "abcApps">
javax.servlet.ServletException: [ServletContext(id=3959381,name=abcApps,context-path=/abcApps)]:
Servlet class com.abc.servlets.startup.StartupTSContentDaemonServlet for servlet
StartupTSContentDaemonServlet could not be loaded because the requested class
was not found in the classpath D:\bea\user_projects\abcdomain\abcAppServer\stage\abcApps\abcApps.war;D:\bea\user_projects\abcdomain\.\abcAppServer\.wlnotdelete\abcApps_abcApps_3959381\jarfiles\WEB-INF\lib\servlet2373.jar;D:\bea\user_projects\abcdomain\.\abcAppServer\.wlnotdelete\abcApps_abcApps_3959381\jarfiles\WEB-INF\lib\jbcl2374.jar;D:\bea\user_projects\abcdomain\.\abcAppServer\.wlnotdelete\abcApps_abcApps_3959381\jarfiles\WEB-INF\lib\jaxp2375.jar;D:\bea\user_projects\abcdomain\.\abcAppServer\.wlnotdelete\abcApps_abcApps_3959381\jarfiles\WEB-INF\lib\xerces2376.jar;D:\bea\user_projects\abcdomain\.\abcAppServer\.wlnotdelete\abcApps_abcApps_3959381\jarfiles\WEB-INF\lib\AS4002377.jar;D:\bea\user_projects\abcdomain\.\abcAppServer\.wlnotdelete\abcApps_abcApps_3959381\jarfiles\WEB-INF\lib\decrypt2378.jar;D:\bea\user_projects\abcdomain\.\abcAppServer\.wlnotdelete\abcApps_abcApps_3959381\jarfiles\cls2372.jar.
java.lang.UnsupportedClassVersionError: com/abc/servlets/startup/StartupTSContentDaemonServlet
(Unsupported major.minor version 48.0)
at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:785)
at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:2763)
at weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebAppServletContext.java:2708)
at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:2681)
at weblogic.servlet.internal.HttpServer.preloadResources(HttpServer.java:552)
at weblogic.servlet.internal.WebService.preloadResources(WebService.java:476)
at weblogic.t3.srvr.ServletInitRunner$1.run(ServletInitRunner.java:50)
at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:744)
at weblogic.t3.srvr.ServletInitRunner.run(ServletInitRunner.java:46)
at java.lang.Thread.run(Thread.java:479)
When i look into the directories weblogic created after deployment, there is a
cls2372.jar at 1 level above the web-inf folder and it has all the servlets in
the correct package structure i.e. com/abc/servlets/startup
Any idea on why this is happening or what i am doing wrong?also posting to servlet newsgroup.
"Ram" <[email protected]> wrote in message
news:[email protected]...
>
I have deployed a war file under weblogic 7. The application has somestartup servlets,
which are failing to load during startup. It returns the following errormessages
for each servlet
####<Jan 8, 2003 2:00:25 PM CST> <Error> <HTTP> <abc-web1> <abcAppServer><Thread-8>
<kernel identity> <> <101249><[ServletContext(id=3959381,name=abcApps,context-path=/abcApps)]:
Servlet class com.abc.servlets.startup.StartupTSContentDaemonServlet forservlet
StartupTSContentDaemonServlet could not be loaded because the requestedclass
was not found in the classpathD:\bea\user_projects\abcdomain\abcAppServer\stage\abcApps\abcApps.war;D:\bea
\user_projects\abcdomain\.\abcAppServer\.wlnotdelete\abcApps_abcApps_3959381
\jarfiles\WEB-INF\lib\servlet2373.jar;D:\bea\user_projects\abcdomain\.\abcAp
pServer\.wlnotdelete\abcApps_abcApps_3959381\jarfiles\WEB-INF\lib\jbcl2374.j
ar;D:\bea\user_projects\abcdomain\.\abcAppServer\.wlnotdelete\abcApps_abcApp
s_3959381\jarfiles\WEB-INF\lib\jaxp2375.jar;D:\bea\user_projects\abcdomain\.
\abcAppServer\.wlnotdelete\abcApps_abcApps_3959381\jarfiles\WEB-INF\lib\xerc
es2376.jar;D:\bea\user_projects\abcdomain\.\abcAppServer\.wlnotdelete\abcApp
s_abcApps_3959381\jarfiles\WEB-INF\lib\AS4002377.jar;D:\bea\user_projects\ab
cdomain\.\abcAppServer\.wlnotdelete\abcApps_abcApps_3959381\jarfiles\WEB-INF
\lib\decrypt2378.jar;D:\bea\user_projects\abcdomain\.\abcAppServer\.wlnotdel
ete\abcApps_abcApps_3959381\jarfiles\cls2372.jar.
java.lang.UnsupportedClassVersionError:com/abc/servlets/startup/StartupTSContentDaemonServlet
(Unsupported major.minor version 48.0)>
####<Jan 8, 2003 2:00:25 PM CST> <Error> <HTTP> <abc-web1> <abcAppServer><Thread-8>
<kernel identity> <> <101216> <Servlet: "StartupTSContentDaemonServlet"failed
to preload on startup in webapp: "abcApps">
javax.servlet.ServletException:[ServletContext(id=3959381,name=abcApps,context-path=/abcApps)]:
Servlet class com.abc.servlets.startup.StartupTSContentDaemonServlet forservlet
StartupTSContentDaemonServlet could not be loaded because the requestedclass
was not found in the classpathD:\bea\user_projects\abcdomain\abcAppServer\stage\abcApps\abcApps.war;D:\bea
\user_projects\abcdomain\.\abcAppServer\.wlnotdelete\abcApps_abcApps_3959381
\jarfiles\WEB-INF\lib\servlet2373.jar;D:\bea\user_projects\abcdomain\.\abcAp
pServer\.wlnotdelete\abcApps_abcApps_3959381\jarfiles\WEB-INF\lib\jbcl2374.j
ar;D:\bea\user_projects\abcdomain\.\abcAppServer\.wlnotdelete\abcApps_abcApp
s_3959381\jarfiles\WEB-INF\lib\jaxp2375.jar;D:\bea\user_projects\abcdomain\.
\abcAppServer\.wlnotdelete\abcApps_abcApps_3959381\jarfiles\WEB-INF\lib\xerc
es2376.jar;D:\bea\user_projects\abcdomain\.\abcAppServer\.wlnotdelete\abcApp
s_abcApps_3959381\jarfiles\WEB-INF\lib\AS4002377.jar;D:\bea\user_projects\ab
cdomain\.\abcAppServer\.wlnotdelete\abcApps_abcApps_3959381\jarfiles\WEB-INF
\lib\decrypt2378.jar;D:\bea\user_projects\abcdomain\.\abcAppServer\.wlnotdel
ete\abcApps_abcApps_3959381\jarfiles\cls2372.jar.
java.lang.UnsupportedClassVersionError:com/abc/servlets/startup/StartupTSContentDaemonServlet
(Unsupported major.minor version 48.0)
atweblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.jav
a:785)
atweblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletC
ontext.java:2763)
atweblogic.servlet.internal.WebAppServletContext.preloadServlets(WebAppServlet
Context.java:2708)
atweblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServle
tContext.java:2681)
atweblogic.servlet.internal.HttpServer.preloadResources(HttpServer.java:552)
atweblogic.servlet.internal.WebService.preloadResources(WebService.java:476)
at weblogic.t3.srvr.ServletInitRunner$1.run(ServletInitRunner.java:50)
atweblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManage
r.java:744)
at weblogic.t3.srvr.ServletInitRunner.run(ServletInitRunner.java:46)
at java.lang.Thread.run(Thread.java:479)
When i look into the directories weblogic created after deployment, thereis a
cls2372.jar at 1 level above the web-inf folder and it has all theservlets in
the correct package structure i.e. com/abc/servlets/startup
Any idea on why this is happening or what i am doing wrong? -
Struts class not found for war file
Hello,
I am tring to deploy my struts web application in weblogic 8.1. I have all the
library files in web-inf\lib directory. It gave me the error that class not found
for some class in struts library. The console also told me the classpath. But
I can use javap to find the class using the same classpath. Could any one point
me some direction what I am doing wrong here.
Thanks.
Here is the error message:
java.lang.NoClassDefFoundError: org/apache/commons/beanutils/Converter.>
<Nov 13, 2003 11:05:29 AM EST> <Error> <HTTP> <BEA-101216> <Servlet: "action"
fa
iled to preload on startup in Web application: "voppocWebApp".
javax.servlet.ServletException: [HTTP:101250][ServletContext(id=9921725,name=vop
pocWebApp,context-path=/voppocWebApp)]: Servlet class org.apache.struts.action.A
ctionServlet for servlet action could not be loaded because a class on which it
depends was not found in the classpath C:\bea\weblogic81\server\bin\myserver\upl
oad\voppocWebApp.war;C:\bea\weblogic81\server\bin\.\myserver\.wlnotdelete\extrac
t\myserver_voppocWebApp_voppocWebApp\jarfiles\WEB-INF\lib\activation30425.jar;C:
\bea\weblogic81\server\bin\.\myserver\.wlnotdelete\extract\myserver_voppocWebApp
_voppocWebApp\jarfiles\WEB-INF\lib\commons-beanutils30426.jar;C:\bea\weblogic81\
server\bin\.\myserver\.wlnotdelete\extract\myserver_voppocWebApp_voppocWebApp\ja
rfiles\WEB-INF\lib\commons-collections30427.jar;C:\bea\weblogic81\server\bin\.\m
yserver\.wlnotdelete\extract\myserver_voppocWebApp_voppocWebApp\jarfiles\WEB-INF
\lib\commons-digester30428.jar;C:\bea\weblogic81\server\bin\.\myserver\.wlnotdel
ete\extract\myserver_voppocWebApp_voppocWebApp\jarfiles\WEB-INF\lib\commons-file
upload30429.jar;C:\bea\weblogic81\server\bin\.\myserver\.wlnotdelete\extract\mys
erver_voppocWebApp_voppocWebApp\jarfiles\WEB-INF\lib\commons-lang30430.jar;C:\be
a\weblogic81\server\bin\.\myserver\.wlnotdelete\extract\myserver_voppocWebApp_vo
ppocWebApp\jarfiles\WEB-INF\lib\commons-logging30431.jar;C:\bea\weblogic81\serve
r\bin\.\myserver\.wlnotdelete\extract\myserver_voppocWebApp_voppocWebApp\jarfile
s\WEB-INF\lib\commons-validator30432.jar;C:\bea\weblogic81\server\bin\.\myserver
\.wlnotdelete\extract\myserver_voppocWebApp_voppocWebApp\jarfiles\WEB-INF\lib\ja
karta-oro30433.jar;C:\bea\weblogic81\server\bin\.\myserver\.wlnotdelete\extract\
myserver_voppocWebApp_voppocWebApp\jarfiles\WEB-INF\lib\jdbc2_0-stdext30434.jar;
C:\bea\weblogic81\server\bin\.\myserver\.wlnotdelete\extract\myserver_voppocWebA
pp_voppocWebApp\jarfiles\WEB-INF\lib\mailapi30435.jar;C:\bea\weblogic81\server\b
in\.\myserver\.wlnotdelete\extract\myserver_voppocWebApp_voppocWebApp\jarfiles\W
EB-INF\lib\struts30436.jar;C:\bea\weblogic81\server\bin\.\myserver\.wlnotdelete\
extract\myserver_voppocWebApp_voppocWebApp\jarfiles\_wl_cls_gen.jar.
java.lang.NoClassDefFoundError: org/apache/commons/beanutils/Converter.
at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubI
mpl.java:800)
at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppS
ervletContext.java:3236)
at weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebApp
ServletContext.java:3181)Hello Mark,
Your suggested solution (putting an empty commons-logging.properties into
web-inf/classes or in a jar in web-inf/lib)
does not make any change at all. It still complains about not being able to
preload the servlet and still
gives exceptions upong calling upon LogFactory.
What I have been able to do is put the three classes from
com.bea.wlw.netui.util.logging into a separate jar
and add that to web-inf/lib.
However I am sometimes getting funny exceptions upon undeploy
(NoClassDefFoundError for org.apache.commons.collection.FastHashMap$KeySet).
Regards,
Robert Varga
"Mark Griffith" <[email protected]> wrote in message
news:[email protected]...
From a FAQ on netui:
1. Why do I get a ServletException while trying to deploy a struts web
application on a Workshop/Integration/Portal domain?
In the "<WL-HOME>/server/lib/knex.jar" file there is a properties file
called "commons-logging.properties" which configures the
com.bea.wlw.netui.util.logging.StrutsLogFactory class for Struts loggingas
below:
org.apache.commons.logging.LogFactory=com.bea.wlw.netui.util.logging.StrutsL
ogFactory
This class file is not available for a Struts web application that was not
built using Workshop, the reason being the containing NetUI jar files are
not present in the web application's WEB-INF/lib folder. This leads to a
ServletException while deploying the web application. The solution is toadd
a blank file (or a JAR containing the file) namedcommons-logging.properties
to the server CLASSPATH, or to the WEB-INF/lib folder of the concerned web
application. This issue will be fixed in Service Pack 2.
cheers
mbg
"Robert Varga" <[email protected]> wrote in message
news:[email protected]...
Hi Rob,
I also have a similar error with deploying a Struts web application into
a
8.1 Basic Workshop Domain created
by 8.1 Platform.
I get a ClassNotFoundException for 'com.wlw...StrutsLogFactory', whenStruts
tries to load any Jakarta class
from commons-beanutils or Struts which has logging.
This happens because commons-logging picks up some property whichinstructs
it to load that class, which is
naturally not included in most web applications, since it is
workshop-specific. This property definition, I think,
is in <bea>\weblogic81\server\knex.jar, called
commons-logging.properties,
containing the following line:
org.apache.commons.logging.LogFactory=com.bea.wlw.netui.util.logging.StrutsL
ogFactory
How can I override this in my webapp in a property file, so that when a
Struts or Beanutils class calls
LogFactory.getLog(org.apache.....<classname>.class), it would not try touse
the property file and the
class defined in knex.jar.
Thanks in advance,
Robert Varga
"Rob Woollen" <[email protected]> wrote in message
news:[email protected]...
Actually it complained about a NoClassDefFoundError. Generally this
is
caused by something in a parent classloader that is found but then
depends on something only loadable in a child classloader.
eg.
You have something in your $CLASSPATH that references something in the
WEB-INF/lib. This will NoClassDefFoundError.
So, as I recommended, remove everything you've added to the$CLASSPATH,
add the jars to WEB-INF/lib. If you're still having problems, show me
your $CLASSPATH, the contents of WEB-INF/lib, and the error message
/stack trace.
-- Rob
yuruo chen wrote:
Hello, Rob,
I did put the common-beanutils and other jar files in the
web-inf/lib
directory.
And from the weblogic console, I do see the jar file get included in
the
classpath.
(those generated file name have some number attached at the end.)
As
I
mentioned
before, I can use javap find the class using this weblogic generatedclasspath.
But weblogic complained that the class is not found.
Rob Woollen <[email protected]> wrote:
Remove anything you've added to the server's classpath.
Add the required jar files to WEB-INF/lib
-- Rob
yuruo chen wrote:
Hello,
I am tring to deploy my struts web application in weblogic 8.1. I
have
all the
library files in web-inf\lib directory. It gave me the error that
class
not found
for some class in struts library. The console also told me the
classpath.
But
I can use javap to find the class using the same classpath. Could
any
>>>>>
one point
me some direction what I am doing wrong here.
Thanks.
Here is the error message:
java.lang.NoClassDefFoundError:
org/apache/commons/beanutils/Converter.>
<Nov 13, 2003 11:05:29 AM EST> <Error> <HTTP> <BEA-101216>
<Servlet:
>>>>>
"action"
fa
iled to preload on startup in Web application: "voppocWebApp".
javax.servlet.ServletException:
[HTTP:101250][ServletContext(id=9921725,name=vop
pocWebApp,context-path=/voppocWebApp)]: Servlet classorg.apache.struts.action.A
ctionServlet for servlet action could not be loaded because a classon which it
depends was not found in the classpath
C:\bea\weblogic81\server\bin\myserver\upl
>
oad\voppocWebApp.war;C:\bea\weblogic81\server\bin\.\myserver\.wlnotdelete\extrac
>
t\myserver_voppocWebApp_voppocWebApp\jarfiles\WEB-INF\lib\activation30425.jar;C:
>
\bea\weblogic81\server\bin\.\myserver\.wlnotdelete\extract\myserver_voppocWebApp
>
_voppocWebApp\jarfiles\WEB-INF\lib\commons-beanutils30426.jar;C:\bea\weblogic81\
>
server\bin\.\myserver\.wlnotdelete\extract\myserver_voppocWebApp_voppocWebApp\ja
>
rfiles\WEB-INF\lib\commons-collections30427.jar;C:\bea\weblogic81\server\bin\.\m
>
yserver\.wlnotdelete\extract\myserver_voppocWebApp_voppocWebApp\jarfiles\WEB-INF
>
\lib\commons-digester30428.jar;C:\bea\weblogic81\server\bin\.\myserver\.wlnotdel
>
ete\extract\myserver_voppocWebApp_voppocWebApp\jarfiles\WEB-INF\lib\commons-file
>
upload30429.jar;C:\bea\weblogic81\server\bin\.\myserver\.wlnotdelete\extract\mys
>
erver_voppocWebApp_voppocWebApp\jarfiles\WEB-INF\lib\commons-lang30430.jar;C:\be
>
a\weblogic81\server\bin\.\myserver\.wlnotdelete\extract\myserver_voppocWebApp_vo
>
ppocWebApp\jarfiles\WEB-INF\lib\commons-logging30431.jar;C:\bea\weblogic81\serve
>
r\bin\.\myserver\.wlnotdelete\extract\myserver_voppocWebApp_voppocWebApp\jarfile
>
s\WEB-INF\lib\commons-validator30432.jar;C:\bea\weblogic81\server\bin\.\myserver
>
\.wlnotdelete\extract\myserver_voppocWebApp_voppocWebApp\jarfiles\WEB-INF\lib\ja
>
karta-oro30433.jar;C:\bea\weblogic81\server\bin\.\myserver\.wlnotdelete\extract\
>
myserver_voppocWebApp_voppocWebApp\jarfiles\WEB-INF\lib\jdbc2_0-stdext30434.jar;
>
C:\bea\weblogic81\server\bin\.\myserver\.wlnotdelete\extract\myserver_voppocWebA
>
pp_voppocWebApp\jarfiles\WEB-INF\lib\mailapi30435.jar;C:\bea\weblogic81\server\b
>
in\.\myserver\.wlnotdelete\extract\myserver_voppocWebApp_voppocWebApp\jarfiles\W
>
EB-INF\lib\struts30436.jar;C:\bea\weblogic81\server\bin\.\myserver\.wlnotdelete\
extract\myserver_voppocWebApp_voppocWebApp\jarfiles\_wl_cls_gen.jar.
java.lang.NoClassDefFoundError:
org/apache/commons/beanutils/Converter.
atweblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubI
mpl.java:800)
atweblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppS
ervletContext.java:3236)
atweblogic.servlet.internal.WebAppServletContext.preloadServlets(WebApp
ServletContext.java:3181) -
Capture individual frames for export to photoshop
Hi all:
New to i movie. I have not upgraded to 06 version. I would like to capture individual frames for export to photoshop for cleanup and output as a print. Can I do this in i movie? Do I need a particular version? Is it hard to do?
Thanks
DAUfollow Matthew's advice
in case, your nic is a German acronym:
in iM, there's as in any Apple App an integrated "help" (=Hilfe) feature
avoids being DAU... -
When I tried to Mail Merge for Data is is not exporting any data.
HI,
EBS-12.1.3
DB-11gR1
OS - RHEL 5.6
[With my Login User and SysAdmin Login User] When I enter into to the "People -> Enter and Maintain" Form and then I press the "Export Button", there is error Alert
Function is not available to this responsibility. Change Responsibilities or Connect to the System Administrator
I Added the Function "HR ADI Seeded Integrator Form Functions" into the "AE HRMS Manager" Responsiblity. It is also working and Export Data icon is enable.
Problem:
But Problem is when I tried to Mail Merge for Data is is not exporting any data.
====================================================================
Steps
1.Move to the "People -> Recruirment" and then "Request Recruitment Letter" .
2. Enter the New Request. as
Letter Name "App. Letter Contract Site",
Automatic or Manual = Manual.
Select the Name from the LOVs for the Request for Detail Block.
3. Press the "Export Data" icon.
4. Integrator Page Appear with my Custom Integrator Name as "Appointment Letter - Contact Site".
5. Select the "Word 2003" from the View List. and Reporting is Checked.
6. Review the Folowing Enteries as:
Integrator Appointment Letter - Contact Site
Viewer Word 2003
Reporting Yes
Layout App. Letter Contract Site
Content XXHR_MBE_APP_LET_CONT_SITE_V
Session Date 2011/08/02
Mapping XXHR_MBE_APP_LET_CONT_SITE_V Mapping
7. Press "Create Document" Button.
8. It will open the Excel 2003 and then Word 2003. But no data down download from the Form.
9. It open the Mail Merge Letter but no Data is Display.
===========================================================
Note:
a. I am following the Steps from the Link:"http://apps2fusion.com/at/38-ss/351-generate-recruitment-letters-web-adi".
b. From the "Desktop Integrator Manager", "Oracle Web ADI", "HRMS Web ADI", it is working fine and Dowload the Data.
===========================================================
Thanks
VishwaPlease try the solution in ("Function not available to this responsibility" Error While Cliclking On Forms Personalisation [ID 1263970.1]) and see if it helps.
Thanks,
Hussein -
Class Not found Exception for invoking BPEL process through the Java code
Hi.
The JDeveloper IDE raise the Exception From the invoking the BPEL process through the java code .Class Not Found Exception (Locator,ID.......).What is process of importing these classes from API.In your code (.bpel file) import the library using the bpelx:exec tag. For example the adding the following entry in your .bpel file imports the com.oracle.bpel.client.util library.
<bpelx:exec import="com.oracle.bpel.client.util.*"/> -
Class not found error for applet.
This is probally a really simple mistake but I've tried everything and can't find it.
My applet works fine with applet viewer - I'm running it from JBuilder. But when I open my html file in the browser it gives me a 'Class not found' error. I've tried running other applets (my own and demos on this site) and they work fine.This is the applet tag code:
<applet code = "Rotary.class" width = "650" height = "580" align = "top">
<!-- coordinates of sectors -->
<param name = "sector0" value ="234,215,244,207,154,43,125,63">
</applet>
The class file is in the same directory as the HTML file. Do I need to specify the codebase? I tried that too - giving it the full pathname of the class.
In the Java console it said that it couldn't find "C:Project\Rotary\javax\swing\japplet"
I don't think it could have anything to do with the fact that I'm using swing because the other applets I used used swing.
Please help - I'm really running out of ideas here!You have a similar problem like I had.
You seem to have a too old JAVA environment for the browser - I had a too new environment.
For all who are experiencing the same problem!
Problem:
You're compiling your applets with a quiet modern compiler (i.e. Netbeans Version 3.5.1)
You are able to compile your applets without any problems but if you try your applets in "real life", the browsers can't interpret your applets [class not found]. (I tested Internet Explorer 6.0 and Netscape Navigator 4.7)
So you need a plugin for the new JAVA environment because the JAVA environment of the browser is older than that which the applet needs.
Well, you have the choice to demand to every user of your applet to download the new Java Runtime Environment, but then don't wonder why nobody visits your site!
But, don't worry: I figuered out another solution, that Netbeans (www.netbeans.org) allows to compile in different JAVA versions.
Solution:
What you have to do is:
- Install a previous version of JDK (i.e. JDK 1.3 - I would suggest, lower versions don't work with Netbeans 3.5.1 and JDK 1.3 is enough for IE 6.0 and NN 4.7, which I tested)
- Go into the "bin"-directory of Netbeans (i.e. c:/netbeans3.5.1/bin)
- Open the file "ide.cfg" (with notepad or any other texteditor)
- You see a line like: jdkhome "C:\java\j2sdk1.4.2" -J-Xmx96m -J-Xss1024k -J-Xms24m -J-Xverify:none
- Change the path to your other JDK you wish, like: jdkhome "C:\java\jdk1.3" -J-Xmx96m -J-Xss1024k -J-Xms24m -J-Xverify:none
- That's it, you can compile your applets in a previous version of JAVA so that "older" browser user don't have to install a plugin for the new JAVA environment.
Have fun!
If you have any questions I would be pleased to help you.
If this tip helped you already I would be pleased if you would send me a quick email with your experience.
My email: [email protected]
Maybe you are looking for
-
Discoverer report - Output from Discoverer plus is not the same as Discoverer desktop
As a part of Upgrade project we are migrating the discoverer reports from 11i (11.5.10.2) to R12 (12.1.3) .After migrating to R12, for a custom discoverer report the output given by discoverer desktop is correct (24 rows for a scenario). But the repo
-
Can you copy the Temperature in Delivery Note to Bulk Shipment document?
Is there a way to copy the temperature inputted in the "Qty in Alternate UOM" tab in the item details of the Delivery Note to the Bulk Shipment document during the Change Loading confirmation process? One of our process requirements is to be able to
-
Can't print pdf files in Mac on CS4
I am using CS4 and can print InDesign and Photoshop files just fine, but I can't print pdf files using Acrobat Pro 9.
-
Blue screen hangs logging in as main user (tried extensive troubleshooting)
My systems state has been progressively declining... First symptoms: while using my external FW drive, under heavy read/write use the drive would unexpectedly unmount, giving the "unmount your drive before disconnecting it to avoid data loss" message
-
Xorg.conf nVidia ION resolution
Sorry for my English. I have this board: ASUS AT5IONT-I, Atom D525, ION2, PCI-E 4X, 2xDDR3 SODIMM, Gbit LAN,E-sata, USB3.0, DVI, HDMI, Fanless, Heatpipe, Mini-ITX. And, trying to make HTPC. I install Arch with openbox, but the problem is with video r