Troubles using EJBDeployment tool : perpetual assertion errors.

I'm trying to deploy an EJB using the Weblogic 510 EJBDeployment tool.
I've got a Remote interface, an EJB class and a home interface in a
directory called
d:\EJBDemos.
The classes are not in packages.
When I try to create the jar file, no matter where I try to create it, I get
an assertion error on the console which says something along the lines of:
File root of D:/EJBDemos is not a prefix for file
d:/EJBDemos/RoleEJB.class ]
(in this particular example, I was trying to create a d:\test.jar )
and then throws a whole bunch of swing exceptions.
I have also tried this on another Entity bean, and exactly the same thing
happened.
I got it to create the jar file the very first time I attempted it, but the
classes were wrong, so I tried to create a new one and have had this problem
every time. Any ideas?

I'm trying to deploy an EJB using the Weblogic 510 EJBDeployment tool.
I've got a Remote interface, an EJB class and a home interface in a
directory called
d:\EJBDemos.
The classes are not in packages.
When I try to create the jar file, no matter where I try to create it, I get
an assertion error on the console which says something along the lines of:
File root of D:/EJBDemos is not a prefix for file
d:/EJBDemos/RoleEJB.class ]
(in this particular example, I was trying to create a d:\test.jar )
and then throws a whole bunch of swing exceptions.
I have also tried this on another Entity bean, and exactly the same thing
happened.
I got it to create the jar file the very first time I attempted it, but the
classes were wrong, so I tried to create a new one and have had this problem
every time. Any ideas?

