Compiling SWC Problem

I have been for the life of me trying to compile my custom
AS3 classes into a SWC. But following the instructions to make a
Flex Library Project into a SWC doesn't work. I get no error
message or anything, The SWC just doesn't compile into the bin
folder.
I later messed around a little and added the classes to
compile one by one and it compiled sometimes and not other times.
Could a class not compile for any reason?? Also my classes are
commented with ASDoc comments, would that have some sort of
negative effect??

When you run alc-on it's swapping out standard gcc for a
special alchemy look-alike.
As for issues on OS X, I found that when I moved my libraries
into user space (rather than under /Developer) everything worked -
so look out where you put your alchemy files and your Flex SDK as
well. There's a good chance it's just a permissions issue.

Similar Messages

  • [svn:fx-trunk] 15781: * Package and class level javadoc for the flex2. compiler.swc and

    Revision: 15781
    Revision: 15781
    Author:   [email protected]
    Date:     2010-04-27 21:27:51 -0700 (Tue, 27 Apr 2010)
    Log Message:
    Package and class level javadoc for the flex2.compiler.swc and
      flex2.compiler.util packages and their subpackages.
    QE notes:
    Doc notes:
    Bugs:
    Reviewer: Corey (post commit)
    Tests run: checkintests
    Is noteworthy for integration: NO
    Modified Paths:
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/swc/Digest.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/swc/Swc.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/swc/SwcAPI.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/swc/SwcArchive.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/swc/SwcCache.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/swc/SwcComponent.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/swc/SwcDependencySet.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/swc/SwcDirectoryArchive.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/swc/SwcException.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/swc/SwcFeatures.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/swc/SwcFile.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/swc/SwcGroup.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/swc/SwcLazyReadArchive.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/swc/SwcLibrary.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/swc/SwcMovie.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/swc/SwcPathResolver.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/swc/SwcScript.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/swc/SwcWriteOnlyArchive.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/swc/Versions.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/swc/catalog/CatalogReadElement.ja va
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/swc/catalog/CatalogReader.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/swc/catalog/CatalogWriter.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/swc/catalog/ReadContext.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/util/AbstractLogger.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/util/Benchmark.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/util/CompilerControl.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/util/ConsoleLogger.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/util/DualModeLineNumberMap.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/util/IteratorList.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/util/LineNumberMap.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/util/LinkedQNameMap.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/util/ManifestParser.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/util/MultiNameMap.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/util/NameFormatter.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/util/NameMappings.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/util/OrderedProperties.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/util/PerformanceData.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/util/PrefixMapping.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/util/QNameList.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/util/QNameMap.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/util/QNameSet.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/util/SwcDependencyInfo.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/util/SwcDependencyInfoImpl.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/util/SwcDependencyUtil.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/util/SwcExternalScriptInfo.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/util/SwcExternalScriptInfoImpl.ja va
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/util/ThreadLocalToolkit.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/util/TraceExtension.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/util/URLPathResolver.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/util/VelocityException.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/util/VelocityManager.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/util/XMLStringSerializer.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/util/graph/Algorithms.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/util/graph/DependencyGraph.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/util/graph/Edge.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/util/graph/Graph.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/util/graph/Vertex.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/util/graph/Visitor.java
    Added Paths:
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/swc/catalog/package.html
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/swc/package.html
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/swc/zip/package.html
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/util/graph/package.html
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/util/package.html

  • Problems using alchemy windows compiling .swc

    Hi there,
    yesterday I installed cygwin and configured alchemy in a correct way. => It worked
    I have some problems setting the path variable but I solved them with adding the directories to the windows path variable => cygwin reads and uses them.
    Today I started my pc and nothing works. There is now error. I tried everything. I run the config script again and it run successfully. But if I try to compile a swc nothing happens. The PC works for a while and then I can again type a new command line. Now error, now success report AND no swc file.
    Can anybody help me, please?

    I've encountered a similar problem in the past.  I found that if I entered the "alc-on" command and then displayed the path "echo $PATH" I had 2 entries for the $ALCHEMY_HOME/ahacks directory in the path. Removing one of those entries fixed the problem.
    To ensure I used the correct gcc/g++ after entering "alc-on" I choose to omit the $ALCHEMY_HOME/ahacks path addition described in the instructions.  I suspect my solution may not be the best.  I haven't investigated too deeply why this worked but it did fix the exact problem you are describing.

  • Swc problem with flex from my custom fla

    I have an fla which has several library items with a class linkage to a GenericButton.as file. I am exporting this fla as an swc file, and linking that swc into flex.
    My problem is that when flex builds the code for GenericButton it gets undefined property for anything it tries to reference that is part of the library item.
    Example:
    GenericButton.as does libLabel.text = "something"; where libLabel is a textfield, instantiated in the library clip which is bound to GenericButton in it's class linkage.
    The field exists in the clip, but when I compile in Flex with the swc in there, it cant find it. It says libLabel doesnt exist, undefined property.
    What am I missing here? I want to allow the fla author to bind some of his items to low-level component classes like that, and it's his job to ensure that all the necessary items are part of it. So if he makes a new button, he must just ensure he has a libLabel textfield somewhere in the clip.
    Why cant flex see that the items it's trying to compile have a libLabel in there? Is there a work around?

    Thx for the reply Greg, but no, that's not the problem.  If you re-read my post you'll probably see my problem is a little more involved than that.
    I have symbols exported for actionscript and I can instantiate them in Flex, that's not a problem.  The problem is symbols that are exported for actionscript and bound to a base class that contains custom code.  That custom code, when it uses it to type-check in flex builder (during the swc link stage), causes undefined properties.
    For some reason Flex is not seeing that the exported library item has the things the .as file is looking for.
    Does that make sense?
    I could probalby put together a simple example project but I'd have to find somewhere to upload it so that others could see.
    This problem is hard to describe, you have to read what I'm saying very carefully.

  • FlasCC compiled swc library is very slow on first function call - how can I speed it up?

    Hi everyone,
    I have a C++ library that fits a mesh onto images of faces, now compiled into an swc.
    I have just exposed one function from the library, that operates on a BitmapData and returns a Vector of Points indicating various parts of the face.
    The problem is that the first call to the library (to process the first image) seems to take about 10 seconds. After that repeated calls take a fraction of a second.
    Is there any way I can improve the performance on the first call, by initialising my library class in an init method or something? In the target application most users will only call the library once, so I need to improve this.
    UPDATE: Profiling in Flash Builder, the [verify] action (which I understand is JIT bytecode verification) takes 10.1 seconds. The other main culprits are [avm1] (1.7s) and global$init.global$init (2.0s).
    Can this be normal behaviour that JIT verification takes 10 seconds? Or can I speed it up? The source C++ code is probably 100,000 lines because it includes several modules from OpenCV, however so does Alex Mac's OpenCV demo and it doesn't take this long.
    Below is the code for my library wrapper. Very grateful for any help!
    #include <AS3/AS3.h>
    #include <AS3/AS3++.h>
    #include <Flash++.h>
    #include "FlashCLM.h"
    using namespace AS3::local;
    // First we mark the function declaration with a GCC attribute specifying the
    // AS3 signature we want it to have in the generated SWC. The function will
    // be located in the com.FrameFish namespace.
    void fitCLM() __attribute__((used,
              annotate("as3sig:public function fitCLM(img:BitmapData,shape:Vector.<Point>):int"),
              annotate("as3package:com.FrameFish"),
              annotate("as3import:flash.utils.ByteArray"),
              annotate("as3import:flash.geom.Point"),
              annotate("as3import:flash.display.BitmapData"),
              annotate("as3import:flash.Vector")));
    void fitCLM(){
              AS3_Trace("fitCLM starting");
              // Copy pixels to C ram
              inline_as3(
                        "var ba:ByteArray = img.getPixels(img.rect);\n"
            "var imgPtr:int = CModule.malloc(ba.length);\n"
                        "ba.position = 0;\n"
                        "CModule.writeBytes(imgPtr, ba.length, ba);\n"
        uint8_t* pixels = 0;
        AS3_GetScalarFromVar(pixels, imgPtr);
              // Get the width and height of image
              inline_as3(
                        "var w:int = img.width;\n"
                        "var h:int = img.height;\n"
              int width, height;
              AS3_GetScalarFromVar(width, w);
              AS3_GetScalarFromVar(height, h);
              // Fit CLM
              ff::FlashCLM clm;
              int shapeSize = 58*2; // Size of the imm_face_db markup
              int* shapeBuffer = new int[shapeSize];
              int result;
              clm.fit(pixels, width, height, shapeBuffer, &shapeSize, &result);
              // Copy shape to as3 shape vector
              if (result == ff::FlashCLM::FOUND){
                        for (int i=1; i<shapeSize; i+=2){
                                  inline_as3(
                                            "var x:Number = %0;\n"
                                            "var y:Number = %1;\n"
                                            "var p:Point = new Point(x,y);\n"
                                            "shape.push(p);\n"
                                            : : "r"(shapeBuffer[i-1]), "r"(shapeBuffer[i])
              // Clean up C memory
              inline_as3(
                        "CModule.free(imgPtr);\n"
              delete shapeBuffer;
        // return the result (using an AS3 return rather than a C/C++ return)
        AS3_Return(result);
    int main(){
        // We still need a main function for the SWC. this function must be called
        // so that all the static init code is executed before any library functions
        // are used.
        // The main function for a library must throw an exception so that it does
        // not return normally. Returning normally would cause the static
        // destructors to be executed leaving the library in an unuseable state.
        AS3_GoAsync();

    I never did get to the bottom of it. I got this response from Alex Mac:
    It's hard to give good advice at the C++ level because the problem is more
    of  a code generation issue. When a function ends up requiring too many
    registers to be live at once the resulting AS3 code can in some cases cause
    the verifier to take a long time to run. Exception handling and
    setjmp/longjmp can contribute to this, but so can things beyond your
    control when LLVM inlines too much into a single function and ends up
    generating unreasonable code...
    In the end I moved most of my C++ code out of flash and on to a server. To
    me flascc was a nice idea but didn't live up to the hype

  • Localize new workspace ES lenguage: error compiling swc file

    Hi,
    I'm trying to localize Workspace ES to another language (in detail Italian). But when I launch the command line to compile the SWC file this following error appears:
    Loading configuration file C:\Adobe\Flex Builder 3\Flex SDK 2\frameworks\flex-config.xml
    Error: could not find source for resource bundle data.
    The compile command is:
    compc -locale=it -output=export/it/workspace_rb.swc -source-path ./it "C:/Adobe/Flex Builder 3/Flex SDK 2/frameworks/locale/" -include-esource-bundles alc_wks_client_msg alc_wks_client_trace alc_wks_client_ui SharedResources collections controls core data effects formatters logging messaging rpc skins states styles utils validators --
    Anyone has a similar problem and how do you fix it?

    Hi,
    It appears to me that are you using Flex Builder 3? If so,
    it looks like your path to the Flex SDK 2 is incorrect...
    Try this:
    compc -locale=it -output=export/es/workspace_rb.swc -source-path
    ./it "C:/program files/adobe/flex builder 3/sdks/2.0.1/frameworks/locale/
    es_ES" -include-resource-bundles alc_wks_client_msg alc_wks_client_trace
    alc_wks_client_ui SharedResources collections controls core data effects
    formatters logging messaging rpc skins states styles utils validators --
    For more details, take a look also in the localization section at the guide at http://www.adobe.com/go/learn_lc_customizeWorkspace (page 21 for the command and page 36 for the localization steps).
    Hope that helps!

  • Compile swc from Xcode ?

    Hi !
    I've been trying to compile my swc directly from xcode via "External Target" and a Makefile.
    Xcode claims that it can't find AS3.h and my project doesn't compile. It looks like the alc-on command is not launched before the build phase and it compiles with apple's gcc. I've tried to put this command directly inside de makefile :
    myLib.swc: $(OBJ)
         alc-on;
         $(CC) $(CFLAGS) -swc -o myLib.swc $(OBJ) $(LDFLAGS);
         alc-off;
    but well.. this just doesn't work
    I'm fairly new to Xcode and C / Makefiles, so I'm not sure where to go now.
    Is there any way to run these commands before the build in Xcode or directly inside the Makefile?
    Thanks for your help!

    What problems, specifically, are you having?
    The website you linked to contained the following:
    If you experience problems getting your system patched and configured to compile Ada code, I strongly recommend the gnat-osx mailing list as a resource for getting your questions answered. The members of that community are knowledgeable and quick to respond to questions. (You'll also note that that community is deeply involved in the macada.org project.)
    The author of that site is clearly more knowledgeable about running Ada on MacOS X than probably anyone here. I wouldn't wait around for an answer on the Apple support forums. Post your question to the gnat-osx mailing list and be really, really specific.

  • Compile / run problems with netbeans 6 but not netbeans 6 beta 1 or 5.5

    When I compile my project in netbeans IDE 6.0 (Build 200711261600) 1.6.0_01; Java HotSpot(TM) Client VM 1.6.0_01-b06 i get quite often a "can not find symbol" error or during runtime a "netbeans 6 java.lang.NoClassDefFoundError" exception. also switching between F6 or ctrl-F5 mode can cause the problem to appear.
    Compiling again or clean build resolves it.
    However running the same project under netbeans 5.5 or 6 beta 1 never gives this problem.
    any hint what might be wrong? i looked and compared the project settings but can't see any difference, but I assume that the upgrade script must have changed something.

    <?xml version="1.0" encoding="UTF-8" ?>
    - <project name="BorderDemo" default="default" basedir=".">
    <import file="nbproject/build-impl.xml" />
    </project>This is 'build.xml' file. Check for 'project.xml' file in 'nbproject' folder. You will find it to be:
    <?xml version="1.0" encoding="UTF-8" ?>
    - <project xmlns="http://www.netbeans.org/ns/project/1">
      <type>org.netbeans.modules.java.j2seproject</type>
    - <configuration>
    - <data xmlns="http://www.netbeans.org/ns/j2se-project/3">
      <name>BorderDemo</name>
      <minimum-ant-version>1.6.5</minimum-ant-version>
    - <source-roots>
      <root id="src.dir" />
      </source-roots>
      </data>
      </configuration>
      </project>Change it to:
    <?xml version="1.0" encoding="UTF-8" ?>
    - <project xmlns="http://www.netbeans.org/ns/project/1">
      <type>org.netbeans.modules.java.j2seproject</type>
    - <configuration>
    - <data xmlns="http://www.netbeans.org/ns/j2se-project/3">
      <name>BorderDemo</name>
      <minimum-ant-version>1.6.5</minimum-ant-version>
    - <source-roots>
      <root id="src.dir" />
      </source-roots>
      <test-roots>
      <root id="test.src.dir" />
      </test-roots>
      </data>
      </configuration>
      </project>I hope it works.....
    thanks!

  • Compiling packages problem???

    Thanks for checking this out, noticed there hadn't been a similar compiling question for
    at least 40 pages, so figured I should contribute!!
    I am trying to compile a package class with six other classes added as part of the
    same package and instantiated withing tabbed panes within the first class.
    info
    JDK: j2sdk1.4.0-beta3
    path: path=c:\windows;c:\windows;c:\windows\command\j2sdk1.4.0-beta3\bin
    Folder/directory : c:\Divelog
    javac is accessed by: c:\j2sdk1.4.0-beta3\bin\javac
    package: divelog
    file: DiveLog.java
    -public class DiveLog extends JFrame
    six other files are Welcome.java, Diver.java, Dives.java, Statistics.java, Website.java,
    Resources.java
    -all are started with the package divelog; declaration
    - all are called within a populateTabbedPane() in the DiveLog file and class.
    all .java files can be seen when I enter c:\Divelog>dir
    problem:
    entering c:\j2sdk1.4.0-beta3\bin\javac DiveLog.java
    returns six errors of type : cannot resolve symbol
    symbol: class Welcome
    location: class divelog.Divelog
    new Welcome
    I understand that this is not the way to compile a package so tryed lots of different
    things as suggested by the troubleshooting tutorial, the most effective are
    c:\j2sdk1.4.0-beta3\bin\javac -classpath c:\Divelog.divelog.java
    " \javac -classpath c:\Divelog.divelog
    \javac -classpath c:\Divelog
    all of these pause for about 5 seconds then returns to the c:\Divelog> (as if there
    were no errors)
    enter dir to see if they have been compiled, and there is no .class versions of these
    files.
    entering
    c:\j2sdk1.4.0-beta3\bin\javac -classpath c:\Divelog\ DiveLog.java or \ Divelog or \
    Divelog.DiveLog
    (with the space after the \ ) returns the six error messages above.
    I am positive there is something very simple I am missing, could someone please help
    me out, It would be greatly appreciated, I really like this java programming, but when
    you run into a hurdle like this, It gets very frustrating. Thanks alot in advance!!!

    Thanks alot eric, I spent about 15 hours trying to work that out. Tthat helped alot I have a couple of quick follow up questions
    1. in the classpath \divelog/*.java what does the /*.java do is that the call for the entirity of the divelog
    package.
    2. all of the six sub classes (welcome, Resources, etc) all compiled and are now in the directory of the
    c:\Divelog>
    except that the main class/file DiveLog will not itself, and is not listed as a DiveLog.class,
    there is still only a DiveLog.java even thought the others in the package all have become .class.
    Is there any way I can compile this one file on it's own, or how do I get it to compile into a .class file??
    3. to run the application would I then enter
    c:\Divelog>c:\j2sdk1.4.0-beta3\bin\java -classpath \divelog.?
    Once again, I really appreciate your help, that was great!

  • Possible compiler/FB Problem?

    I just upgraded to FB 2.0.1. After having to deinstall and
    reimport my project due to issues with the old project, I now have
    a very strange issue.
    When FB compiles and it detects an error,the Problems tab
    shows a description of the problem, but does not show the name of
    the file under "Resource" or anything in the "In Folder" columns.
    It shows a line number, but that really doesn't do me any good
    since I don't know what file its in and I can't double-click or use
    the GO TO to find the error. Due to problems upgrading, I've had to
    import multiple files and it just tells me the problem, but no
    location.
    Any thoughts? This is driving me crazy.
    Thanks,
    Tom

    Thanks for the tip, but it was a bit more involved for me.
    All the normal attempts to resolve the issue didn't work
    including cleaning the project, recreating the project, and even
    reinstalling Flex Builder (w/2.0.1). Finally, the only thing that
    resolved it was deleting all of the files and rebuilding my source
    code from SVN.
    Have a good night!
    Michael
    http://michael.omnicypher.com/2007/01/wheres-problem.html

  • URGENT: sp6 and JSP compiling/classpath problem?

    Hi,
              We installed sp6 on our production site a little over a week and started
              seeing this problem on our logs with regards to any JSP with an include tag,
              such as:
              <%@ include file="/inc/insideHeadTag.jsp" %>
              INTERMITTENTLY, we will get the following error in the page on the client
              side at runtime:
              < ! -- cannot include file '/inc/insideHeadTag.jsp', resource not
              found -- >
              I grepped this newsgroup and noticed a previous unanswered post of the same
              nature, "Static compiles do not seem to include JSP's". Except in our case,
              this problem also manifest for dynamic JSP compiles, happens sporatically,
              and only started with sp6.
              Bug???
              Gene Chuang
              Join Kiko.com!
              

              Just to clarify - I'm not from BEA, I'm from EA - short a letter.
              As far as I know, there is no synchronization between WL instances in a cluster regarding the
              the compiling of JSPs. So when you start up two WL instances that share the same workingDir,
              and each WL instances gets a hit on your shiny new index.jsp, they both need to compile it. So the first
              one compiles it and writes index.class, the second does the same, overwriting the first _index.class,
              possibly at the same time that the first instance is trying to load _index.class into memory. And you
              get a mysterious 'class not found' error. Not likely, but possible.
              "Gene Chuang" <[email protected]> wrote:
              >Hmm, interesting... I thought Weblogic strongly recommends clustered
              >servers sharing the same file system?
              >
              >So you're saying the system-wide, cluster and node specific directories can
              >reside on the shared drive, but workingDirs should reside on local drives?
              >
              >--
              >Gene Chuang
              >Join Kiko.com!
              >
              >"Mike Reiche" <[email protected]> wrote in message
              >news:[email protected]...
              >>
              >> Make sure that your WLS instances are NOT sharing the workingDir. If two
              >instances
              >> try to compile the same JSP at the same time, bad things can happen.
              >>
              >> Mike
              >>
              >> "Gene Chuang" <[email protected]> wrote:
              >> >Hi Jong,
              >> >
              >> >Thanks for the reply; but I wish the solution is as simple as that.
              >Yes,
              >> >my .jsps are in the proper directory. They have been working properly
              >for
              >> >the past 6 months, since we were running WL 4.5.1. Only when I switched
              >to
              >> >WL 5.1 sp6 did this bug start showing up. Plus, like I said in my
              >original
              >> >post, this bug is sporatic. SOMETIMES the included jsp is found by
              >Weblogic
              >> >and the includer jsp compiles correctly; other times it isn't found and
              >the
              >> >includer jsp leaves a gap! What's going on?
              >> >
              >> >We are running clustered web servers in Solaris 2.7 with a shared file
              >> >system. This sporatic behavior may be because some nodes aren't working
              >> >properly???
              >> >
              >> >--
              >> >Gene Chuang
              >> >Join Kiko.com!
              >> >
              >> >"Jong Lee" <[email protected]> wrote in message
              >> >news:[email protected]...
              >> >>
              >> >> "Gene Chuang" <[email protected]> wrote:
              >> >> >Hi,
              >> >> >
              >> >> >We installed sp6 on our production site a little over a week and
              >started
              >> >> >seeing this problem on our logs with regards to any JSP with an
              >include
              >> >tag,
              >> >> >such as:
              >> >> I assumed insideHeadTag.jsp is in
              >> >> YOUR_DOCUMENT_ROOT/inc/insideHeadTag.jsp
              >> >>
              >> >> if you haven't read the spec of relative URI please do so:
              >> >> jsp spec 1.1 - section 2.5.2
              >> >>
              >> >> Jong
              >> >>
              >> >> >
              >> >> > <%@ include file="/inc/insideHeadTag.jsp" %>
              >> >> >
              >> >> >INTERMITTENTLY, we will get the following error in the page on the
              >client
              >> >> >side at runtime:
              >> >> >
              >> >> > < ! -- cannot include file '/inc/insideHeadTag.jsp', resource not
              >> >> >found -- >
              >> >> >
              >> >> >I grepped this newsgroup and noticed a previous unanswered post of the
              >> >same
              >> >> >nature, "Static compiles do not seem to include JSP's". Except in our
              >> >case,
              >> >> >this problem also manifest for dynamic JSP compiles, happens
              >> >sporatically,
              >> >> >and only started with sp6.
              >> >> >
              >> >> >Bug???
              >> >> >
              >> >> >Gene Chuang
              >> >> >Join Kiko.com!
              >> >> >
              >> >> >
              >> >> >
              >> >>
              >> >
              >> >
              >>
              >
              >
              

  • Compiling Servlet problem that uses a JavaBean

    I have a servlet that will get data from a JavaBean which is created before in a jsp file. While I trying to compile the servlet I am getting this message:
    --------------------Configuration: JDK version 1.3 <Default>--------------------
    Command : "C:\jdk1.3\bin\javac.exe" -d "C:\jakarta-tomcat-3.2.1\webapps\ROOT\WEB-INF\classes" C:\jakarta-tomcat-3.2.1\webapps\ROOT\WEB-INF\classes\MyServlet.java
    Directory : C:\jakarta-tomcat-3.2.1\webapps\ROOT\WEB-INF\classes
    C:\jakarta-tomcat-3.2.1\webapps\ROOT\WEB-INF\classes\TasitKayitGirisi.java:19: cannot resolve symbol
    symbol : class SimpleBean
    location: class MyPackage.SimpleBean
         SimpleBean simpleBean = (SimpleBean) session.getAttribute
    ^
    ("simpleBean");
    C:\jakarta-tomcat-3.2.1\webapps\ROOT\WEB-INF\classes\MyServlet.java:19: cannot resolve symbol
    symbol : class SimpleBean
    location: class MyPackage.SimpleBean
         SimpleBean simpleBean= (SimpleBean) session.getAttribute("simpleBean");
    ^
    2 errors
    Process completed.
    Where is the problem. SimpleBean is successfully being initializing in my jsp file. But I couldn't compile my servlet that will get data from that bean. Both my servlet and bean are in the same package. I am using JCreator to compile servlets. I think the problem is the compile string that JCreator uses. Can you help me. Thx in advance.

    Hi,
    The problem is it is not finding the Bean. Put it in the classpath.
    The simplest way is put the class in /WEB-INF/classes/MyPackage folder.

  • Compilation album problems

    please help I am being driven to distraction every time I try to import a compilation album to itunes in finishes up completely dispersed all over every part of my libray single track here single track there no art.its making a terrible mess as a large part of my collection are compilation albulms you can see the problem Im sure its something simple I just cant put my finger on it. I tried looking all through the preferences to no avail.thanks in advance

    When you insert the CD before you import, right click the CD - get info.
    Tick Compilation.

  • Cannot compile Lightspark, problem with llvm

    Hello,
    Lightspark is a new flash player for Flash 9 and more I would like to try. All is done for Ubuntu users, but for the others you have to compile the sources, that's what I am trying.
    During the compilation, here is what I got :
    [ 94%] Built target spark
    Scanning dependencies of target lightspark
    [ 97%] Building CXX object CMakeFiles/lightspark.dir/main.cpp.o
    Linking CXX executable lightspark
    /usr/bin/ld: cannot find -lLLVMLinker
    collect2: ld a retourné 1 code d'état d'exécution
    make[2]: *** [lightspark] Erreur 1
    make[1]: *** [CMakeFiles/lightspark.dir/all] Erreur 2
    make: *** [all] Erreur 2
    As far as I searched on Google, the problem should be easy to fix, there is one name file to change or one packet to download. If this is really the problem, which file/packet ?
    Lightspark wants the user to use cmake :
    [zarmakuizz@zarok objs]$ cmake -DCMAKE-BUILD-TYPE=Release ..
    -- The C compiler identification is GNU
    -- The CXX compiler identification is GNU
    -- Check for working C compiler: /usr/bin/gcc
    -- Check for working C compiler: /usr/bin/gcc -- works
    -- Detecting C compiler ABI info
    -- Detecting C compiler ABI info - done
    -- Check for working CXX compiler: /usr/bin/c++
    -- Check for working CXX compiler: /usr/bin/c++ -- works
    -- Detecting CXX compiler ABI info
    -- Detecting CXX compiler ABI info - done
    -- Found assembler: /usr/bin/nasm
    -- LLVM llvm-config found at: /usr/bin/llvm-config
    -- LLVM version: 2.7
    -- LLVM CXX flags: -I/usr/include  -DNDEBUG -D_GNU_SOURCE -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -O2 -fomit-frame-pointer -fno-exceptions -fno-rtti -fPIC -Woverloaded-virtual
    -- LLVM LD flags: -L/usr/lib/llvm  -lpthread -lffi -ldl -lm
    -- LLVM core libs: -lLLVMLinker -lLLVMArchive -lLLVMBitWriter -lLLVMBitReader -lLLVMInstrumentation -lLLVMipo -lLLVMTransformUtils -lLLVMipa -lLLVMAnalysis -lLLVMTarget -lLLVMMC -lLLVMCore -lLLVMSupport -lLLVMSystem
    -- LLVM JIT libs: -lLLVMX86Disassembler -lLLVMX86AsmParser -lLLVMMCParser -lLLVMX86AsmPrinter -lLLVMX86CodeGen -lLLVMSelectionDAG -lLLVMAsmPrinter -lLLVMX86Info -lLLVMJIT -lLLVMExecutionEngine -lLLVMCodeGen -lLLVMScalarOpts -lLLVMInstCombine -lLLVMTransformUtils -lLLVMipa -lLLVMAnalysis -lLLVMTarget -lLLVMMC -lLLVMCore -lLLVMSupport -lLLVMSystem
    -- LLVM JIT objs:
    -- Found LLVM: /usr/include
    -- Looking for include files CMAKE_HAVE_PTHREAD_H
    -- Looking for include files CMAKE_HAVE_PTHREAD_H - found
    -- Looking for pthread_create in pthreads
    -- Looking for pthread_create in pthreads - not found
    -- Looking for pthread_create in pthread
    -- Looking for pthread_create in pthread - found
    -- Found Threads: TRUE
    -- Found CURL: /usr/lib/libcurl.so
    -- Found ZLIB: /usr/lib/libz.so
    -- checking for modules 'gl;libpcrecpp;libavcodec;libavutil;ftgl;x11'
    --   found gl, version 7.7.1
    --   found libpcrecpp, version 8.02
    --   found libavcodec, version 52.67.0
    --   found libavutil, version 50.15.2
    --   found ftgl, version 2.1.3~rc5
    --   found x11, version 1.3.3
    -- Loaded CMakeASM-NASMInformation - ASM-NASM support is still experimental, please report issues
    -- Configuring done
    -- Generating done
    -- Build files have been written to: /home/zarmakuizz/progra/lightspark-0.3.1/objs
    When compiling :
    [zarmakuizz@zarok objs]$ make
    Scanning dependencies of target spark
    [  2%] Building CXX object CMakeFiles/spark.dir/swf.cpp.o
    [  5%] Building CXX object CMakeFiles/spark.dir/swftypes.cpp.o
    /home/zarmakuizz/progra/lightspark-0.3.1/swftypes.cpp: In member function 'virtual void lightspark::FILLSTYLE::setFragmentProgram() const':
    /home/zarmakuizz/progra/lightspark-0.3.1/swftypes.cpp:1268:25: attention : unused variable 'buffer'
    /home/zarmakuizz/progra/lightspark-0.3.1/swftypes.cpp:1269:16: attention : unused variable 'grad_index'
    /home/zarmakuizz/progra/lightspark-0.3.1/swftypes.cpp:1271:7: attention : unused variable 'index_l'
    /home/zarmakuizz/progra/lightspark-0.3.1/swftypes.cpp:1273:7: attention : unused variable 'index_r'
    [  8%] Building CXX object CMakeFiles/spark.dir/tags.cpp.o
    [ 10%] Building CXX object CMakeFiles/spark.dir/geometry.cpp.o
    [ 13%] Building CXX object CMakeFiles/spark.dir/actions.cpp.o
    [ 16%] Building CXX object CMakeFiles/spark.dir/frame.cpp.o
    [ 18%] Building CXX object CMakeFiles/spark.dir/input.cpp.o
    [ 21%] Building CXX object CMakeFiles/spark.dir/streams.cpp.o
    [ 24%] Building CXX object CMakeFiles/spark.dir/tags_stub.cpp.o
    [ 27%] Building CXX object CMakeFiles/spark.dir/logger.cpp.o
    [ 29%] Building CXX object CMakeFiles/spark.dir/vm.cpp.o
    [ 32%] Building CXX object CMakeFiles/spark.dir/asobjects.cpp.o
    [ 35%] Building CXX object CMakeFiles/spark.dir/abc.cpp.o
    [ 37%] Building CXX object CMakeFiles/spark.dir/abc_codesynt.cpp.o
    /home/zarmakuizz/progra/lightspark-0.3.1/abc_codesynt.cpp: In member function 'lightspark::ASObject* (* lightspark::method_info::synt_method())(lightspark::call_context*)':
    /home/zarmakuizz/progra/lightspark-0.3.1/abc_codesynt.cpp:1611:53: attention : passing NULL to non-pointer argument 2 of 'static llvm::Constant* llvm::ConstantInt::get(const llvm::Type*, uint64_t, bool)'
    /home/zarmakuizz/progra/lightspark-0.3.1/abc_codesynt.cpp:2606:53: attention : passing NULL to non-pointer argument 2 of 'static llvm::Constant* llvm::ConstantInt::get(const llvm::Type*, uint64_t, bool)'
    [ 40%] Building CXX object CMakeFiles/spark.dir/abc_opcodes.cpp.o
    [ 43%] Building CXX object CMakeFiles/spark.dir/flashdisplay.cpp.o
    /home/zarmakuizz/progra/lightspark-0.3.1/flashdisplay.cpp: In static member function 'static lightspark::ASObject* lightspark::Graphics::lineTo(lightspark::ASObject*, lightspark::ASObject* const*, unsigned int)':
    /home/zarmakuizz/progra/lightspark-0.3.1/flashdisplay.cpp:1634:12: attention : unused variable 'th'
    /home/zarmakuizz/progra/lightspark-0.3.1/flashdisplay.cpp:1637:6: attention : unused variable 'x'
    /home/zarmakuizz/progra/lightspark-0.3.1/flashdisplay.cpp:1638:6: attention : unused variable 'y'
    /home/zarmakuizz/progra/lightspark-0.3.1/flashdisplay.cpp: In static member function 'static lightspark::ASObject* lightspark::Graphics::drawCircle(lightspark::ASObject*, lightspark::ASObject* const*, unsigned int)':
    /home/zarmakuizz/progra/lightspark-0.3.1/flashdisplay.cpp:1671:9: attention : unused variable 'x'
    /home/zarmakuizz/progra/lightspark-0.3.1/flashdisplay.cpp:1672:9: attention : unused variable 'y'
    /home/zarmakuizz/progra/lightspark-0.3.1/flashdisplay.cpp:1673:9: attention : unused variable 'radius'
    /home/zarmakuizz/progra/lightspark-0.3.1/flashdisplay.cpp: In static member function 'static lightspark::ASObject* lightspark::Graphics::drawRect(lightspark::ASObject*, lightspark::ASObject* const*, unsigned int)':
    /home/zarmakuizz/progra/lightspark-0.3.1/flashdisplay.cpp:1694:6: attention : unused variable 'x'
    /home/zarmakuizz/progra/lightspark-0.3.1/flashdisplay.cpp:1695:6: attention : unused variable 'y'
    /home/zarmakuizz/progra/lightspark-0.3.1/flashdisplay.cpp:1696:6: attention : unused variable 'width'
    /home/zarmakuizz/progra/lightspark-0.3.1/flashdisplay.cpp:1697:6: attention : unused variable 'height'
    [ 45%] Building CXX object CMakeFiles/spark.dir/flashevents.cpp.o
    [ 48%] Building CXX object CMakeFiles/spark.dir/textfile.cpp.o
    [ 51%] Building CXX object CMakeFiles/spark.dir/thread_pool.cpp.o
    [ 54%] Building CXX object CMakeFiles/spark.dir/flashgeom.cpp.o
    [ 56%] Building CXX object CMakeFiles/spark.dir/flashnet.cpp.o
    [ 59%] Building CXX object CMakeFiles/spark.dir/flashsystem.cpp.o
    [ 62%] Building CXX object CMakeFiles/spark.dir/flashutils.cpp.o
    [ 64%] Building CXX object CMakeFiles/spark.dir/compat.cpp.o
    [ 67%] Building CXX object CMakeFiles/spark.dir/abc_interpreter.cpp.o
    [ 70%] Building CXX object CMakeFiles/spark.dir/flashexternal.cpp.o
    [ 72%] Building CXX object CMakeFiles/spark.dir/flashtext.cpp.o
    [ 75%] Building CXX object CMakeFiles/spark.dir/flashmedia.cpp.o
    [ 78%] Building CXX object CMakeFiles/spark.dir/flv.cpp.o
    [ 81%] Building CXX object CMakeFiles/spark.dir/netutils.cpp.o
    [ 83%] Building CXX object CMakeFiles/spark.dir/timer.cpp.o
    [ 86%] Building CXX object CMakeFiles/spark.dir/decoder.cpp.o
    /home/zarmakuizz/progra/lightspark-0.3.1/decoder.cpp: In member function 'virtual bool lightspark::FFMpegDecoder::decodeData(uint8_t*, uint32_t)':
    /home/zarmakuizz/progra/lightspark-0.3.1/decoder.cpp:365:2: attention : 'int avcodec_decode_video(AVCodecContext*, AVFrame*, int*, const uint8_t*, int)' is deprecated (declared at /usr/include/libavcodec/avcodec.h:3448)
    /home/zarmakuizz/progra/lightspark-0.3.1/decoder.cpp:365:69: attention : 'int avcodec_decode_video(AVCodecContext*, AVFrame*, int*, const uint8_t*, int)' is deprecated (declared at /usr/include/libavcodec/avcodec.h:3448)
    /home/zarmakuizz/progra/lightspark-0.3.1/decoder.cpp:372:2: attention : comparaison entre des expressions entières signée et non signée
    [ 89%] Building CXX object CMakeFiles/spark.dir/threading.cpp.o
    [ 91%] Building CXX object CMakeFiles/spark.dir/flashxml.cpp.o
    /home/zarmakuizz/progra/lightspark-0.3.1/flashxml.cpp: In static member function 'static lightspark::ASObject* lightspark::XMLDocument::_constructor(lightspark::ASObject*, lightspark::ASObject* const*, unsigned int)':
    /home/zarmakuizz/progra/lightspark-0.3.1/flashxml.cpp:46:15: attention : unused variable 'th'
    [ 94%] Building ASM-NASM object CMakeFiles/spark.dir/fastpaths_64.asm.o
    Linking CXX static library libspark.a
    [ 94%] Built target spark
    Scanning dependencies of target lightspark
    [ 97%] Building CXX object CMakeFiles/lightspark.dir/main.cpp.o
    Linking CXX executable lightspark
    /usr/bin/ld: cannot find -lLLVMLinker
    collect2: ld a retourné 1 code d'état d'exécution
    make[2]: *** [lightspark] Erreur 1
    make[1]: *** [CMakeFiles/lightspark.dir/all] Erreur 2
    make: *** [all] Erreur 2
    I don't know what to do to fix it Any idea ?
    Regards,
    Zarmakuizz

    Check here
    http://bbs.archlinux.org/viewtopic.php?id=97363

  • When I export a video I get export errors. It compiled no problem.  Now I will do this as HD h.264 youtube HD

    I exported a movie and now every time I do the same project i get errors in media encoder and the logs say :
    08/14/2014 10:20:58 PM : Encoding Failed
    Export Error
    Error compiling movie.
      Unknown error.
      - Encoding Time: 00:04:21
    08/14/2014 10:28:45 PM : Encoding Failed
    Export Error
    Error compiling movie.
      Unknown error.
      - Encoding Time: 00:10:39
    08/15/2014 04:33:40 PM : Encoding Failed
    Export Error
    Error compiling movie.
      Unknown error.
    I do quicktime it works or SD and its a hit and miss as SD in h.264  any ideas? I never had this problem before....

    Error Compiling Movie... some past discussions and ideas
    -http://helpx.adobe.com/premiere-pro/kb/error-compiling-movie-rendering-or.html
    -http://helpx.adobe.com/premiere-elements/kb/error-error-compiling-movie-render.html
    -and nested sequences http://forums.adobe.com/thread/955172

Maybe you are looking for

  • OpenPS MS project file- SAP PS - error while uploading

    Hello guys, I can't move the project  (any project) data from MS Project to SAP PS. Why is that ? Is there any restriction for data to be changed in MS Project ? I modified only description of one WBS element. I feel like I have to program additional

  • Iphoto: problem with background color on Calendar.  Help!

    I have made 4 calendars using iphoto now.  The first time I did it, I was able to custom background color the pages, including the bottom half with month and days.  Since then, the only page that works for making background color changes is the top p

  • How to ensure a Coherence Extend TCP service

    Hi, We have defined an Extend TCP service within our <caching-schemes> element as follows: <proxy-scheme> <service-name>ExtendTcpProxyService</service-name> <thread-count>5</thread-count> <acceptor-config> <tcp-acceptor> <local-address> <address>loca

  • What’s the best practice for this scenario?

    Hi, My users want the ability to change the WHERE and/or ORDER BY clause at runtime. They may define user preferences on each screen ( which is bind to a view object). They want to see the same records based on WHERE/ORDER BY defined on the last visi

  • Error in picking material from storage loc.

    Hi Experts, I am creating a delivery w.r.t sales order. i am getting this following error. Material SRCBULK does not exist in plant GC01 Message no. VL411 I have checked the message and its corresponding upgrades. Its already there as i am having ECC