aspose file tools*
The moose likes BEA/Weblogic and the fly likes strange error on deploying bmp Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "strange error on deploying bmp" Watch "strange error on deploying bmp" New topic
Author

strange error on deploying bmp

Maximilian Trenks
Ranch Hand

Joined: Jul 22, 2002
Posts: 104
hello,
today when I tried to deploy my BMP entity bean the following error occured (taken from WLserver 6.1 sp4 weblogic.log)
####<12.07.2002 01:30:06 CEST> <Info> <EJB> <maxwell> <myserver> <ExecuteThread: '0' for queue: '__weblogic_admin_html_queue'> <system> <> <010058> <The EJB deployment named: PersonBMP.jar is being recompiled within the WebLogic Server. Please consult the server logs if there are any errors. It is also possible to run weblogic.ejbc as a stand-alone tool to generate the required classes.>
####<12.07.2002 01:30:12 CEST> <Error> <J2EE> <maxwell> <myserver> <ExecuteThread: '0' for queue: '__weblogic_admin_html_queue'> <system> <> <160001> <Error deploying application PersonBMP:
Unable to deploy EJB: PersonBMP.jar from PersonBMP.jar:

Compiler failed executable.exec(java.lang.String[C:\bea\jdk131\bin\javac.exe, -nowarn, -classpath, C:\bea\wlserver6.1\tmp_ejbmaxwell7001\xrdk5aupqsuj;C:\bea\wlserver6.1\.\config\mydomain\applications\.wlnotdelete\PersonBMP3463.jar;C:\bea\jdk131\jre\lib\rt.jar;C:\bea\jdk131\jre\lib\i18n.jar;C:\bea\jdk131\jre\lib\sunrsasign.jar;C:\bea\jdk131\jre\classes;.;.\lib\weblogic_sp.jar;.\lib\weblogic.jar, -d, C:\bea\wlserver6.1\tmp_ejbmaxwell7001\xrdk5aupqsuj, C:\bea\wlserver6.1\tmp_ejbmaxwell7001\xrdk5aupqsuj\*.java])
at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:304)
at weblogic.ejb20.deployer.Deployer.runEJBC(Deployer.java:307)
at weblogic.ejb20.deployer.Deployer.compileEJB(Deployer.java:714)
at weblogic.ejb20.deployer.Deployer.deploy(Deployer.java:895)
at weblogic.j2ee.EJBComponent.deploy(EJBComponent.java:33)
at weblogic.j2ee.Application.addComponent(Application.java:174)
at weblogic.j2ee.J2EEService.addDeployment(J2EEService.java:117)
at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:364)
at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:150)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:636)
at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:621)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:374)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1525)
at weblogic.management.internal.ConfigurationMBeanImpl.updateConfigMBeans(ConfigurationMBeanImpl.java:507)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:376)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1525)
at weblogic.management.internal.DynamicMBeanImpl.addDeployment(DynamicMBeanImpl.java:997)
at weblogic.management.internal.DynamicMBeanImpl.addDeployment(DynamicMBeanImpl.java:984)
at weblogic.management.internal.DynamicMBeanImpl.add(DynamicMBeanImpl.java:969)
at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:648)
at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:621)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:374)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1525)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
at $Proxy88.addTarget(Unknown Source)
at weblogic.management.mbeans.custom.ApplicationManager.autoDeploy(ApplicationManager.java:930)
at weblogic.management.mbeans.custom.ApplicationManager.addApplication(ApplicationManager.java:1039)
at weblogic.management.mbeans.custom.ApplicationManager.addApplication(ApplicationManager.java:954)
at weblogic.management.mbeans.custom.ApplicationManager.poll(ApplicationManager.java:851)
at weblogic.management.mbeans.custom.ApplicationManager.poll(ApplicationManager.java:781)
at weblogic.management.mbeans.custom.ApplicationManager.update(ApplicationManager.java:210)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:636)
at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:621)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:374)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1525)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
at $Proxy5.update(Unknown Source)
at weblogic.management.console.webapp._domain.__upload_app._jspService(__upload_app.java:150)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:262)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:198)
at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:250)
at weblogic.servlet.jsp.PageContextImpl.forward(PageContextImpl.java:112)
at weblogic.management.console.actions.ForwardAction.perform(ForwardAction.java:35)
at weblogic.management.console.actions.internal.ActionServlet.doAction(ActionServlet.java:171)
at weblogic.management.console.actions.internal.ActionServlet.doPost(ActionServlet.java:85)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:262)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:198)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2637)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2359)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
This error leaves me absolutely clueless.
I tried server and PC restart, nothing helped.
Can you help me here ?


Student of Business Informatics<br />Kepler University Linz, Austria
Chris Mathews
Ranch Hand

Joined: Jul 18, 2001
Posts: 2712
These types of errors in WebLogic are a pain because the causes are not at all obvious. There can actually be many causes for a Compiler failed executable.exec error.
Doublecheck the following:
  • Make should JAVA_HOME\bin is on WebLogic's PATH.
  • Make sure any classes that PersonBMP uses are either packaged in the ejb-jar or are available on WebLogic's CLASSPATH.
  • Compile the PersonBMP ejb-jar outside of WebLogic directly with the ejbc tool. See this document for more information: ejbc utility.
  • Last resort, follow Aaron's advice here and delete all WebLogic temp files. Sometimes WebLogic just gets whacked out.


  • That's all I can think of right now...
    [ February 26, 2003: Message edited by: Chris Mathews ]
    Maximilian Trenks
    Ranch Hand

    Joined: Jul 22, 2002
    Posts: 104
    where are those temporary files located ?
    Maximilian Trenks
    Ranch Hand

    Joined: Jul 22, 2002
    Posts: 104
    sorry, it is too early in the morning
    my brain was still sleepy ;-)
    of course arron mentioned the directories ...
    Maximilian Trenks
    Ranch Hand

    Joined: Jul 22, 2002
    Posts: 104
    it worked out fine with using ejbc
    actually i find deploying via command line now better. i wrote myself a nice bat file which does all i need :-)
    maybe someday i switch to ant, when i have time to learn it.
     
    jQuery in Action, 2nd edition
     
    subject: strange error on deploying bmp