Deploying beans w/o restarting weblogic. (NOT EJB)
Hi
I want to know, if it is possible to deploy( or changed bean) simple java
beans without restarting weblogic. whenever I do any small change, I need to
restart my weblogic. Can't we something similiar to hot deployment.
I am having this problem with WL6.0.
Whenever I redeploy a .war file I always get a "ClassNotFoundException".
The only way I know of to resolve this is to stop and restart the server.
The following are the steps I use to deploy:
1) Rebuild the .war file with the changed files
2) Copy the .war file to the config/<domain>/applications directory
This, if I understand it correctly, should automatically redeploy the
changes. I have the "AutoUpdateInterval" set to 3000 ms and enabled in the
Console. I also changed the logging to show messages at the Info level.
When the copy is complete, I see messages that the application is
undeployed, but redeployment messages never follow. If I go to the console,
I see that the application is marked undeployed. When I check "Deploy"
and click Apply, I get an error that the file could not be found. If I then
undeploy and then deploy the application it deploys fine.
This is when I start getting the ClassNotFoundException.
I don't think this is how it is supposed to be working. Is this a known
problem, or do I have something configured wrong.
Thanks,
Maury
"Ashish Jain" <[email protected]> wrote in message
news:[email protected]...
I am using ver5.1, sp6..
and i am not deploying them in any particular jar etc etc.
In my one of my JSP, i am including them using useBean jsp tag.
i know, i can't reload if they r in classpath, but if i put in different
path, ofcourse i get NoClassDefFoundError error.
thanks
ashish
"Rob Woollen" <[email protected]> wrote in message
news:[email protected]...
Yes this is possible.
You'll need to tell me a little more about your environment. What
version of WLS are you using?
Also, how do you deploy these classes? Are they part of a WAR, EJB-JAR
or stand-alone.
You will not be able to redeploy anything that is in the $CLASSPATH or
the weblogic.class.path (in 4.5.x or 5.1).
-- Rob
Ashish Jain wrote:
I mean, Simple Java Bean, (Utility Class)
To explain more, I am using MVC arctitecture, and while developing
controller class, whenever i do a small change, to reflect those
changes, i
need to restart weblogic. And I am deploying more than 100 EJBs, u can
imagine the time i have to wait to see even a small change.
thanks
ashish
"Kumar Allamraju" <[email protected]> wrote in message
news:[email protected]...
You mean EJB or "Simple JAVA Bean" used as a utility class forservlets/jsp's
Kumar
Ashish Jain wrote:
Hi
I want to know, if it is possible to deploy( or changed bean)
simple
java
beans without restarting weblogic. whenever I do any small change,
I
need to
restart my weblogic. Can't we something similiar to hot
deployment.
>>>>
>>
Coming Soon: Building J2EE Applications & BEA WebLogic Server
by Michael Girdley, Rob Woollen, and Sandra Emerson
http://learnweblogic.com
Similar Messages
-
How to avoid restart weblogic after I modify EJB implementation class?
I am sure I redeploy my application after I modify EJB implementation class. It
is unacceptable to restart weblogic server if I changed some EJB . Is there any
way to avoid this?
Thanks!I would open a case with BEA support. I would take a look at it, but I'm going
on vacation :(
pat
"CottonXu" <[email protected]> wrote:
>
My WLS version is 7.0 and I use weblogic console to redeploy the entire
application.
I am sure that EJBs are not in classpath.
What should I do ?
"Pat Bumpus" <[email protected]> wrote:
Hi,
I haven't seen this behavior. My EJBs seem to redeploy and pick upthe
EJB bean
changes. Make sure that your EJB is not in the system classpath that
could cause
this problem.
What version of WLS?
How are you deploying the EJB?
pat
"CottonXu" <[email protected]> wrote:
I am sure I redeploy my application after I modify EJB implementation
class. It
is unacceptable to restart weblogic server if I changed some EJB .
Is
there any
way to avoid this?
Thanks! -
Deploying, ReDeploying JAR file to WebLogic EM without restarting the serve
Hi
Can any one help me how to re-deploy .jar file on weblogic EM with steps.
Deploying, ReDeploying JAR file to WebLogic EM without restarting the server
Appriciate if you provide information in steps with screenshot.
Note: Not in weblogic 11g console.
Thanks,
Phanihttp://download.oracle.com/docs/cd/E14571_01/core.1111/e10105/deploy.htm#BIHIIEIA
-
Weblogic not finding javax.naming classes when instantiating bean
Hello,
I am developing a JSP which contains a JavaBean.
This bean is a wrapper for a session EJB, the getProperty() methods in
the bean call methods on the EJB's remote interface.
I have tested this bean as a stand alone application by adding a
main(String[] args) method to it and it works.
However, when adding the bean to the JSP, the JSP does not show in the
browser, I get a n internal server error 500 instead.
It seems that Weblogic is not finding the javax.naming.NamingException
class when instantiating the bean.
When looking at the weblogic log, I see the following stack trace:
Fri Aug 18 15:12:06 EDT 2000:<E> <ServletContext-General> Servlet failed
with Exception
java.lang.NoClassDefFoundError: javax/naming/NamingException
at java.lang.ClassLoader.resolveClass0(Native Method)
at java.lang.ClassLoader.resolveClass(ClassLoader.java:579)
at
weblogic.utils.classloaders.GenericClassLoader.reallyLoadClass(GenericClassLoader.java,
Compiled Code)
at
weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java,
Compiled Code)
at
weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java,
Compiled Code)
at java.beans.Beans.instantiate(Beans.java:194)
at java.beans.Beans.instantiate(Beans.java:55)
at weblogic.servlet.jsp.JspLexer.processBeanTag(JspLexer.java:1138)
at weblogic.servlet.jsp.JspLexer.mXML_OPEN_USEBEAN(JspLexer.java,
Compiled Code)
at weblogic.servlet.jsp.JspLexer.mXML_THING(JspLexer.java:1554)
at weblogic.servlet.jsp.JspLexer.mTOKEN(JspLexer.java, Compiled Code)
at weblogic.servlet.jsp.JspLexer.nextToken(JspLexer.java, Compiled
Code)
at weblogic.servlet.jsp.JspLexer.parse(JspLexer.java, Compiled Code)
at weblogic.servlet.jsp.JspParser.doit(JspParser.java, Compiled Code)
at weblogic.servlet.jsp.JspParser.parse(JspParser.java:116)
at weblogic.servlet.jsp.Jsp2Java.outputs(Jsp2Java.java:97)
at weblogic.utils.compiler.CodeGenerator.generate(CodeGenerator.java,
Compiled Code)
at weblogic.servlet.jsp.JspStub.compilePage(JspStub.java, Compiled
Code)
at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:173)
at weblogic.servlet.jsp.JspStub.checkForReload(JspStub.java:92)
at
weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:191)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:118)
at
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:744)
at
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:692)
at
weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContextManager.java:251)
at
weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:363)
at
weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:263)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled Code)
Any idea on how to fix this?
Thanks for any help,
David
yes, weblogicaux.jar is definitely in the weblogic.class.path. i've even tried starting the server from the command line, declaring the classes there. my "trade.xml" document has the URI set as "http://localhost:7001/BizTalkServer". when i enter this on the "BizClient.jsp" form, i get the error discussed below. however, if i enter "http://localhost:7001", even though this is not the explicit location of the BizTalk server, the server returns:
Thank you! Your trade has been recieved. A BizTalk document has been sent to http://localhost:7001/ with the following information: etc...............
So there appears to be something wrong with the "/BizTalkServer" setup on my machine. Any ideas?
Kumar Allamraju <[email protected]> wrote:
>Make sure weblogicaux.jar is in your weblogic.class.path
>
>i.e -Dweblogic.class.path=$WL_HOME/lib/weblogicaux.jar:$WL_HOME/classes etc etc...
>
>--
>Kumar
>
>Mike Bachers wrote:
>
>> I'm currently struggling with a similar problem, although as a newcomer to WL I'm having some trouble figuring it out. I'm trying to run the BizTalk server example (http://www.weblogic.com/docs51/examples/xml/biztalk/index.html) under Windows 2000 and JDK1.2.2. I'm able to proceed without problems until I submit the form on the "BizClient.jsp" page. At this point, I receive this error:
>> ------------------------------------------------
>> There was a problem connecting to the BizTalk server. Exception caught: java.io.FileNotFoundException: Response: '500' for url: 'http://localhost:7001/BizTalkServer'
>> ------------------------------------------------
>>
>> At the same time, the WL console spits this out:
>> ------------------------------------------------
>> java.lang.NoClassDefFoundError: javax/naming/NamingException
>> ....
>> ------------------------------------------------
>>
>> I know this class is in the weblogicaux.jar, and it's included in my classpath. I think David's fix (see below) is getting at my problem, too, but I'm not sure. Anyone relate?
>>
>> "David R. Heffelfinger" <[email protected]> wrote:
>> >Figured it out. The problem was that the beans were in a directory
>> >in the JAVA_CLASSPATH in weblogic.properties. Moved the directory to
>> >WEBLOGIC_CLASSPATH and the problem went away.
>> >
>> >David
>> >
>> >"David R. Heffelfinger" wrote:
>> >
>> >> Hello,
>> >>
>> >> I am developing a JSP which contains a JavaBean.
>> >> This bean is a wrapper for a session EJB, the getProperty() methods in
>> >> the bean call methods on the EJB's remote interface.
>> >>
>> >> I have tested this bean as a stand alone application by adding a
>> >> main(String[] args) method to it and it works.
>> >>
>> >> However, when adding the bean to the JSP, the JSP does not show in the
>> >> browser, I get a n internal server error 500 instead.
>> >> It seems that Weblogic is not finding the javax.naming.NamingException
>> >> class when instantiating the bean.
>> >>
>> >> When looking at the weblogic log, I see the following stack trace:
>> >>
>> >> Fri Aug 18 15:12:06 EDT 2000:<E> <ServletContext-General> Servlet failed
>> >> with Exception
>> >>
>> >> java.lang.NoClassDefFoundError: javax/naming/NamingException
>> >>
>> >> at java.lang.ClassLoader.resolveClass0(Native Method)
>> >>
>> >> at java.lang.ClassLoader.resolveClass(ClassLoader.java:579)
>> >>
>> >> at
>> >> weblogic.utils.classloaders.GenericClassLoader.reallyLoadClass(GenericClassLoader.java,
>> >> Compiled Code)
>> >>
>> >> at
>> >> weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java,
>> >> Compiled Code)
>> >>
>> >> at
>> >> weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java,
>> >> Compiled Code)
>> >>
>> >> at java.beans.Beans.instantiate(Beans.java:194)
>> >>
>> >> at java.beans.Beans.instantiate(Beans.java:55)
>> >>
>> >> at weblogic.servlet.jsp.JspLexer.processBeanTag(JspLexer.java:1138)
>> >>
>> >> at weblogic.servlet.jsp.JspLexer.mXML_OPEN_USEBEAN(JspLexer.java,
>> >> Compiled Code)
>> >>
>> >> at weblogic.servlet.jsp.JspLexer.mXML_THING(JspLexer.java:1554)
>> >>
>> >> at weblogic.servlet.jsp.JspLexer.mTOKEN(JspLexer.java, Compiled Code)
>> >>
>> >> at weblogic.servlet.jsp.JspLexer.nextToken(JspLexer.java, Compiled
>> >> Code)
>> >>
>> >> at weblogic.servlet.jsp.JspLexer.parse(JspLexer.java, Compiled Code)
>> >>
>> >> at weblogic.servlet.jsp.JspParser.doit(JspParser.java, Compiled Code)
>> >>
>> >> at weblogic.servlet.jsp.JspParser.parse(JspParser.java:116)
>> >>
>> >> at weblogic.servlet.jsp.Jsp2Java.outputs(Jsp2Java.java:97)
>> >>
>> >> at weblogic.utils.compiler.CodeGenerator.generate(CodeGenerator.java,
>> >> Compiled Code)
>> >>
>> >> at weblogic.servlet.jsp.JspStub.compilePage(JspStub.java, Compiled
>> >> Code)
>> >>
>> >> at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:173)
>> >>
>> >> at weblogic.servlet.jsp.JspStub.checkForReload(JspStub.java:92)
>> >>
>> >> at
>> >> weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:191)
>> >>
>> >> at
>> >> weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:118)
>> >>
>> >> at
>> >> weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:744)
>> >>
>> >> at
>> >> weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:692)
>> >>
>> >> at
>> >> weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContextManager.java:251)
>> >>
>> >> at
>> >> weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:363)
>> >>
>> >> at
>> >> weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:263)
>> >>
>> >> at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled Code)
>> >>
>> >> Any idea on how to fix this?
>> >>
>> >> Thanks for any help,
>> >> David
>> >
>
-
Can Oracle SQL Flavor be used When BC4J is deployed in WebLogic as EJB?
Hi,
Does anybodys know if Oracle SQL Flavor can be used When BC4J is deployed in WebLogic as EJB?
We succeeded in deploying BC4J to WebLogic 7.0 & 6.0, but we had to select the SQL92 option for SQL Flavor when the first BC package is created in a project. Selecting Oracle option for SQL Flavor will cause EJB to fail, and client get a ClassCastException.
We still want to use Oracle SQL, is it possible to use it with WebLogic?
Thanks.We figured out that Oracle SQL Flavor can be used with WebLogic, but only with DB connections created from JDBC URL, not work with DB connections from WebLogic connection pool.
-
Deploying beans in weblogic 6.0
Hello,
Can anyone tell me how to deploy beans, servlets etc in 6.0. I have done
everything in 5.1. But we are not able to find out how everything is working
on 6.0. If someone can give me a URL which mentions all these, I will be
much grateful.
Suresh.http://e-docs.bea.com/wls/docs60/adminguide/appman.html
"Suresh Wilson." wrote:
Hello,
Can anyone tell me how to deploy beans, servlets etc in 6.0. I have done
everything in 5.1. But we are not able to find out how everything is working
on 6.0. If someone can give me a URL which mentions all these, I will be
much grateful.
Suresh. -
As I mentioned in subject, I am just wondering Whether the java component (Not
ejb, not servlet) can be deployed in App Server and get the services provided
by App Server or not?Nevermind folks - I got it to work. All my configuration was correct; I had other issues with the ejb-jar file that the verifier informed me of (my previous deployments were with the verifier turned-off).
-
Deploy only WAR File to Weblogic and not EAR File
Hi,
I want know if exist a way to only deploy de WAR file to Weblogic?Hi,
Below is the command to deploy ear file.
java weblogic.Deployer -adminurl t3://<adminserver>:port -username admin -password password -deploy -stage -source <ear file name for example vas.war> -name <name of the application, this value is showed in console, For ex 'vas'> -targets <Managed server separated by comma>
Thanks.
Vijay Bheemineni. -
I am using weblogic510sp8..
and try to solve memory leaks problems with JProbe..
However, I can not start weblogic properly from JProbe...
Error:
Thu Mar 21 16:19:17 EST 2002:<E> <EJB> Could not deploy: 'myserver/query.jar':
file is not a valid jar file, or d
contain a valid bean
weblogic.ejb.common.DeploymentException: DeploymentException opening JAR file
myserver/query.jar; nested exceptio
weblogic.ejb.deployment.JarLoadException - with nested exception:
[weblogic.ejb.common.DeploymentException: Problem creating deployment myserver/query.jar
from myserver/query.jar;
java.lang.NoClassDefFoundError]
at java.lang.Throwable.<init>(Compiled Code)
at java.lang.Exception.<init>(Compiled Code)
at java.io.IOException.<init>(Compiled Code)
at java.rmi.RemoteException.<init>(RemoteException.java:33)
at weblogic.ejb.common.DeploymentException.<init>(DeploymentException.java:20)
at weblogic.ejb.internal.EJBManagerImpl.deploy(EJBManagerImpl.java:309)
at weblogic.ejb.internal.EJBManagerImpl.deployBeans(Compiled Code)
at weblogic.ejb.internal.EJBManagerImpl.<init>(EJBManagerImpl.java:239)
at weblogic.t3.srvr.T3Srvr.start(Compiled Code)
at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:827)
at weblogic.Server.startServerDynamically(Server.java:99)
at weblogic.Server.main(Server.java:65)
at weblogic.Server.main(Server.java:55)
Did anybody see it? What should I try to solve this?
I know I have to have weblogic510sp8boot.jar and weblogic510sp8.jar in JAVA_PATH
- I do not have them... still does not workThe caller(ejb or web component) and callee(ejb) components must either be packaged in the same ejb-jar OR must be in two modules that are packaged within the same .ear.
Kenneth Saks
J2EE SDK Team
SUN Microsystems -
I am getting this exception in one of my deployed beans , and I am not able to
figure out as to what the problem is . Help will be highly apreciated.
Mahendra
java.rmi.RemoteException: java.lang.NoSuchMethodError
at com.crossdomain.info.ejb.EmployeeDataBeanHomeImpl.preFinderInvoke(EmployeeDataBeanHomeImpl.java:187)
at com.crossdomain.info.ejb.EmployeeDataBeanHomeImpl.findByPrimaryKey(EmployeeDataBeanHomeImpl.java:74)
at com.crossdomain.info.ejb.EmployeeDataBeanHomeImpl_ServiceStub.findByPrimaryKey(EmployeeDataBeanHomeImpl_ServiceStub.java:147)
at com.crossdomain.info.ejb.EmployeeBean.ejbCreate(EmployeeBean.java:119)
at com.crossdomain.info.ejb.EmployeeBeanEOImpl.create(EmployeeBeanEOImpl.java:55)
at com.crossdomain.info.ejb.EmployeeBeanHomeImpl.create(EmployeeBeanHomeImpl.java:20)
at com.crossdomain.info.ejb.EmployeeBeanHomeImpl_ServiceStub.create(EmployeeBeanHomeImpl_ServiceStub.java:113)
at com.crossdomain.um.ejb.UserBean.validate(UserBean.java:171)
at com.crossdomain.um.ejb.UserBeanEOImpl.validate(UserBeanEOImpl.java:437)
at com.crossdomain.um.ejb.UserBeanEOImpl_WLSkel.invoke(UserBeanEOImpl_WLSkel.java:320)
at weblogic.rmi.extensions.BasicServerObjectAdapter.invoke(BasicServerObjectAdapter.java:347)
at weblogic.rmi.extensions.BasicRequestHandler.handleRequest(BasicRequestHandler.java:86)
at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:15)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:129)
; nested exception is:
java.lang.NoSuchMethodError:
Start server side stack trace:
java.lang.NoSuchMethodError
at com.crossdomain.info.ejb.EmployeeDataBeanHomeImpl.preFinderInvoke(EmployeeDataBeanHomeImpl.java:187)
at com.crossdomain.info.ejb.EmployeeDataBeanHomeImpl.findByPrimaryKey(EmployeeDataBeanHomeImpl.java:74)
at com.crossdomain.info.ejb.EmployeeDataBeanHomeImpl_ServiceStub.findByPrimaryKey(EmployeeDataBeanHomeImpl_ServiceStub.java:147)
at com.crossdomain.info.ejb.EmployeeBean.ejbCreate(EmployeeBean.java:119)
at com.crossdomain.info.ejb.EmployeeBeanEOImpl.create(EmployeeBeanEOImpl.java:55)
at com.crossdomain.info.ejb.EmployeeBeanHomeImpl.create(EmployeeBeanHomeImpl.java:20)
at com.crossdomain.info.ejb.EmployeeBeanHomeImpl_ServiceStub.create(EmployeeBeanHomeImpl_ServiceStub.java:113)
at com.crossdomain.um.ejb.UserBean.validate(UserBean.java:171)
at com.crossdomain.um.ejb.UserBeanEOImpl.validate(UserBeanEOImpl.java:437)
at com.crossdomain.um.ejb.UserBeanEOImpl_WLSkel.invoke(UserBeanEOImpl_WLSkel.java:320)
at weblogic.rmi.extensions.BasicServerObjectAdapter.invoke(BasicServerObjectAdapter.java:347)
at weblogic.rmi.extensions.BasicRequestHandler.handleRequest(BasicRequestHandler.java:86)
at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:15)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:129)
End server side stack traceHi Mahendra,
Could you show me the code in EmployeeDataBeanHomeImpl.java
at line # 187 and around?
Regards,
Slava Imeshev
"Mahendra" <[email protected]> wrote in message
news:[email protected]...
>
I am getting this exception in one of my deployed beans , and I am notable to
figure out as to what the problem is . Help will be highly apreciated.
Mahendra
java.rmi.RemoteException: java.lang.NoSuchMethodError
atcom.crossdomain.info.ejb.EmployeeDataBeanHomeImpl.preFinderInvoke(EmployeeDa
taBeanHomeImpl.java:187)
atcom.crossdomain.info.ejb.EmployeeDataBeanHomeImpl.findByPrimaryKey(EmployeeD
ataBeanHomeImpl.java:74)
atcom.crossdomain.info.ejb.EmployeeDataBeanHomeImpl_ServiceStub.findByPrimaryK
ey(EmployeeDataBeanHomeImpl_ServiceStub.java:147)
at com.crossdomain.info.ejb.EmployeeBean.ejbCreate(EmployeeBean.java:119)
atcom.crossdomain.info.ejb.EmployeeBeanEOImpl.create(EmployeeBeanEOImpl.java:5
5)
atcom.crossdomain.info.ejb.EmployeeBeanHomeImpl.create(EmployeeBeanHomeImpl.ja
va:20)
atcom.crossdomain.info.ejb.EmployeeBeanHomeImpl_ServiceStub.create(EmployeeBea
nHomeImpl_ServiceStub.java:113)
at com.crossdomain.um.ejb.UserBean.validate(UserBean.java:171)
at com.crossdomain.um.ejb.UserBeanEOImpl.validate(UserBeanEOImpl.java:437)
atcom.crossdomain.um.ejb.UserBeanEOImpl_WLSkel.invoke(UserBeanEOImpl_WLSkel.ja
va:320)
atweblogic.rmi.extensions.BasicServerObjectAdapter.invoke(BasicServerObjectAda
pter.java:347)
atweblogic.rmi.extensions.BasicRequestHandler.handleRequest(BasicRequestHandle
r.java:86)
atweblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:1
5)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:129)
; nested exception is:
java.lang.NoSuchMethodError:
Start server side stack trace:
java.lang.NoSuchMethodError
atcom.crossdomain.info.ejb.EmployeeDataBeanHomeImpl.preFinderInvoke(EmployeeDa
taBeanHomeImpl.java:187)
atcom.crossdomain.info.ejb.EmployeeDataBeanHomeImpl.findByPrimaryKey(EmployeeD
ataBeanHomeImpl.java:74)
atcom.crossdomain.info.ejb.EmployeeDataBeanHomeImpl_ServiceStub.findByPrimaryK
ey(EmployeeDataBeanHomeImpl_ServiceStub.java:147)
at com.crossdomain.info.ejb.EmployeeBean.ejbCreate(EmployeeBean.java:119)
atcom.crossdomain.info.ejb.EmployeeBeanEOImpl.create(EmployeeBeanEOImpl.java:5
5)
atcom.crossdomain.info.ejb.EmployeeBeanHomeImpl.create(EmployeeBeanHomeImpl.ja
va:20)
atcom.crossdomain.info.ejb.EmployeeBeanHomeImpl_ServiceStub.create(EmployeeBea
nHomeImpl_ServiceStub.java:113)
at com.crossdomain.um.ejb.UserBean.validate(UserBean.java:171)
at com.crossdomain.um.ejb.UserBeanEOImpl.validate(UserBeanEOImpl.java:437)
atcom.crossdomain.um.ejb.UserBeanEOImpl_WLSkel.invoke(UserBeanEOImpl_WLSkel.ja
va:320)
atweblogic.rmi.extensions.BasicServerObjectAdapter.invoke(BasicServerObjectAda
pter.java:347)
atweblogic.rmi.extensions.BasicRequestHandler.handleRequest(BasicRequestHandle
r.java:86)
atweblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:1
5)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:129)
End server side stack trace -
Ear deploy failure with webservice in weblogic 9.2 build from weblogic 8.1
I get the below exception when I try to deploy the ear file that contains the webservice modules in weblogic 9.2. The ear was working fine in weblogic 8.1 which is build from this version. As part of migrating to the 9.2 I tried to deploy the ear that is build from 8.1. I am struct at this point. Pls help.
####<17-Dec-2008 21:03:35 o'clock GMT> <Error> <Deployer> <LDNCTIWA046436> <BatchServer> <[STANDBY] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1229547815831> <BEA-149205> <Failed to initialize the application 'exwebservices' due to error java.lang.NoClassDefFoundError: com/bea/wlw/runtime/core/bean/SLSBContainerBean.
java.lang.NoClassDefFoundError: com/bea/wlw/runtime/core/bean/SLSBContainerBean
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
at weblogic.utils.classloaders.GenericClassLoader.defineClass(GenericClassLoader.java:355)
at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:294)
at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:262)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:161)
at weblogic.ejb.container.deployer.EJBModule.setupEJBToImplClassDependencies(EJBModule.java:1415)
at weblogic.ejb.container.deployer.EJBModule.prepare(EJBModule.java:326)
at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93)
at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:360)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:56)
at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:46)
at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:615)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:191)
at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:147)
at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:61)
at weblogic.deploy.internal.targetserver.AppDeployment.prepare(AppDeployment.java:137)
at weblogic.management.deploy.internal.DeploymentAdapter$1.doPrepare(DeploymentAdapter.java:38)
at weblogic.management.deploy.internal.DeploymentAdapter.prepare(DeploymentAdapter.java:177)
at weblogic.management.deploy.internal.AppTransition$1.transitionApp(AppTransition.java:21)
at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:233)
at weblogic.management.deploy.internal.ConfiguredDeployments.prepare(ConfiguredDeployments.java:165)
at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:122)
at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:173)
at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:89)
at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
at weblogic.work.ServerWorkManagerImpl$WorkAdapterImpl.run(ServerWorkManagerImpl.java:518)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)Thanks David and weblogicRocks..
David,
I have installed the workshop also during installation. Actually I have searched for the class which is missing from the weblogic 9.2 installation folder. The missing class is is in different package path in weblogic 9.2 (knex81.jar) as shown below. Also, this class is generated by workshop while building in 8.1. So, I think I have to rebuild the work file in 9.2 to avoid referring to this class.
Missing Class location (weblogic 8.1) (knex.jar): com/bea/wlw/runtime/core/bean/SLSBContainerBean
Missing Class location (weblogic 9.2) (knex81.jar): com/bea/wlw/knex/runtime/core/bean/SLSBContainerBean
weblogicRocks,
I saw in the weblogic site that the webservices built from 8.1 will still work in 9.2 with out the need for changing the code. Pls, let me know whether I need to rebuild them on 9.2. If yes, I have used .jws files(sample class definition below) for my webservices and I came to know that in 9.2 new jws annotations are added, do I need to change my source code to add any new annotations so as to work in 9.2? Also, I have used wlwBuildTask using Ant to build the code in 8.1 and this task is not available in 9.2. Let me know what all I need to change for webservices created from workshop to migrate to 9.2. I am really struggling in resolving the issues as it is very urgent for me. Appreciate you quick response.
Below is my .jws webserice class definition.
public class MyWebService implements com.bea.jws.WebService
private String reqImpl;
* @common:operation
* @jws:conversation phase="none"
public String submitRequest(String var)
<Method Logic>
} -
Deployment changes from websphere to weblogic
Hi gurus,
I am trying to deploy a sample application written for websphere V5.1 to weblogic8.1, what are the changes i need to do to the code and as well deployment descriptors.
I have lot of CMPs and a common ejb-jar.xml, ibm-ejb-jar-bnd.xmi and ibm-ejb-jar-ext.xmi. How can i convert these into weblogic's ejb-jar.xml ( i guess it is same for both), weblogic-cmp-rdbms-jar.xml and weblogic-ejb-jar.xml.
And for session beans and jsps what are the changes i need to focus...and any at code level also ?
It is highly appreciated if anyone could show some light on this...thanks in advance.
cheers,
kuruhiya,
thanks for the reply, i figured that "ibm-ejb-jar-bnd.xmi" is used for JNDI binding just like "weblogic-ejb-jar.xml" does, where as what is this xmi will do "ibm-ejb-jar-ext.xmi". Yes, am really glad am not using EJB1.1 spec of old websphere. What paremeters from the Webshpere's CMP i can provide in weblogic-cmp-rdbms-jar.xml.
thanks,
kuru
ibm-ejb-jar-ext.xmi :
<?xml version="1.0" encoding="UTF-8"?>
<ejbext:EJBJarExtension xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:ejbext="ejbext.xmi" xmlns:ejb="ejb.xmi" xmi:id="EJBJarExtension_1047304095329">
<ejbExtensions xmi:type="ejbext:ContainerManagedEntityExtension" xmi:id="ContainerManagedEntityExtension_1047304095345" name="Accountspayable">
<enterpriseBean xmi:type="ejb:ContainerManagedEntity" href="META-INF/ejb-jar.xml#ContainerManagedEntity_1047304094642"/>
</ejbExtensions>
<ejbExtensions xmi:type="ejbext:ContainerManagedEntityExtension" xmi:id="ContainerManagedEntityExtension_1047304095346" name="Registration">
<enterpriseBean xmi:type="ejb:ContainerManagedEntity" href="META-INF/ejb-jar.xml#ContainerManagedEntity_1047304094704"/>
</ejbExtensions>
<ejbExtensions xmi:type="ejbext:ContainerManagedEntityExtension" xmi:id="ContainerManagedEntityExtension_1047304095347" name="Address">
<enterpriseBean xmi:type="ejb:ContainerManagedEntity" href="META-INF/ejb-jar.xml#ContainerManagedEntity_1047304094767"/>
</ejbExtensions>
<ejbExtensions xmi:type="ejbext:ContainerManagedEntityExtension" xmi:id="ContainerManagedEntityExtension_1047304095348" name="Bid">
<enterpriseBean xmi:type="ejb:ContainerManagedEntity" href="META-INF/ejb-jar.xml#ContainerManagedEntity_1047304094814"/>
</ejbExtensions>
<ejbExtensions xmi:type="ejbext:ContainerManagedEntityExtension" xmi:id="ContainerManagedEntityExtension_1047304095349" name="Onlineitem">
<enterpriseBean xmi:type="ejb:ContainerManagedEntity" href="META-INF/ejb-jar.xml#ContainerManagedEntity_1047304094892"/>
</ejbExtensions>
<ejbExtensions xmi:type="ejbext:ContainerManagedEntityExtension" xmi:id="ContainerManagedEntityExtension_1047304095350" name="Sale">
<enterpriseBean xmi:type="ejb:ContainerManagedEntity" href="META-INF/ejb-jar.xml#ContainerManagedEntity_1047304094939"/>
</ejbExtensions>
<ejbJar href="META-INF/ejb-jar.xml#ejb-jar_ID"/>
</ejbext:EJBJarExtension>
ibm-ejb-jar-bnd.xmi:
<?xml version="1.0" encoding="UTF-8"?>
<ejbbnd:EJBJarBinding xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:ejbbnd="ejbbnd.xmi" xmlns:ejb="ejb.xmi" xmlns:commonbnd="commonbnd.xmi" xmlns:common="common.xmi" xmi:id="EJBJarBinding_1047304095079" currentBackendId="DB2UDBNT_V72_1">
<ejbJar href="META-INF/ejb-jar.xml#ejb-jar_ID"/>
<ejbBindings xmi:id="EnterpriseBeanBinding_1047304095079" jndiName="ejb/com/acme/ejb/AccountspayableLocalHome">
<enterpriseBean xmi:type="ejb:ContainerManagedEntity" href="META-INF/ejb-jar.xml#ContainerManagedEntity_1047304094642"/>
<ejbRefBindings xmi:id="EjbRefBinding_1047304095079" jndiName="ejb/com/acme/ejb/RegistrationLocalHome">
<bindingEjbRef xmi:type="common:EJBLocalRef" href="META-INF/ejb-jar.xml#EJBLocalRef_1047304095079"/>
</ejbRefBindings>
</ejbBindings>
<ejbBindings xmi:id="EnterpriseBeanBinding_1047304095080" jndiName="ejb/com/acme/ejb/RegistrationLocalHome">
<enterpriseBean xmi:type="ejb:ContainerManagedEntity" href="META-INF/ejb-jar.xml#ContainerManagedEntity_1047304094704"/>
<ejbRefBindings xmi:id="EjbRefBinding_1047304095080" jndiName="ejb/com/acme/ejb/AccountspayableLocalHome">
<bindingEjbRef xmi:type="common:EJBLocalRef" href="META-INF/ejb-jar.xml#EJBLocalRef_1047304095080"/>
</ejbRefBindings>
<ejbRefBindings xmi:id="EjbRefBinding_1047304095111" jndiName="ejb/com/acme/ejb/AddressLocalHome">
<bindingEjbRef xmi:type="common:EJBLocalRef" href="META-INF/ejb-jar.xml#EJBLocalRef_1047304095111"/>
</ejbRefBindings>
<ejbRefBindings xmi:id="EjbRefBinding_1047304095142" jndiName="ejb/com/acme/ejb/BidLocalHome">
<bindingEjbRef xmi:type="common:EJBLocalRef" href="META-INF/ejb-jar.xml#EJBLocalRef_1047304095142"/>
</ejbRefBindings>
<ejbRefBindings xmi:id="EjbRefBinding_1047304095189" jndiName="ejb/com/acme/ejb/SaleLocalHome">
<bindingEjbRef xmi:type="common:EJBLocalRef" href="META-INF/ejb-jar.xml#EJBLocalRef_1047304095189"/>
</ejbRefBindings>
</ejbBindings>
<ejbBindings xmi:id="EnterpriseBeanBinding_1047304095220" jndiName="ejb/com/acme/ejb/AddressLocalHome">
<enterpriseBean xmi:type="ejb:ContainerManagedEntity" href="META-INF/ejb-jar.xml#ContainerManagedEntity_1047304094767"/>
<ejbRefBindings xmi:id="EjbRefBinding_1047304095220" jndiName="ejb/com/acme/ejb/RegistrationLocalHome">
<bindingEjbRef xmi:type="common:EJBLocalRef" href="META-INF/ejb-jar.xml#EJBLocalRef_1047304095220"/>
</ejbRefBindings>
</ejbBindings>
<ejbBindings xmi:id="EnterpriseBeanBinding_1047304095221" jndiName="ejb/com/acme/ejb/BidLocalHome">
<enterpriseBean xmi:type="ejb:ContainerManagedEntity" href="META-INF/ejb-jar.xml#ContainerManagedEntity_1047304094814"/>
<ejbRefBindings xmi:id="EjbRefBinding_1047304095221" jndiName="ejb/com/acme/ejb/RegistrationLocalHome">
<bindingEjbRef xmi:type="common:EJBLocalRef" href="META-INF/ejb-jar.xml#EJBLocalRef_1047304095221"/>
</ejbRefBindings>
<ejbRefBindings xmi:id="EjbRefBinding_1047304095283" jndiName="ejb/com/acme/ejb/OnlineitemLocalHome">
<bindingEjbRef xmi:type="common:EJBLocalRef" href="META-INF/ejb-jar.xml#EJBLocalRef_1047304095283"/>
</ejbRefBindings>
</ejbBindings>
<ejbBindings xmi:id="EnterpriseBeanBinding_1047304095298" jndiName="ejb/com/acme/ejb/OnlineitemLocalHome">
<enterpriseBean xmi:type="ejb:ContainerManagedEntity" href="META-INF/ejb-jar.xml#ContainerManagedEntity_1047304094892"/>
<ejbRefBindings xmi:id="EjbRefBinding_1047304095298" jndiName="ejb/com/acme/ejb/BidLocalHome">
<bindingEjbRef xmi:type="common:EJBLocalRef" href="META-INF/ejb-jar.xml#EJBLocalRef_1047304095298"/>
</ejbRefBindings>
<ejbRefBindings xmi:id="EjbRefBinding_1047304095299" jndiName="ejb/com/acme/ejb/SaleLocalHome">
<bindingEjbRef xmi:type="common:EJBLocalRef" href="META-INF/ejb-jar.xml#EJBLocalRef_1047304095299"/>
</ejbRefBindings>
</ejbBindings>
<ejbBindings xmi:id="EnterpriseBeanBinding_1047304095299" jndiName="ejb/com/acme/ejb/SaleLocalHome">
<enterpriseBean xmi:type="ejb:ContainerManagedEntity" href="META-INF/ejb-jar.xml#ContainerManagedEntity_1047304094939"/>
<ejbRefBindings xmi:id="EjbRefBinding_1047304095300" jndiName="ejb/com/acme/ejb/OnlineitemLocalHome">
<bindingEjbRef xmi:type="common:EJBLocalRef" href="META-INF/ejb-jar.xml#EJBLocalRef_1047304095300"/>
</ejbRefBindings>
<ejbRefBindings xmi:id="EjbRefBinding_1047304095314" jndiName="ejb/com/acme/ejb/RegistrationLocalHome">
<bindingEjbRef xmi:type="common:EJBLocalRef" href="META-INF/ejb-jar.xml#EJBLocalRef_1047304095314"/>
</ejbRefBindings>
</ejbBindings>
<defaultCMPConnectionFactory xmi:id="CMPConnectionFactoryBinding_1047393457625" jndiName="jdbc/dreamauc" resAuth="Per_Connection_Factory"/>
</ejbbnd:EJBJarBinding>
ejb-jar.xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN" "http://java.sun.com/dtd/ejb-jar_2_0.dtd">
<ejb-jar id="ejb-jar_ID">
<display-name>AuctionEJB</display-name>
<enterprise-beans>
<entity id="ContainerManagedEntity_1047304094642">
<ejb-name>Accountspayable</ejb-name>
<local-home>com.acme.ejb.AccountspayableLocalHome</local-home>
<local>com.acme.ejb.AccountspayableLocal</local>
<ejb-class>com.acme.ejb.AccountspayableBean</ejb-class>
<persistence-type>Container</persistence-type>
<prim-key-class>com.acme.ejb.AccountspayableKey</prim-key-class>
<reentrant>False</reentrant>
<cmp-version>2.x</cmp-version>
<abstract-schema-name>Accountspayable</abstract-schema-name>
<cmp-field id="CMPAttribute_1047304094548">
<field-name>recordid</field-name>
</cmp-field>
<cmp-field id="CMPAttribute_1047304094549">
<field-name>transactionid</field-name>
</cmp-field>
<cmp-field id="CMPAttribute_1047304094595">
<field-name>chequenumber</field-name>
</cmp-field>
<cmp-field id="CMPAttribute_1047304094596">
<field-name>amount</field-name>
</cmp-field>
<ejb-local-ref id="EJBLocalRef_1047304095079">
<ejb-ref-name>ejb/Registration</ejb-ref-name>
<ejb-ref-type>Entity</ejb-ref-type>
<local-home>com.acme.ejb.RegistrationLocalHome</local-home>
<local>com.acme.ejb.RegistrationLocal</local>
<ejb-link>Registration</ejb-link>
</ejb-local-ref>
</entity>
<entity id="ContainerManagedEntity_1047304094704">
<ejb-name>Registration</ejb-name>
<local-home>com.acme.ejb.RegistrationLocalHome</local-home>
<local>com.acme.ejb.RegistrationLocal</local>
<ejb-class>com.acme.ejb.RegistrationBean</ejb-class>
<persistence-type>Container</persistence-type>
<prim-key-class>com.acme.ejb.RegistrationKey</prim-key-class>
<reentrant>False</reentrant>
<cmp-version>2.x</cmp-version>
<abstract-schema-name>Registration</abstract-schema-name>
<cmp-field id="CMPAttribute_1047304094642">
<field-name>userid</field-name>
</cmp-field>
<cmp-field id="CMPAttribute_1047304094658">
<field-name>email</field-name>
</cmp-field>
<cmp-field id="CMPAttribute_1047304094659">
<field-name>passwd</field-name>
</cmp-field>
<cmp-field id="CMPAttribute_1047304094673">
<field-name>name</field-name>
</cmp-field>
<cmp-field id="CMPAttribute_1047304094674">
<field-name>cardtype</field-name>
</cmp-field>
<cmp-field id="CMPAttribute_1047304094675">
<field-name>acctnum</field-name>
</cmp-field>
<cmp-field id="CMPAttribute_1047304094689">
<field-name>expiry</field-name>
</cmp-field>
<ejb-local-ref id="EJBLocalRef_1047304095080">
<ejb-ref-name>ejb/Accountspayable</ejb-ref-name>
<ejb-ref-type>Entity</ejb-ref-type>
<local-home>com.acme.ejb.AccountspayableLocalHome</local-home>
<local>com.acme.ejb.AccountspayableLocal</local>
<ejb-link>Accountspayable</ejb-link>
</ejb-local-ref>
<ejb-local-ref id="EJBLocalRef_1047304095111">
<ejb-ref-name>ejb/Address</ejb-ref-name>
<ejb-ref-type>Entity</ejb-ref-type>
<local-home>com.acme.ejb.AddressLocalHome</local-home>
<local>com.acme.ejb.AddressLocal</local>
<ejb-link>Address</ejb-link>
</ejb-local-ref>
<ejb-local-ref id="EJBLocalRef_1047304095142">
<ejb-ref-name>ejb/Bid</ejb-ref-name>
<ejb-ref-type>Entity</ejb-ref-type>
<local-home>com.acme.ejb.BidLocalHome</local-home>
<local>com.acme.ejb.BidLocal</local>
<ejb-link>Bid</ejb-link>
</ejb-local-ref>
<ejb-local-ref id="EJBLocalRef_1047304095189">
<ejb-ref-name>ejb/Sale</ejb-ref-name>
<ejb-ref-type>Entity</ejb-ref-type>
<local-home>com.acme.ejb.SaleLocalHome</local-home>
<local>com.acme.ejb.SaleLocal</local>
<ejb-link>Sale</ejb-link>
</ejb-local-ref>
<query>
<description></description>
<query-method>
<method-name>findAll</method-name>
<method-params>
</method-params>
</query-method>
<ejb-ql>select object(r) from Registration r</ejb-ql>
</query>
</entity>
<entity id="ContainerManagedEntity_1047304094767">
<ejb-name>Address</ejb-name>
<local-home>com.acme.ejb.AddressLocalHome</local-home>
<local>com.acme.ejb.AddressLocal</local>
<ejb-class>com.acme.ejb.AddressBean</ejb-class>
<persistence-type>Container</persistence-type>
<prim-key-class>com.acme.ejb.AddressKey</prim-key-class>
<reentrant>False</reentrant>
<cmp-version>2.x</cmp-version>
<abstract-schema-name>Address</abstract-schema-name>
<cmp-field id="CMPAttribute_1047304094720">
<field-name>addressid</field-name>
</cmp-field>
<cmp-field id="CMPAttribute_1047304094736">
<field-name>street</field-name>
</cmp-field>
<cmp-field id="CMPAttribute_1047304094737">
<field-name>city</field-name>
</cmp-field>
<cmp-field id="CMPAttribute_1047304094738">
<field-name>state</field-name>
</cmp-field>
<cmp-field id="CMPAttribute_1047304094751">
<field-name>zip</field-name>
</cmp-field>
<cmp-field id="CMPAttribute_1047304094752">
<field-name>phonenum</field-name>
</cmp-field>
<ejb-local-ref id="EJBLocalRef_1047304095220">
<ejb-ref-name>ejb/Registration</ejb-ref-name>
<ejb-ref-type>Entity</ejb-ref-type>
<local-home>com.acme.ejb.RegistrationLocalHome</local-home>
<local>com.acme.ejb.RegistrationLocal</local>
<ejb-link>Registration</ejb-link>
</ejb-local-ref>
</entity>
<entity id="ContainerManagedEntity_1047304094814">
<ejb-name>Bid</ejb-name>
<local-home>com.acme.ejb.BidLocalHome</local-home>
<local>com.acme.ejb.BidLocal</local>
<ejb-class>com.acme.ejb.BidBean</ejb-class>
<persistence-type>Container</persistence-type>
<prim-key-class>com.acme.ejb.BidKey</prim-key-class>
<reentrant>False</reentrant>
<cmp-version>2.x</cmp-version>
<abstract-schema-name>Bid</abstract-schema-name>
<cmp-field id="CMPAttribute_1047304094767">
<field-name>bidid</field-name>
</cmp-field>
<cmp-field id="CMPAttribute_1047304094783">
<field-name>currentbid</field-name>
</cmp-field>
<cmp-field id="CMPAttribute_1047304094784">
<field-name>maximumbid</field-name>
</cmp-field>
<cmp-field id="CMPAttribute_1047304094785">
<field-name>bidincrement</field-name>
</cmp-field>
<ejb-local-ref id="EJBLocalRef_1047304095221">
<ejb-ref-name>ejb/Registration</ejb-ref-name>
<ejb-ref-type>Entity</ejb-ref-type>
<local-home>com.acme.ejb.RegistrationLocalHome</local-home>
<local>com.acme.ejb.RegistrationLocal</local>
<ejb-link>Registration</ejb-link>
</ejb-local-ref>
<ejb-local-ref id="EJBLocalRef_1047304095283">
<ejb-ref-name>ejb/Onlineitem</ejb-ref-name>
<ejb-ref-type>Entity</ejb-ref-type>
<local-home>com.acme.ejb.OnlineitemLocalHome</local-home>
<local>com.acme.ejb.OnlineitemLocal</local>
<ejb-link>Onlineitem</ejb-link>
</ejb-local-ref>
<query>
<description></description>
<query-method>
<method-name>findAutoBids</method-name>
<method-params>
<method-param>java.lang.Integer</method-param>
</method-params>
</query-method>
<ejb-ql>select object(b) from Bid b where b.fk_itemtypeid.itemtypeid = ?1 and b.maximumbid >= b.fk_itemtypeid.lastbid + b.bidincrement</ejb-ql>
</query>
<query>
<description></description>
<query-method>
<method-name>findHighestBid</method-name>
<method-params>
<method-param>java.lang.Integer</method-param>
</method-params>
</query-method>
<ejb-ql>select object(b) from Bid b where b.fk_itemtypeid.itemtypeid = ?1 and b.currentbid = (select max(b1.currentbid) from Bid b1 where b1.fk_itemtypeid.itemtypeid = ?1)</ejb-ql>
</query>
</entity>
<entity id="ContainerManagedEntity_1047304094892">
<ejb-name>Onlineitem</ejb-name>
<local-home>com.acme.ejb.OnlineitemLocalHome</local-home>
<local>com.acme.ejb.OnlineitemLocal</local>
<ejb-class>com.acme.ejb.OnlineitemBean</ejb-class>
<persistence-type>Container</persistence-type>
<prim-key-class>com.acme.ejb.OnlineitemKey</prim-key-class>
<reentrant>False</reentrant>
<cmp-version>2.x</cmp-version>
<abstract-schema-name>Onlineitem</abstract-schema-name>
<cmp-field id="CMPAttribute_1047304094814">
<field-name>itemtypeid</field-name>
</cmp-field>
<cmp-field id="CMPAttribute_1047304094815">
<field-name>catalognumber</field-name>
</cmp-field>
<cmp-field id="CMPAttribute_1047304094829">
<field-name>title</field-name>
</cmp-field>
<cmp-field id="CMPAttribute_1047304094830">
<field-name>description</field-name>
</cmp-field>
<cmp-field id="CMPAttribute_1047304094831">
<field-name>value</field-name>
</cmp-field>
<cmp-field id="CMPAttribute_1047304094845">
<field-name>startingbid</field-name>
</cmp-field>
<cmp-field id="CMPAttribute_1047304094846">
<field-name>imagelocn</field-name>
</cmp-field>
<cmp-field id="CMPAttribute_1047304094861">
<field-name>imagelocnsm</field-name>
</cmp-field>
<cmp-field id="CMPAttribute_1047304094862">
<field-name>lastbid</field-name>
</cmp-field>
<cmp-field id="CMPAttribute_1047304094863">
<field-name>lastbidder</field-name>
</cmp-field>
<cmp-field id="CMPAttribute_1047304094876">
<field-name>startbidding</field-name>
</cmp-field>
<cmp-field id="CMPAttribute_1047304094877">
<field-name>endbidding</field-name>
</cmp-field>
<cmp-field id="CMPAttribute_1047304094878">
<field-name>status</field-name>
</cmp-field>
<ejb-local-ref id="EJBLocalRef_1047304095298">
<ejb-ref-name>ejb/Bid</ejb-ref-name>
<ejb-ref-type>Entity</ejb-ref-type>
<local-home>com.acme.ejb.BidLocalHome</local-home>
<local>com.acme.ejb.BidLocal</local>
<ejb-link>Bid</ejb-link>
</ejb-local-ref>
<ejb-local-ref id="EJBLocalRef_1047304095299">
<ejb-ref-name>ejb/Sale</ejb-ref-name>
<ejb-ref-type>Entity</ejb-ref-type>
<local-home>com.acme.ejb.SaleLocalHome</local-home>
<local>com.acme.ejb.SaleLocal</local>
<ejb-link>Sale</ejb-link>
</ejb-local-ref>
<query>
<description></description>
<query-method>
<method-name>findByValue</method-name>
<method-params>
<method-param>long</method-param>
</method-params>
</query-method>
<ejb-ql>select object(o) from Onlineitem as o where o.value <= ?1</ejb-ql>
</query>
</entity>
<entity id="ContainerManagedEntity_1047304094939">
<ejb-name>Sale</ejb-name>
<local-home>com.acme.ejb.SaleLocalHome</local-home>
<local>com.acme.ejb.SaleLocal</local>
<ejb-class>com.acme.ejb.SaleBean</ejb-class>
<persistence-type>Container</persistence-type>
<prim-key-class>com.acme.ejb.SaleKey</prim-key-class>
<reentrant>False</reentrant>
<cmp-version>2.x</cmp-version>
<abstract-schema-name>Sale</abstract-schema-name>
<cmp-field id="CMPAttribute_1047304094892">
<field-name>saleid</field-name>
</cmp-field>
<cmp-field id="CMPAttribute_1047304094893">
<field-name>amount</field-name>
</cmp-field>
<cmp-field id="CMPAttribute_1047304094908">
<field-name>credittrans</field-name>
</cmp-field>
<cmp-field id="CMPAttribute_1047304094909">
<field-name>deliveryorderid</field-name>
</cmp-field>
<cmp-field id="CMPAttribute_1047304094910">
<field-name>delivered</field-name>
</cmp-field>
<cmp-field id="CMPAttribute_1047304094923">
<field-name>paid</field-name>
</cmp-field>
<cmp-field id="CMPAttribute_1047304094924">
<field-name>datestarted</field-name>
</cmp-field>
<cmp-field id="CMPAttribute_1047304094925">
<field-name>state</field-name>
</cmp-field>
<ejb-local-ref id="EJBLocalRef_1047304095300">
<ejb-ref-name>ejb/Onlineitem</ejb-ref-name>
<ejb-ref-type>Entity</ejb-ref-type>
<local-home>com.acme.ejb.OnlineitemLocalHome</local-home>
<local>com.acme.ejb.OnlineitemLocal</local>
<ejb-link>Onlineitem</ejb-link>
</ejb-local-ref>
<ejb-local-ref id="EJBLocalRef_1047304095314">
<ejb-ref-name>ejb/Registration</ejb-ref-name>
<ejb-ref-type>Entity</ejb-ref-type>
<local-home>com.acme.ejb.RegistrationLocalHome</local-home>
<local>com.acme.ejb.RegistrationLocal</local>
<ejb-link>Registration</ejb-link>
</ejb-local-ref>
<query>
<description>Find all expired items that have not been processed (buyerid = null). the bidding time has ended (endbidding <= current time) and that there has been at least one bid (lastbid not null)
-</description>
<query-method>
<method-name>findExpiredItems</method-name>
<method-params>
<method-param>java.sql.Timestamp</method-param>
</method-params>
</query-method>
<ejb-ql>select DISTINCT object(o) from Sale as o where (o.fk_buyerid is null) and (o.fk_itemid.endbidding<=?1) and (o.fk_itemid.lastbid is not null)</ejb-ql>
</query>
</entity>
</enterprise-beans>
<relationships>
<ejb-relation>
<description></description>
<ejb-relation-name>Accountspayable_To_Registration</ejb-relation-name>
<ejb-relationship-role id="EJBRelationshipRole_1047304094611">
<ejb-relationship-role-name>fk_userid</ejb-relationship-role-name>
<multiplicity>Many</multiplicity>
<relationship-role-source>
<ejb-name>Accountspayable</ejb-name>
</relationship-role-source>
<cmr-field>
<cmr-field-name>fk_userid</cmr-field-name>
</cmr-field>
</ejb-relationship-role>
<ejb-relationship-role id="EJBRelationshipRole_1047304094626">
<ejb-relationship-role-name>accountspayable</ejb-relationship-role-name>
<multiplicity>One</multiplicity>
<relationship-role-source>
<ejb-name>Registration</ejb-name>
</relationship-role-source>
<cmr-field>
<cmr-field-name>accountspayable</cmr-field-name>
<cmr-field-type>java.util.Collection</cmr-field-type>
</cmr-field>
</ejb-relationship-role>
</ejb-relation>
<ejb-relation>
<description></description>
<ejb-relation-name>Bid_To_Registration</ejb-relation-name>
<ejb-relationship-role id="EJBRelationshipRole_1047304094798">
<ejb-relationship-role-name>fk_bidderid</ejb-relationship-role-name>
<multiplicity>Many</multiplicity>
<relationship-role-source>
<ejb-name>Bid</ejb-name>
</relationship-role-source>
<cmr-field>
<cmr-field-name>fk_bidderid</cmr-field-name>
</cmr-field>
</ejb-relationship-role>
<ejb-relationship-role id="EJBRelationshipRole_1047304094799">
<ejb-relationship-role-name>bid</ejb-relationship-role-name>
<multiplicity>One</multiplicity>
<relationship-role-source>
<ejb-name>Registration</ejb-name>
</relationship-role-source>
<cmr-field>
<cmr-field-name>bid</cmr-field-name>
<cmr-field-type>java.util.Collection</cmr-field-type>
</cmr-field>
</ejb-relationship-role>
</ejb-relation>
<ejb-relation>
<description></description>
<ejb-relation-name>Sale_To_Registration</ejb-relation-name>
<ejb-relationship-role id="EJBRelationshipRole_1047304094923">
<ejb-relationship-role-name>fk_buyerid</ejb-relationship-role-name>
<multiplicity>Many</multiplicity>
<relationship-role-source>
<ejb-name>Sale</ejb-name>
</relationship-role-source>
<cmr-field>
<cmr-field-name>fk_buyerid</cmr-field-name>
</cmr-field>
</ejb-relationship-role>
<ejb-relationship-role id="EJBRelationshipRole_1047304094939">
<ejb-relationship-role-name>sale</ejb-relationship-role-name>
<multiplicity>One</multiplicity>
<relationship-role-source>
<ejb-name>Registration</ejb-name>
</relationship-role-source>
<cmr-field>
<cmr-field-name>sale</cmr-field-name>
<cmr-field-type>java.util.Collection</cmr-field-type>
</cmr-field>
</ejb-relationship-role>
</ejb-relation>
<ejb-relation>
<description></description>
<ejb-relation-name>Sale_To_Registration4</ejb-relation-name>
<ejb-relationship-role id="EJBRelationshipRole_1047304094940">
<ejb-relationship-role-name>fk_sellerid</ejb-relationship-role-name>
<multiplicity>Many</multiplicity>
<relationship-role-source>
<ejb-name>Sale</ejb-name>
</relationship-role-source>
<cmr-field>
<cmr-field-name>fk_sellerid</cmr-field-name>
</cmr-field>
</ejb-relationship-role>
<ejb-relationship-role id="EJBRelationshipRole_1047304094941">
<ejb-relationship-role-name>sale1</ejb-relationship-role-name>
<multiplicity>One</multiplicity>
<relationship-role-source>
<ejb-name>Registration</ejb-name>
</relationship-role-source>
<cmr-field>
<cmr-field-name>sale1</cmr-field-name>
<cmr-field-type>java.util.Collection</cmr-field-type>
</cmr-field>
</ejb-relationship-role>
</ejb-relation>
<ejb-relation>
<description></description>
<ejb-relation-name>Registration_To_Address</ejb-relation-name>
<ejb-relationship-role id="EJBRelationshipRole_1047304094704">
<ejb-relationship-role-name>fk_billingaddress</ejb-relationship-role-name>
<multiplicity>Many</multiplicity>
<relationship-role-source>
<ejb-name>Registration</ejb-name>
</relationship-role-source>
<cmr-field>
<cmr-field-name>fk_billingaddress</cmr-field-name>
</cmr-field>
</ejb-relationship-role>
<ejb-relationship-role id="EJBRelationshipRole_1047304094705">
<ejb-relationship-role-name>registration</ejb-relationship-role-name>
<multiplicity>One</multiplicity>
<relationship-role-source>
<ejb-name>Address</ejb-name>
</relationship-role-source>
<cmr-field>
<cmr-field-name>registration</cmr-field-name>
<cmr-field-type>java.util.Collection</cmr-field-type>
</cmr-field>
</ejb-relationship-role>
</ejb-relation>
<ejb-relation>
<description></description>
<ejb-relation-name>Registration_To_Address3</ejb-relation-name>
<ejb-relationship-role id="EJBRelationshipRole_1047304094706">
<ejb-relationship-role-name>fk_shipaddress</ejb-relationship-role-name>
<multiplicity>Many</multiplicity>
<relationship-role-source>
<ejb-name>Registration</ejb-name>
</relationship-role-source>
<cmr-field>
<cmr-field-name>fk_shipaddress</cmr-field-name>
</cmr-field>
</ejb-relationship-role>
<ejb-relationship-role id="EJBRelationshipRole_1047304094707">
<ejb-relationship-role-name>registration2</ejb-relationship-role-name>
<multiplicity>One</multiplicity>
<relationship-role-source>
<ejb-name>Address</ejb-name>
</relationship-role-source>
<cmr-field>
<cmr-field-name>registration2</cmr-field-name>
<cmr-field-type>java.util.Collection</cmr-field-type>
</cmr-field>
</ejb-relationship-role>
</ejb-relation>
<ejb-relation>
<description></description>
<ejb-relation-name>Bid_To_Onlineitem</ejb-relation-name>
<ejb-relationship-role id="EJBRelationshipRole_1047304094800">
<ejb-relationship-role-name>fk_itemtypeid</ejb-relationship-role-name>
<multiplicity>Many</multiplicity>
<relationship-role-source>
<ejb-name>Bid</ejb-name>
</relationship-role-source>
<cmr-field>
<cmr-field-name>fk_itemtypeid</cmr-field-name>
</cmr-field>
</ejb-relationship-role>
<ejb-relationship-role id="EJBRelationshipRole_1047304094801">
<ejb-relationship-role-name>bid</ejb-relationship-role-name>
<multiplicity>One</multiplicity>
<relationship-role-source>
<ejb-name>Onlineitem</ejb-name>
</relationship-role-source>
<cmr-field>
<cmr-field-name>bid</cmr-field-name>
<cmr-field-type>java.util.Collection</cmr-field-type>
</cmr-field>
</ejb-relationship-role>
</ejb-relation>
<ejb-relation>
<description></description>
<ejb-relation-name>Sale_To_Onlineitem</ejb-relation-name>
<ejb-relationship-role id="EJBRelationshipRole_1047304094942">
<ejb-relationship-role-name>fk_itemid</ejb-relationship-role-name>
<multiplicity>Many</multiplicity>
<relationship-role-source>
<ejb-name>Sale</ejb-name>
</relationship-role-source>
<cmr-field>
<cmr-field-name>fk_itemid</cmr-field-name>
</cmr-field>
</ejb-relationship-role>
<ejb-relationship-role id="EJBRelationshipRole_1047304094943">
<ejb-relationship-role-name>sale</ejb-relationship-role-name>
<multiplicity>One</multiplicity>
<relationship-role-source>
<ejb-name>Onlineitem</ejb-name>
</relationship-role-source>
<cmr-field>
<cmr-field-name>sale</cmr-field-name>
<cmr-field-type>java.util.Collection</cmr-field-type>
</cmr-field>
</ejb-relationship-role>
</ejb-relation>
</relationships>
</ejb-jar> -
Problem wtih deploying EAR: com.sun.javac.Main NOT FOUND
Hi,
I have a curious problem, after adding some simple (logging) code to an Session Bean, the EAR file will not deploy. I get the message below concerning compilation problems. If however I restore the Session Bean to the previous state, and having build a new EAR file, the erro persists. What is this strange behaviour, has this to do with weblogic settings for the EAR file of whatever ?
NB I also have tried to include the tool.lib jar in the projekt but that doesn't solve the problem.
Any help would be appreciated,
Harry van Rijn
Exception:weblogic.management.ApplicationException: prepare failed for UasEJB.jar Module: UasEJB.jar Error: Exception preparing module: EJBModule(UasEJB.jar,status=NEW) Unable to deploy EJB: UasEJB.jar from UasEJB.jar: Compiler class: 'com.sun.tools.javac.Main', not found at weblogic.ejb20.ejbc.EJBCompiler.doCompile(EJBCompiler.java:274) at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:476) at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:407) at weblogic.ejb20.deployer.EJBDeployer.runEJBC(EJBDeployer.java:493) at weblogic.ejb20.deployer.EJBDeployer.compileJar(EJBDeployer.java:762) at weblogic.ejb20.deployer.EJBDeployer.compileIfNecessary(EJBDeployer.java:700) at weblogic.ejb20.deployer.EJBDeployer.prepare(EJBDeployer.java:1317) at weblogic.ejb20.deployer.EJBModule.prepare(EJBModule.java:498) at weblogic.j2ee.J2EEApplicationContainer.prepareModulehi,
i am migrating my application from wls7.0sp2 to wls8.1 sp3. i am using weblogic.ejbc to make my ear in my ant build script.
My Classpath settings are > C:\bea8.1\weblogic81\server\lib\weblogic.jar;C:\j2sdk1.4.2_08\lib\tools.jar;
My Path Settings are > C:\j2sdk1.4.2_08\bin;C:\j2sdk1.4.2_08\jre\bin;
i am getting the error message>>
[java] Compiler class: 'com.sun.tools.javac.Main', not found
[java] java.lang.ClassNotFoundException: com.sun.tools.javac.Main
[java] at java.net.URLClassLoader$1.run(URLClassLoader.java:199)
[java] at java.security.AccessController.doPrivileged(Native Method)
[java] at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
[java] at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
[java] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
[java] at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
[java] at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
[java] at java.lang.Class.forName0(Native Method)
[java] at java.lang.Class.forName(Class.java:141)
[java] at weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(CompilerInvoker.java:406)
[java] at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:328)
[java] at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:336)
[java] at weblogic.ejb20.ejbc.EJBCompiler.doCompile(EJBCompiler.java:270)
[java] at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:476)
[java] at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:397)
[java] at weblogic.ejbc20.runBody(ejbc20.java:517)
[java] at weblogic.utils.compiler.Tool.run(Tool.java:146)
[java] at weblogic.utils.compiler.Tool.run(Tool.java:103)
[java] at weblogic.ejbc.main(ejbc.java:29)
[java] ERROR: Error from ejbc: Compiler class: 'com.sun.tools.javac.Main', not found
[java] ERROR: ejbc couldn't invoke compiler -
Error deploying Bean using Remote Bean
Hi,
i have a problem deploying an EntityBean having a relationship to a remote
bean.
I can compile the bean with weblogic.ejbc without any problems but then i
try
to deploy the bean i get an exeception saying that the ejb reference has no
JNDI name
but it has one. In my opinion everything is ok with the deployment
descriptors. Can anybody help?
Exception:
<02.04.2001 13:35:08 GMT+02:00> <Error> <J2EE> <Error deploying EJB
Component : Status
weblogic.ejb20.EJBDeploymentException: EJB Deployment Error:; nested
exception is:
weblogic.deployment.EnvironmentException: EJB Reference has no JNDI
name set
weblogic.deployment.EnvironmentException: EJB Reference has no JNDI name set
at
weblogic.ejb20.deployer.EnvironmentBuilder.addEJBReferences(EnvironmentBuild
er.java:121)
at
weblogic.ejb20.deployer.Deployer.setupEnvironmentContext(Deployer.java:152)
at
weblogic.ejb20.deployer.Deployer.deployDescriptor(Deployer.java:1096)
at weblogic.ejb20.deployer.Deployer.deploy(Deployer.java:908)
at weblogic.j2ee.EJBComponent.deploy(EJBComponent.java:31)
at weblogic.j2ee.Application.addComponent(Application.java:126)
at weblogic.j2ee.J2EEService.addDeployment(J2EEService.java:115)
at
weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentT
arget.java:283)
at
weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentT
arget.java:109)
at java.lang.reflect.Method.invoke(Native Method)
at
weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl
.java:562)
at
weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:5
48)
at
weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBea
nImpl.java:285)
at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at
weblogic.management.internal.ConfigurationMBeanImpl.updateConfigMBeans(Confi
gurationMBeanImpl.java:409)
at
weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBea
nImpl.java:287)
at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at
weblogic.management.internal.DynamicMBeanImpl.addDeployment(DynamicMBeanImpl
.java:866)
at
weblogic.management.internal.DynamicMBeanImpl.addDeployment(DynamicMBeanImpl
.java:853)
at
weblogic.management.internal.DynamicMBeanImpl.add(DynamicMBeanImpl.java:838)
at
weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl
.java:566)
at
weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:5
48)
at
weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBea
nImpl.java:285)
at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at
weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:437)
at
weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:178)
at $Proxy21.addTarget(Unknown Source)
at
weblogic.management.mbeans.custom.ApplicationManager.autoDeploy(ApplicationM
anager.java:486)
at
weblogic.management.mbeans.custom.ApplicationManager.addApplication(Applicat
ionManager.java:557)
at
weblogic.management.mbeans.custom.ApplicationManager.addApplication(Applicat
ionManager.java:504)
at
weblogic.management.mbeans.custom.ApplicationManager.poll(ApplicationManager
.java:428)
at
weblogic.management.mbeans.custom.ApplicationManager.poll(ApplicationManager
.java:380)
at
weblogic.management.mbeans.custom.ApplicationManager.update(ApplicationManag
er.java:152)
at
weblogic.management.mbeans.custom.ApplicationManager.startAdminManager(Appli
cationManager.java:205)
at
weblogic.management.mbeans.custom.ApplicationManager.start(ApplicationManage
r.java:120)
at java.lang.reflect.Method.invoke(Native Method)
at
weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl
.java:562)
at
weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:5
48)
at
weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBea
nImpl.java:285)
at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at
weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:437)
at
weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:178)
at $Proxy2.start(Unknown Source)
at
weblogic.management.Admin.startApplicationManager(Admin.java:1034)
at weblogic.management.Admin.finish(Admin.java:491)
at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java:429)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:170)
at weblogic.Server.main(Server.java:35)
>
<02.04.2001 13:35:08 GMT+02:00> <Error> <J2EE> <Error deploying application
Status: Could not deploy: 'Status.jar'
ejb-jar.xml:
<relationships>
<ejb-entity-ref>
<remote-ejb-name>Kategorien</remote-ejb-name>
<ejb-ref-name>ejb/Kategorien</ejb-ref-name>
<home>de.virtual_ivy_league.virtHo.EntityBean.Kategorien.KategorienHome</hom
e>
<remote>de.virtual_ivy_league.virtHo.EntityBean.Kategorien.KategorienRemote<
/remote>
</ejb-entity-ref>
<ejb-relation>
<ejb-relation-name>Status-Kategorie</ejb-relation-name>
<ejb-relationship-role>
<ejb-relationship-role-name>Status-Hat-Kategorie</ejb-relationship-role-name
>
<multiplicity>one</multiplicity>
<role-source>
<ejb-name>Status</ejb-name>
</role-source>
<cmr-field>
<cmr-field-name>iDtblKategorien</cmr-field-name>
</cmr-field>
</ejb-relationship-role>
<ejb-relationship-role>
<ejb-relationship-role-name>Kategorie-Hat-Status</ejb-relationship-role-name
>
<multiplicity>one</multiplicity>
<role-source>
<remote-ejb-name>Kategorien</remote-ejb-name>
</role-source>
</ejb-relationship-role>
</ejb-relation>
</relationships>
weblogic-ejb-jar:
<relationship-descriptor>
<ejb-entity-ref-description>
<remote-ejb-name>Kategorien</remote-ejb-name>
<jndi-name>de.virtual_ivy_league.virtHo.EntityBean.Kategorien</jndi-name>
</ejb-entity-ref-description>
</relationship-descriptor>
weblogic-cmp-rdbms-jar.xml:
<weblogic-rdbms-relation>
<relation-name>Status-Kategorie</relation-name>
<weblogic-relationship-role>
<relationship-role-name>Status-Hat-Kategorie</relationship-role-name>
<column-map>
<foreign-key-column>[IDtblKategorien]</foreign-key-column>
</column-map>
</weblogic-relationship-role>
<weblogic-relationship-role>
<relationship-role-name>Kategorie-Hat-Status</relationship-role-name>
</weblogic-relationship-role>
</weblogic-rdbms-relation>try :
p.stepid and p.stepversion are correct insert into <cmp-field> ?
and Processparameter is the correct name of <abstract-schema-name>?
is your <ejb-ql> insert in the right <entity> ?
findByProcessStep(Integer, Integer) is the unique name in your ejb-jar? and in the (LocalHome ||RemoteHome) -
Good afternoon,
I'm trying to resolve an issue generated during a deployment of my EJB's.
The error follows:
Property change error for property "Deploy"
No beans were found in the jar file d:\weblogic451\myserver\Appointment.jar.
Please make sure that the manifest of the JAR file contains an .SER file
with the Enterprise-Bean: true attribute.
I'm enclosing the jar file and properties file for review. Do I have an
issue with the manifest file format? A class path issue? I'm assuming the
manifest file is properly formatted because I have created jar files. I'm
running Weblogic version 4.5.1 on WinNT. Also, how do I tell what version
of the service pack is installed? I installed SP 9, but have no way to
verify the installation actually completed except the server does start.
Please note, I'm taking a class at school and this is my first attempt to
deploy beans.
Thanks for the help,
Rich Olson
[Appointment.jar]
[weblogic.properties]If you have a problem deploying your application or running the application please a log a TAR with Oracle Support using Metalink, http://metalink.oracle.com.
Business Intelligence Beans Product Management Team
Oracle Corporation
Maybe you are looking for
-
How to get swatch color changes to update in gradients?
When I drop a swatch color on a gradient, it doesn't link to the swatch color like in a solid fill. Nevermind the UI inconsistency with this behavior, since Adobe probably doesn't care, but how do I get around this? Creating a Swatch from the gradien
-
Oracle.sql.BLOB as array
Hi, I have a database table(say MY_BLOB_TABLE.) having one blob column I want to send each blob column as an attachment to a single email i.e. I for a particular case if I have 10 qualifying rows in MY_BLOB_TABLE,I want to send all these 10 blobs as
-
How do i download a movie i have already purchased
how do i download a movie i have already purchased
-
What's the best way to learn CSS
I have been using tables for years and using CSS for text and backgrounds. I still use tables to position but am ready to move away from that? What's the best source for learning CSS? Thanks, Michael
-
CS3 master suite installation complete Finally
Finally I Was able to get CS3 Master suite installed . all of it. by just doing it one to two programs at a time. ( or a complete suite) which worked perfectly. after months of playing around with this program which was poorly designed as a suite