File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes BEA/Weblogic and the fly likes Problem while using Deployer tool Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "Problem while using Deployer tool" Watch "Problem while using Deployer tool" New topic
Author

Problem while using Deployer tool

Mary Cole
Ranch Hand

Joined: Dec 02, 2000
Posts: 362
Hi All,
When I deploy sample EJB using Deployer tool I get the following error in weblogic 5.1 deployer tool.I get this erro when I click on the Add files menu and select the files and click on OK button
weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ File root of D:/weblogic is not a prefix for file d:/weblogic/examples/ejb/basic/Hello/HelloHome.class ]
at weblogic.ejb.ui.jarbuilder.FileMap.getRelativePath(FileMap.java:688)
at weblogic.ejb.ui.deployer.ProviderProject.fileSetChanged(ProviderProject.java, Compiled Code)
at weblogic.ejb.ui.jarbuilder.EJBJarSpec.newFileList(EJBJarSpec.java, Compiled Code)
at weblogic.ejb.ui.deployer.ProviderProject.newFileSet(ProviderProject.java:772)
at weblogic.ejb.ui.deployer.ProviderProjectNode.newFileSet(ProviderProjectNode.java, Compiled Code)
at weblogic.ejb.ui.jarbuilder.FileSupplementDialog.actionPerformed(FileSupplementDialog.java:121)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1066)
at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1101)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:378)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:250)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:204)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:230)
at java.awt.Component.processMouseEvent(Component.java, Compiled Code)
at java.awt.Component.processEvent(Component.java, Compiled Code)
at java.awt.Container.processEvent(Container.java, Compiled Code)
at java.awt.Component.dispatchEventImpl(Component.java, Compiled Code)
at java.awt.Container.dispatchEventImpl(Container.java, Compiled Code)
at java.awt.Component.dispatchEvent(Component.java, Compiled Code)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java, Compiled Code)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java, Compiled Code)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java, Compiled Code)
at java.awt.Container.dispatchEventImpl(Container.java, Compiled Code)
at java.awt.Window.dispatchEventImpl(Window.java, Compiled Code)
at java.awt.Component.dispatchEvent(Component.java, Compiled Code)
at java.awt.EventQueue.dispatchEvent(EventQueue.java, Compiled Code)
at java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java, Compiled Code)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:92)
at java.awt.Dialog.show(Dialog.java:365)
at java.awt.Component.show(Component.java:834)
at java.awt.Component.setVisible(Component.java:796)
at weblogic.ejb.ui.deployer.ProviderProjectNode.addRemoveFiles(ProviderProjectNode.java:111)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.ejb.ui.common.Action.actionPerformed(Action.java:84)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1066)
at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1101)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:378)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:250)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:204)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:230)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:230)
at java.awt.Component.processMouseEvent(Component.java, Compiled Code)
at java.awt.Component.processEvent(Component.java, Compiled Code)
at java.awt.Container.processEvent(Container.java, Compiled Code)
at java.awt.Component.dispatchEventImpl(Component.java, Compiled Code)
at java.awt.Container.dispatchEventImpl(Container.java, Compiled Code)
at java.awt.Component.dispatchEvent(Component.java, Compiled Code)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java, Compiled Code)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java, Compiled Code)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java, Compiled Code)
at java.awt.Container.dispatchEventImpl(Container.java, Compiled Code)
at java.awt.Window.dispatchEventImpl(Window.java, Compiled Code)
at java.awt.Component.dispatchEvent(Component.java, Compiled Code)
at java.awt.EventQueue.dispatchEvent(EventQueue.java, Compiled Code)
at java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java, Compiled Code)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:92)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:83)
Exception occurred during event dispatching:
weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ File root of D:/weblogic is not a prefix for file d:/weblogic/examples/ejb/basic/Hello/HelloHome.class ]
at weblogic.ejb.ui.jarbuilder.FileMap.getRelativePath(FileMap.java:688)
at weblogic.ejb.ui.deployer.ProviderProject.fileSetChanged(ProviderProject.java, Compiled Code)
at weblogic.ejb.ui.jarbuilder.EJBJarSpec.newFileList(EJBJarSpec.java, Compiled Code)
at weblogic.ejb.ui.deployer.ProviderProject.newFileSet(ProviderProject.java:772)
at weblogic.ejb.ui.deployer.ProviderProjectNode.newFileSet(ProviderProjectNode.java, Compiled Code)
at weblogic.ejb.ui.jarbuilder.FileSupplementDialog.actionPerformed(FileSupplementDialog.java:121)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1066)
at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1101)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:378)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:250)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:204)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:230)
at java.awt.Component.processMouseEvent(Component.java, Compiled Code)
at java.awt.Component.processEvent(Component.java, Compiled Code)
at java.awt.Container.processEvent(Container.java, Compiled Code)
at java.awt.Component.dispatchEventImpl(Component.java, Compiled Code)
at java.awt.Container.dispatchEventImpl(Container.java, Compiled Code)
at java.awt.Component.dispatchEvent(Component.java, Compiled Code)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java, Compiled Code)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java, Compiled Code)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java, Compiled Code)
at java.awt.Container.dispatchEventImpl(Container.java, Compiled Code)
at java.awt.Window.dispatchEventImpl(Window.java, Compiled Code)
at java.awt.Component.dispatchEvent(Component.java, Compiled Code)
at java.awt.EventQueue.dispatchEvent(EventQueue.java, Compiled Code)
at java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java, Compiled Code)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:92)
at java.awt.Dialog.show(Dialog.java:365)
at java.awt.Component.show(Component.java:834)
at java.awt.Component.setVisible(Component.java:796)
at weblogic.ejb.ui.deployer.ProviderProjectNode.addRemoveFiles(ProviderProjectNode.java:111)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.ejb.ui.common.Action.actionPerformed(Action.java:84)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1066)
at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1101)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:378)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:250)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:204)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:230)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:230)
at java.awt.Component.processMouseEvent(Component.java, Compiled Code)
at java.awt.Component.processEvent(Component.java, Compiled Code)
at java.awt.Container.processEvent(Container.java, Compiled Code)
at java.awt.Component.dispatchEventImpl(Component.java, Compiled Code)
at java.awt.Container.dispatchEventImpl(Container.java, Compiled Code)
at java.awt.Component.dispatchEvent(Component.java, Compiled Code)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java, Compiled Code)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java, Compiled Code)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java, Compiled Code)
at java.awt.Container.dispatchEventImpl(Container.java, Compiled Code)
at java.awt.Window.dispatchEventImpl(Window.java, Compiled Code)
at java.awt.Component.dispatchEvent(Component.java, Compiled Code)
at java.awt.EventQueue.dispatchEvent(EventQueue.java, Compiled Code)
at java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java, Compiled Code)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:92)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:83)
Thanx in advance
Bye
Frank Carver
Sheriff

Joined: Jan 07, 1999
Posts: 6920
This is really more appropriate to the Weblogic Servers forum, and thus more likely to get an answer there. So I've moved it.


Read about me at frankcarver.me ~ Raspberry Alpha Omega ~ Frank's Punchbarrel Blog
Rishi Kant
Greenhorn

Joined: Apr 18, 2000
Posts: 18
Hi,
One way of getting rid of assertion error is to start the deployer tool from the location where your class files are stored.For example,if you have a directory structure c:\development\classes\com\xxxx\reports and you have coded your package as com.xxxx.reports,then open the DOS prompt,go to c:\development\classes and type ejbdeployer.This should start the deployer tool if classpath is ok and you should not get the error.
Hope this helps!
 
 
subject: Problem while using Deployer tool
 
Similar Threads
Problem while using Deployer tool
JTable Help URGENT ! !
Some Help will do good !!!
How to read a txt file with space
Jtable boolean checkboxes