Similar Messages

  • Trouble using mask tool and filter...Could not rasterize because the pixel data for this layer is not directly editable - masking

    I've searched for an answer to the problem I'm having on cs4 and can't find it, so here goes:
    New to photoshop,  I'm trying to fake some depth of field (i.e blur the background) on a wedding photo by using the masking tool to mask out the foreground then, out of mask mode> select>inverse to get the dotted line around the image, then using Filter>gausian blur on the background.
    1. The dotted line around the image doest look right
    2.  I can't use the filter facility (its greyed out) and when I try to use the blur tool from the side menu got the above message.
    Any help much appreciated.

    Which operating system are you using?
    I'm using Mac Lion V 10.7.5, working on a photoshop cs4 trial version (could be the problem?).
    I Used the quick mask mode to mask the area.
    Here's a screen shot - (I have blacked out some of photo for subjects' privacy):
    -  mask mode turned off, then Select>Inverse to show unmasked area  (note, the dotted line continues round the bottom of the pic which indicates to me I have made a masking mistake, as dotted line to mask out background only should go round the top & sides of the photo and then outline the couple, - right?
    Image mode of image: If I understand correctly what this is, the image mode is .jpg
    Bit depth of image: Bit depth of image is 8, color mode is RGB.
    Hope I've given you the information you required.
    Thanks
    P

  • Trouble using javah tool

    I am trying to generate a jni-style header file for the HelloWorld.class generated from the following code
    class HelloWorld {
         private native void print();
         public static void main(String[] args) {
         new HelloWorld().print();
         static {
              System.loadLibrary("HelloWorld");
    command used: javah HelloWorld I am getting an error javadoc: error-Illegal package name HelloWorld
    Kindly help

    Did you compile the class?
    Post the exact command that you used for javah - copy and paste it.
    Post the exact output of running that - copy and paste it.

  • Trouble using Type tool in CS3

    I'm trying to type text and all I get is underlines with a blinking cursor...I've tried everything I can think of and not having any luck.
    Any suggestions?

    Try resetting the type tool. This can eliminate other problems, like font size too small, etc.
    Check your Image>Image Size to make sure the resolution is a number greater than 10.

  • Assertion error using weblogic.ejbc20

    I'm getting the following error message generating the jar file for my BimPspsAdjApp
    WL bean:
    [java] weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Couldn't
    find a WLBean called "BimPspAdjApp" ]
    [java] at weblogic.utils.Debug.assert(Debug.java:84)
    [java] at weblogic.ejb20.deployer.CompositeMBeanDescriptor.initialize60(CompositeMBeanDescriptor.java:218)
    [java] at weblogic.ejb20.deployer.CompositeMBeanDescriptor.init(CompositeMBeanDescriptor.java:159)
    [java] at weblogic.ejb20.deployer.CompositeMBeanDescriptor.<init>(CompositeMBeanDescriptor.java:152)
    [java] at weblogic.ejb20.deployer.MBeanDeploymentInfoImpl.initializeBeanInfos(MBeanDeploymentInfoImpl.java:393)
    [java] at weblogic.ejb20.deployer.MBeanDeploymentInfoImpl.<init>(MBeanDeploymentInfoImpl.java:126)
    [java] at weblogic.ejb20.ejbc.EJBCompiler.setupEJB(EJBCompiler.java:128)
    [java] at weblogic.ejbc20.runBody(ejbc20.java:358)
    [java] at weblogic.utils.compiler.Tool.run(Tool.java:79)
    [java] at weblogic.ejbc20.main(ejbc20.java:460)
    [java] Exception in thread "main" weblogic.utils.AssertionError: ***** ASSERTION
    FAILED *****[ Couldn't find a WLBean called "BimPspAdjApp" ]
    [java] at weblogic.utils.Debug.assert(Debug.java:84)
    [java] at weblogic.ejb20.deployer.CompositeMBeanDescriptor.initialize60(CompositeMBeanDescriptor.java:218)
    [java] at weblogic.ejb20.deployer.CompositeMBeanDescriptor.init(CompositeMBeanDescriptor.java:159)
    [java] at weblogic.ejb20.deployer.CompositeMBeanDescriptor.<init>(CompositeMBeanDescriptor.java:152)
    [java] at weblogic.ejb20.deployer.MBeanDeploymentInfoImpl.initializeBeanInfos(MBeanDeploymentInfoImpl.java:393)
    [java] at weblogic.ejb20.deployer.MBeanDeploymentInfoImpl.<init>(MBeanDeploymentInfoImpl.java:126)
    [java] at weblogic.ejb20.ejbc.EJBCompiler.setupEJB(EJBCompiler.java:128)
    [java] at weblogic.ejbc20.runBody(ejbc20.java:358)
    [java] at weblogic.utils.compiler.Tool.run(Tool.java:79)
    [java] at weblogic.ejbc20.main(ejbc20.java:460)
    [java] Java Result: 1
    My Ant command is:
    <target name = "intBimPsp">
         <mkdir dir="${ejbjartmp.dir}/webserviceBim/META-INF"/>
         <mkdir dir="${ejbjartmp.dir}/webserviceBim/fastway/runtime/intBimPsp"/>
         <copy file="${descriptors.dir}/BimPspAdjApp-ejb-jar.xml" tofile="${ejbjartmp.dir}/webserviceBim/META-INF/ejb-jar.xml"/>
         <copy file="${descriptors.dir}/BimPspAdjApp-weblogic-ejb-jar.xml" tofile="${ejbjartmp.dir}/webserviceBim/META-INF/weblogic-ejb-jar.xml"/>
    <copy todir="${ejbjartmp.dir}/webserviceBim/fastway/runtime/intBimPsp/">
    <fileset dir="${build.dir}/fastway/runtime/intBimPsp/"/>
    </copy>
         <jar jarfile="${ejbjartmp.dir}/pre_BimPspAdjApp.jar"
         basedir="${ejbjartmp.dir}/webserviceBim"/>
    <java classname="weblogic.ejbc20" fork="yes" dir="${ejbjartmp.dir}">
         <arg line="$pre_BimPspAdjApp.jar $BimPspAdjApp.jar"/>
              <classpath>
                   <pathelement location="/apps/bea/wlserver6.1/lib/weblogic.jar"/>
                   <pathelement location="${ejbjartmp.dir}/pre_BimPspAdjApp.jar"/>
              </classpath>
         </java>
    <delete dir="${ejbjartmp.dir}/webserviceBim/"/>
         <delete file="${ejbjartmp.dir}/pre_BimPspAdjApp.jar"/>
    </target>
    Why does this assertion error occur?
    Thanks

    Are you trying to run a EJB 2.0 bean using a EJB 1.1 DTD?
    Gabriela Gonzalez wrote:
    I'm getting the following error message generating the jar file for my BimPspsAdjApp
    WL bean:
    [java] weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Couldn't
    find a WLBean called "BimPspAdjApp" ]
    [java] at weblogic.utils.Debug.assert(Debug.java:84)
    [java] at weblogic.ejb20.deployer.CompositeMBeanDescriptor.initialize60(CompositeMBeanDescriptor.java:218)
    [java] at weblogic.ejb20.deployer.CompositeMBeanDescriptor.init(CompositeMBeanDescriptor.java:159)
    [java] at weblogic.ejb20.deployer.CompositeMBeanDescriptor.<init>(CompositeMBeanDescriptor.java:152)
    [java] at weblogic.ejb20.deployer.MBeanDeploymentInfoImpl.initializeBeanInfos(MBeanDeploymentInfoImpl.java:393)
    [java] at weblogic.ejb20.deployer.MBeanDeploymentInfoImpl.<init>(MBeanDeploymentInfoImpl.java:126)
    [java] at weblogic.ejb20.ejbc.EJBCompiler.setupEJB(EJBCompiler.java:128)
    [java] at weblogic.ejbc20.runBody(ejbc20.java:358)
    [java] at weblogic.utils.compiler.Tool.run(Tool.java:79)
    [java] at weblogic.ejbc20.main(ejbc20.java:460)
    [java] Exception in thread "main" weblogic.utils.AssertionError: ***** ASSERTION
    FAILED *****[ Couldn't find a WLBean called "BimPspAdjApp" ]
    [java] at weblogic.utils.Debug.assert(Debug.java:84)
    [java] at weblogic.ejb20.deployer.CompositeMBeanDescriptor.initialize60(CompositeMBeanDescriptor.java:218)
    [java] at weblogic.ejb20.deployer.CompositeMBeanDescriptor.init(CompositeMBeanDescriptor.java:159)
    [java] at weblogic.ejb20.deployer.CompositeMBeanDescriptor.<init>(CompositeMBeanDescriptor.java:152)
    [java] at weblogic.ejb20.deployer.MBeanDeploymentInfoImpl.initializeBeanInfos(MBeanDeploymentInfoImpl.java:393)
    [java] at weblogic.ejb20.deployer.MBeanDeploymentInfoImpl.<init>(MBeanDeploymentInfoImpl.java:126)
    [java] at weblogic.ejb20.ejbc.EJBCompiler.setupEJB(EJBCompiler.java:128)
    [java] at weblogic.ejbc20.runBody(ejbc20.java:358)
    [java] at weblogic.utils.compiler.Tool.run(Tool.java:79)
    [java] at weblogic.ejbc20.main(ejbc20.java:460)
    [java] Java Result: 1
    My Ant command is:
    <target name = "intBimPsp">
    <mkdir dir="${ejbjartmp.dir}/webserviceBim/META-INF"/>
    <mkdir dir="${ejbjartmp.dir}/webserviceBim/fastway/runtime/intBimPsp"/>
    <copy file="${descriptors.dir}/BimPspAdjApp-ejb-jar.xml" tofile="${ejbjartmp.dir}/webserviceBim/META-INF/ejb-jar.xml"/>
    <copy file="${descriptors.dir}/BimPspAdjApp-weblogic-ejb-jar.xml" tofile="${ejbjartmp.dir}/webserviceBim/META-INF/weblogic-ejb-jar.xml"/>
    <copy todir="${ejbjartmp.dir}/webserviceBim/fastway/runtime/intBimPsp/">
    <fileset dir="${build.dir}/fastway/runtime/intBimPsp/"/>
    </copy>
    <jar jarfile="${ejbjartmp.dir}/pre_BimPspAdjApp.jar"
    basedir="${ejbjartmp.dir}/webserviceBim"/>
    <java classname="weblogic.ejbc20" fork="yes" dir="${ejbjartmp.dir}">
    <arg line="$pre_BimPspAdjApp.jar $BimPspAdjApp.jar"/>
    <classpath>
    <pathelement location="/apps/bea/wlserver6.1/lib/weblogic.jar"/>
    <pathelement location="${ejbjartmp.dir}/pre_BimPspAdjApp.jar"/>
    </classpath>
    </java>
    <delete dir="${ejbjartmp.dir}/webserviceBim/"/>
    <delete file="${ejbjartmp.dir}/pre_BimPspAdjApp.jar"/>
    </target>
    Why does this assertion error occur?
    Thanks--
    Rajesh Mirchandani
    Developer Relations Engineer
    BEA Support

  • Photoshop CS4 "Program Error" when using Text tool

    Hello. I was having problems with Photoshop displaying a "Program Error" every so often, so I deleted the preference file and all seemed good. But after deleting the preference file for my Photoshop CS4 and re-launching Photoshop, the text tool causes Photoshop to display a Program Error when using the tool. It never did this before. Should I reinstall Photoshop? I am using a Powermac G5 running 10.5.8. I have already tried repairing the disk permissions.
    Thanks

    Thats kinda what I thought too, but the problem started happening randomly. It started when we were trying to use photomerge with large photos. The program just started giving the program errors. I still think it may be a font problem, but without going through my 2000+ fonts and disabling them one by one, how can I resolve this issue?
    Thanks

  • Error while building  the eclipse using exadel tool

    hi all
    i m facing a problem while building project using eclipse tool called(exadel ).it gives error like "integarted external building tool error - : variable references non existent resource :${workspace_loc:/my project not found}".
    so if anybody have idea about above pls let me know

    This problem come directly from your Exadel or Eclipse IDE itself.
    It means that a directory (which is your project directory) is not available in your worspace dir.
    usually workspace dir is inside your user home dir.
    check to see whether this folder exisits or not.

  • Trouble using Safari on start-up with pop-up error

    Hi,
    I'm having trouble using Safari. Every time I open up the application, a small screen popped up saying "Error- Failed to load the FastBrowserSearchPlugin plugin.* -[BrowserWindowController currentWebView]: unrecognized selector sent to instance 0x7aa570". What can I do to get rid of this issue. I am assuming it has something to do with the Fast Browser Search engine located on the top right of the safari app. Help me please! Any help will be appreciated. Thank you.

    HI and welcome to Apple Discussions...
    You need to uninstall that plugin.
    Go here for instructions on how to remove it.
    http://help.fastbrowsersearch.com/
    I think you'll find it in: ~/Library/Internet Plugin-ins
    ~ (Tilde) represents your Home folder.
    Carolyn

  • Getting error while fetching Log data using B1TE Tools

    Hi,
    i am using B1TE Tools to test an add on which generating an error while fetching the Log File using DI Logs Reader. The error is below:
    "Wrong Xml file format. "The data at the root level is invalid, Line 1, position 1.".
    please report it on B1TE blog"
    Please help..
    Regards,
    Sunita

    > Do you want to add and/or update the data in the already existing tables or do you want to replace the content completely?
    >
    > so in that way :
    > bot the options are fine what ever take less time.
    Sorry mate, but YOU have to know what you want here.
    I gave you an easy to follow set of steps.
    As you don't seam to mind the outcome, just might just use them...
    > I wanted to know weathe i can use the  loadercli for thie export import or not? if yes then is there any new steps to do before i do the export import?
    We had this discussion before...
    >
    > For that the easiest option would be just to drop the tables of SAPR3 and run the import again.
    >
    > For ease of use you could also just do:
    > - logon as superdba
    > - drop user SAPR3
    > - create user SAPR3 password SOMEPW not exclusive dba
    >
    > After these steps you can easily pump the data into the database again.
    >
    > So here in th above given steps , i am creating a new SAPR3 user and why it is not exclusive dba ?
    >  i already have that user SAPR3 can i use the same.
    Yes, you do have the SAPR3 user.
    But you don't seem to like to read documentation or learn about how the tools work or anything like that.
    Therefore I gave you s simple way to reach your goal.
    Of course it's possible to reuse the user.
    But then you would have to deal with already existing tables, already existing data etc.
    You don't seem to be able to do that. So, the easy steps might be better suited for your needs.
    regards,
    Lars

  • I am having trouble with face time , it was working well yesterday and today am not able to use it due to an error that won't let me log in !!!

    I am having trouble with face time , it was working well yesterday and today am not able to use it due to an error that won't let me log in !!!

    I have the same exact issue. There is number of these post, but still not an answer. hope someone post an answer soon

  • Use snipping tool, try to send as attachments creates error

    I am a desktop tech and I have seen other posts re: this issue but nothing has worked - While using snipping tool and use send as attachment to recipient, error in Outlook "messaging interface has returned an unknown error.  If problem persists start
    Outlook again".  We run Office 2007 and Vista Enterprise.  Tried Outlook diagnostics, and 'tablet pc optional components' is enabled to no avail.  Any thoughts?

    Hi,
    Can you save the attachment without sending as attachment first?
    Can you send a website as an attechment?
    We need to clarify if this is a snipping tool issue or Outlook issue.
    At this point, you may try to start Outlook in Windows clean boot mode to check if it helps.
    Refer to the steps given in the link below to start computer inclean boot:
    http://support.microsoft.com/kb/929135
    Note: Ensure to restart the computer to normal mode once troubleshooting is completed.
    Regards,
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. ”

  • Error while using Test tool -WE19

    Hi All,
    When I am trying to use Test tool for IDOC processing ( WE19) in R/3 System for any  Basic Type ,for example: PEXR2002 and select the Standard Outbound Processing, I am getting the message as “Port does not exist in the table of port descriptions.”
    Is this error something where port configuration is missing or some standard error.
    Please provide your inputs.
    Regards
    Pragya Dubey

    Hello Dubey,
    Check it once u r configaration..
    Step by Step Procedure..
    Create the tRFC port definition
    Refer to the following steps to create the tRFC port definition.
    1. SAP transaction code: WE21 – Type /nwe21 on the SAP input window and press the
    Enter key.
    2. Highlight Transactional RFC.
    3. Click the Port pull-down menu, which is located in the upper left corner of the SAP
    screen. Click Create (or press F7).
    4. Select the own port name radio button.
    5. Type a port name such as ALEport. If you use a port name different from this, update
    Table 2 at the beginning of this chapter for future reference.
    6. Click the green check icon to continue.
    7. Fill in the description field with tRFC port (You are free to write anything you want here).
    8. Fill in the RFC destination field with ALESERVER. This must match the name you used on the previous RFC Destination step. If the name you enter here does not exist, the
    system will flag an error and you will need to provide an existing RFC destination.
    9. Make sure that IDoc record types SAP Release 4.x is selected.
    10. Click on save.
    Thanks,
    Satya Kumar
    Reward points if it is useful..

  • Hi! how do i debug my photoshop so it wont say "[tool] could not be used due to a program error"?

    Hi! my photoshop has partually stoped working. Some of my tools are not useable for me. Tools like: the shape tool and choosing color can not be used. All it says is "[the tool i want to use] cant be used due to a program error". How can this be fixed?
    sincerely William

    Please read these and proceed accordingly:
    http://blogs.adobe.com/crawlspace/2012/07/photoshop-basic-troubleshooting-steps-to-fix-mos t-issues.html
    http://forums.adobe.com/docs/DOC-2325

  • Error when try to use cmd tools (copylocale, mxmlc, etc)

    Hi guys,
    I have a Windows 7 64Bits with Java Jdk 1.7.0_25 64Bits (with Jre).
    When I try to use cmd tools that came with Flash Builder 4.7, I get the following error:
    Command: copylocate en_US pt_PT
    Error:
         Error loading: D:\Software\Java\jdk1.7.0_25\jre\bin\server\jvm.dll
    The same error occore when try to use mxmlc.
    I have the JAVA_HOME defined with D:\Software\Java\jdk1.7.0_25
    I allready try to reinstall everything and show me the same error.
    Can anyone help me?
    Thanks,
    Pedro Quintas

    Hello again Joe Bo... and all of others,
    I´m with a doubt after installing the CPU patch, which is related to post-installation tasks. I´m in this momment install the SAP System and it was during this installation that sapinst asked me to install the database and all other activities after this installation that are related to the database, for example, the updating of database patches.
    At README file in chapter 3.3.2 Post Installation Instructions is described the following:
    After installing the patch, perform the following actions:
    1.Load modified .sql files into the database, as explained in Section 3.3.2.1.
    2.Recompile views in the database, if necessary, as explained in Section 3.3.2.2.
    In this momment, as you certainly know, I still don´t have a database because the sap system isn´t yet totally installed (I´m in phase 8 of sapinst wizard).
    I only have to do this "Post Installation Tasks" when I have a database, this database will be created after that phase 8 - so now I don´t need to perform the post steps... am I right?
    Thanks in advance,
    João Dimas - Portugal

  • Is there any blog or examples to handle the errors without using ESB tool kit.

    Hello,
    I have been trying to work with error handling since last week but I dont understand how to construct the error message. Is there any blog or examples to explain handle the errors step by step from scratch without using ESB tool kit.Can anybody help me out.
    Thanks in advance.

    You can use option 3 to construct the error message inside orchestration.
    Before using a BizTalk XML Message inside an orchestration, it must first be constructed. In fact this is just populating the message with XML. If there is an attempt to use this message before it is constructed, the above error will come. Some messages
    come pre-constructed, such as messages that originate from a send port
    There are several ways to construct a message inside an orchestration:
    Create a new message from an existing message using BizTalk map
    Assign one message to other(i.e. creating a copy of an existing message)
    Creating a message with the help of a System.XML.XMLDocument variable
    We have to first declare an orchestration variable of type XmlDocument. Then in a message assignment shape, we need to do something like this:
    myxmlDoc = new XmlDocument();
    myxmlDoc.LoadXML("<somexmlhere></somexmlhere>")
    myMsgBeingConstructed = myxmlDoc;
    Abhijit Mahato - Microsoft Community Contributor 2011 - MCTS BizTalk Server blog: http://abhijitmahato.wordpress.com/ Please "Mark as Answer" if Post has Answered the Question

Maybe you are looking for

  • Cannot connect to App store using apple ipod and windows vista

    My Apple IPOD isn't letting me into Itunes

  • Boot Disk Mystery after Snow Leopard Upgrade

    I recently moved from 10.5 to 10.6. First thing I did was to zero out and format my boot drive, which is actually two identical drives in software RAID. Then I installed Snow Leopard on this RAID array...as I did with Leopard and Tiger before that. I

  • AIR desktop app installation prob

    Gidday I'm having trouble getting my AIR desktop app (AIR2.5 with a self-signed certificate) to do auto updates.  I've had it updating fine in the past, but now get the following message: "This application cannot be installed because this installer h

  • How to run servlet and jsp in Eclipse

    i am trying to run a jsp and servlet file in Eclipse its showing error in editor its self.

  • Chinese sort in JTable

    Hello I used the thread to sort a JTable in Chinese : http://forum.java.sun.com/thread.jsp?forum=16&thread=369970 First, fsato4 (from the thread) says : The array java.text.CollationKey[] generated from the method getCollatingKey of the class Collato