• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

Problem while deploying

 
Ranch Hand
Posts: 362
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi ,
I am trying to generate the EJB Jar file using Jbuilder4.0
Jbuilder opens the deployer tool and the deployer tool gives the following error

java.lang.IllegalArgumentException: Listener null is not of type interface java.awt.event.ActionListener
at javax.swing.event.EventListenerList.remove(Compiled Code)
at javax.swing.JComboBox.removeActionListener(JComboBox.java:574)
at weblogic.ejb.ui.common.TargettedIconField.setMap(TargettedIconField.java:109)
at weblogic.ejb.ui.common.IconField.<init>(IconField.java:34)
at weblogic.ejb.ui.common.TargettedIconField.<init>(TargettedIconField.java:36)
at weblogic.ejb.ui.common.TargettedIconField.<init>(TargettedIconField.java:54)
at weblogic.ejb.ui.deployer.DeployerIconField.<init>(DeployerIconField.java:34)
at weblogic.ejb.ui.customizers.BeanSummaryPanel.<init>(BeanSummaryPanel.java:128)
at weblogic.ejb.ui.customizers.BaseBeanPanel.<init>(BaseBeanPanel.java:65)
at weblogic.ejb.ui.customizers.BeanTreeRoot.<init>(BeanTreeRoot.java:91)
at weblogic.ejb.ui.deployer.BeansNode.<init>(Compiled Code)
at weblogic.ejb.ui.deployer.AbstractEJBJarProjectNode.<init>(AbstractEJBJarProjectNode.java:86)
at weblogic.ejb.ui.deployer.DeployerProjectNode.<init>(DeployerProjectNode.java:23)
at weblogic.ejb.ui.deployer.DeployerProjectRootNode.load(DeployerProjectRootNode.java:126)
at weblogic.ejb.ui.deployer.DeployerProjectRootNode.load(DeployerProjectRootNode.java:101)
at weblogic.ejb.ui.deployer.ProjectLoaderWorker$LoaderThread.run(Compiled Code)
Pl help me where am going wrong
Thanx in advance

 
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello,
You can try deployer Tool directly from command line by "java weblogic.EJBDeloyerTool". I don't know if JBuilder set up classpath correctly for running Deployer Tool.
Naichen
 
Mary Cole
Ranch Hand
Posts: 362
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi ,
I am getting this strange error when I deploy the bean through JBuilder4.0 in weblogic 5.1

The message on deployer tool is as follows
===============================================================

Saved 'ship'
'ship' is EJB1.1-compliant.
Compiler failed executable.exec([Ljava.lang.String;[D:/jdk1.3/bin/javac.exe, -classpath, D:\JBuilder4\jdk1.3\jre\lib\rt.jar;D:\JBuilder4\jdk1.3\jre\lib\i18n.jar;D:\JBuilder4\jdk1.3\jre\lib\sunrsasign.jar;D:\JBuilder4\jdk1.3\jre\classes;D:/weblogic/classes;D:/weblogic/l icense;D:/weblogic/lib/weblogicaux.jar;D:/weblogic/myserver/serverclasses;;D:\weblogic\ship\ship.jar;D:\weblogic\lib\persistence\WebLogic_RDBMS.jar;C:\WINNT\Profiles\Administrator\ .ejbdeployer\deployer-projects\ship\ejb-jar;;C:\WINNT\Profiles\Administrator\.ejbdeployer\deployer-projects\ship\ejb-jar;;C:\WINNT\Profiles\Administrator\.ejbdeployer\deployer-proj ects\ship\ejb-jar, -d, C:\WINNT\Profiles\Administrator\.ejbdeployer\deployer-projects\ship\ejb-jar, C:\WINNT\Profiles\Administrator\.ejbdeployer\deployer-projects\ship\ejb-jar\ship\shipBeanHomeImpl.java, C:\WINNT\Profiles\Administrator\.ejbdeployer\deployer-projects\ship\ejb-jar\ship\shipBeanEOImpl.java, C:\WINNT\Profiles\Administrator\.ejbdeployer\deployer-projects\ship\ejb-jar\ship\shipPS.java])
================================================================

pl tell me where am i going wrong and any additional settings I have to make in Jbuilder

[This message has been edited by Mary, Cole (edited February 23, 2001).]
 
Naichen Liu
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I never used JBuilder to do EJB deployment, but in the error message, for some jar files' classpath, "/" is separator, for others, "\" is . I don't know if you have edited message, I guess maybe you can try to find where to set classpath, then change all "/" to "\".
 
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I used to get this error in weblogic ejb deployer tool when the compiler was not set properly...it should be set to jdk javac like c:\jdk1.2\bin\javac.exe.
 
It's a tiny ad. At least, that's what she said.
free, earth-friendly heat - a kickstarter for putting coin in your pocket while saving the earth
https://coderanch.com/t/751654/free-earth-friendly-heat-kickstarter
reply
    Bookmark Topic Watch Topic
  • New Topic