Unable to build EJB project.
Hi All,
I am new to CE and trying to crete an EJB project. I am following the below tutorial.
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/b030e7fb-2662-2b10-0dab-c4aa52c3550b?quicklink=index&overridelayout=true
I have configured the data source, created the EJB module, created the Entity Bean & session bean. While trying to build the project, I am getting an error "Unable to provide dictionary objects. Please check if the connected project is sttll valid."
Please help me resolving the issue.
Regards,
Bhavya.
Hi Divya,
Follow the above steps in the following link how to use external library in DC's
/people/bertram.ganz/blog/2008/11/24/how-to-use-external-jar-files-in-web-dynpro-development-components
1)Expose the JAR file in two separate public parts, one with purpose assembly (1) and another one with purpose compilation (2).
2)Use the public part with purpose compilation in the Web Dynpro "client" development component
Let me know if you are still facing the problem.
Hope this helps you...
Regards,
Saleem
Edited by: Saleem Baig Mohammed on Jun 2, 2009 2:35 PM
Similar Messages
-
The error is received when i transfer the .exe file, bin\Debug folder to another machine:
Unable to find the report in the manifest resources. Please build the project, and try again.
The error is issued when i try to open the form that contain the Crystal report viewer, I already checked the properties of the report file and it says "Embed Resource" in the "Build Action"
This error is not visible on my development machine where visual studio is installed, anybody know what i should install on the other machine for this to run.
I'm using C#, WinForms, .net 2.0, VS 2005.Fronde Systems Group:
Setting the build action to Embedded resource is working
in my local machine which has Visual studio 2003 installed. But when i deploy the same on Server
(server has no .net framework installed on it), it keeps failing. I get the the following error:
"ERROR Thrown from Crystal Reports ===> An undocumented error occured" which is triggered when it is Unable
to find the report in the manifest resources.
Please suggest me guys....
Thanks
Ravi
[email protected] -
Adapter module:: JAR file in the build path of EJB project
Hi Experts,
I have created one adapter module, for this I have created one EJB project and also associated one EAR project to that.
I have completed my coding and changes in the xml files.
I have followed this -
http://www.sdn.sap.com/irj/scn/index;jsessionid=(J2EE3417500)ID1494558950DB01504425675464955468End?rid=/library/uuid/c0b39e65-981e-2b10-1c9c-fc3f8e6747fa&overridelayout=true
while creating the module.
but after finishing this , I can not see the ejb.jar file corresponding to the ejb project, I can see the class file generated in the build path.
but I can not see the ejb.jar in the EJB project after build.
When I checked the EAR project I found under Deployment descriptor there is a folder called module and there is a jar file named as -
EJB<my ejb project name>.jar
when I am about to deploy this EAR in the server it is showing me to choose the file from EAR project and this EAR project contain the EJB Project .
Request you to please let me know is everything ok with my project ? or please let me know how can I see the ejb.jar file corresponding to the ejb project below the build path.
Thanks
VinnyHi Experts,
I have created one adapter module, for this I have created one EJB project and also associated one EAR project to that.
I have completed my coding and changes in the xml files.
I have followed this -
http://www.sdn.sap.com/irj/scn/index;jsessionid=(J2EE3417500)ID1494558950DB01504425675464955468End?rid=/library/uuid/c0b39e65-981e-2b10-1c9c-fc3f8e6747fa&overridelayout=true
while creating the module.
but after finishing this , I can not see the ejb.jar file corresponding to the ejb project, I can see the class file generated in the build path.
but I can not see the ejb.jar in the EJB project after build.
When I checked the EAR project I found under Deployment descriptor there is a folder called module and there is a jar file named as -
EJB<my ejb project name>.jar
when I am about to deploy this EAR in the server it is showing me to choose the file from EAR project and this EAR project contain the EJB Project .
Request you to please let me know is everything ok with my project ? or please let me know how can I see the ejb.jar file corresponding to the ejb project below the build path.
Thanks
Vinny -
EJB project IDE build dos not include properties files
We have property files also which we want included as part of the build process
for EJB projects but if we use the IDE build it does not include them. We have
to therefore export the IDE build and customize it to include *.properties like
this
<zip basedir="${dest.path}" zipfile="${ejb.outputJar}" encoding="UTF8"> <!-- JARs
filenames are encoded UTF8 --> <zipfileset dir="${project.local.directory}" includes="*.properties"
/> </zip>
which causes a problem for us because the exported build file is specific to a
user's local PC and cannot be used in a team environment.
How can we have the IDE build include all the files within an EJB project i.e.
include properties files also.Hey Jamie,
Currently there is no support to include other .properties files into
the internal build. There's a build.properties that you get as part of
an EJB project which you could place your values into and use that as
your template for your team based development and check that into your
source control.
If you'd really like to get gross and hack Workshop a little bit you
could modify the default EJB project template to use your .properties
file for every EJB project you create. This would then splat a copy of
your .properties file into the root of the EJB project.
To do that you'd go to {your BEAHOME}\workshop\templates and crack open
the ejb-project.zip template zip file and merge your settings into the
existing build.properties file. This has the same
effect as replacing the .properties file after you've created your
project only it keeps you from having to perform that step each time.
The downside of this is that each person on your team would then have to
update that template zip file in their workshop installation. (I'd make
sure to backup the original template file before performing this
activity so you can always go back to the original template).
Hope this helps,
-Michael
Jamie wrote:
We have property files also which we want included as part of the build process
for EJB projects but if we use the IDE build it does not include them. We have
to therefore export the IDE build and customize it to include *.properties like
this
<zip basedir="${dest.path}" zipfile="${ejb.outputJar}" encoding="UTF8"> <!-- JARs
filenames are encoded UTF8 --> <zipfileset dir="${project.local.directory}" includes="*.properties"
/> </zip>
which causes a problem for us because the exported build file is specific to a
user's local PC and cannot be used in a team environment.
How can we have the IDE build include all the files within an EJB project i.e.
include properties files also. -
Hello,
I've inherited the ReportClass.
public class PReport : CrystalDecisions.CrystalReports.Engine.ReportClass
protected DataSet dataSet;
public override void Export(CrystalDecisions.Shared.ExportOptions exportOptions)
base.Export(exportOptions);
this.Customize(exportOptions);
public override void SetDataSource(DataSet dataSet)
base.SetDataSource(dataSet);
this.dataSet = dataSet;
public void main()
PReport report = myObject.CreateReport();
report.SummaryInfo.ReportSubject = this[CriteriaName].StringValue; <<< exception
in the debug mode, when passing the line, I obtain:
- report.SummaryInfo 'report.SummaryInfo' threw an exception of type 'CrystalDecisions.CrystalReports.Engine.LoadSaveReportException' CrystalDecisions.CrystalReports.Engine.SummaryInfo {CrystalDecisions.CrystalReports.Engine.LoadSaveReportException}
Unable to find the report in the manifest resources. Please build the project, and try again.
I have rebuit the project bat the behavior didn't change.the same exception message I obtain when calling
public override void SetDataSource(DataSet dataSet)
base.SetDataSource(dataSet); <<< here -
SQLJ: unable to find input file null (Error while building EJB.jar file)
Hi,
I am working on open SQL/SQLJ with the following details
Name:Employee application(adding an employee to MAXDB through SQLJ connection)
FRONT-END:JSP/SERVLET
Middle:Stateless bean with DAO(DB connection) coming from SQLJ
Back-end:MAXDB
I have following in abc.sqlj file
#sql public context Connx with (dataSource = "java:comp/env/jdbc/SAPTSTDB")
and creating instance and adding to DB in another say xyz.sqlj file
Connx con = null;
try{
con = new Connx();
#sql [con] {insert into TMP_DB1(EMPLOYEE_ID, FIRST_NAME, LAST_NAME, EMAIL)
values(:(employeeDTO.getEmployeeId()),
:(employeeDTO.getFirstName()),
:(employeeDTO.getLastName()),
:(employeeDTO.getEmail()))};
My build has no errors..but while building EJB archive with above sqlj files, am getting following error
"SQLJ: unable to find input file null" for both sqlj files.
Anybody faced this kind of issue, pls reply back.
Thanks
parveenHi,
I am working on open SQL/SQLJ with the following details
Name:Employee application(adding an employee to MAXDB through SQLJ connection)
FRONT-END:JSP/SERVLET
Middle:Stateless bean with DAO(DB connection) coming from SQLJ
Back-end:MAXDB
I have following in abc.sqlj file
#sql public context Connx with (dataSource = "java:comp/env/jdbc/SAPTSTDB")
and creating instance and adding to DB in another say xyz.sqlj file
Connx con = null;
try{
con = new Connx();
#sql [con] {insert into TMP_DB1(EMPLOYEE_ID, FIRST_NAME, LAST_NAME, EMAIL)
values(:(employeeDTO.getEmployeeId()),
:(employeeDTO.getFirstName()),
:(employeeDTO.getLastName()),
:(employeeDTO.getEmail()))};
My build has no errors..but while building EJB archive with above sqlj files, am getting following error
"SQLJ: unable to find input file null" for both sqlj files.
Anybody faced this kind of issue, pls reply back.
Thanks
parveen -
In SAPNetweaver developer Studio, I am unable Build EJB Archive
Hi,
In EJBModuleProject the Build EJB Archive option is diabled.Even all the ejb's have ejbCreate() method still the Build EJB Archive option is diabled.Also the ejb-jar.xml file is not showing its beans in explorer even it contains description for all the ejbs. Let me know is there any solution for this.Hi,
the odds are, NWDS will only recognize EJB, which strictly adhere to (its) EJB rules, means created in the GUI, implementing directly the required interfaces, having methods, which throw RmiException, etc. If, by chance, your EJBs do not adhere to these rules, proceed as follow:
1. Create a dummy EJB, say DummyEjb by NWDS means and "secure" the xml description of it as template
2. Take the xml template from 1 and create ejb descriptors for your real EJBs and paste them to the ejb-jar.xml
This way you should get correct descriptors for your EJBs and be able to create the ejb module archive.
Regards
Gregor -
Error in starting an EAR containing EJBs : Unable to prepare EJB
I am using ANT build script to create and deploy EAR on WAS server.
This EAR file packages EJB jar file inside it.
I am using WAS 5.1.1 Test Environment from IBM RAD 6.0.
When deployment is done, the application is not in Started status.
If I try to start it from web-based admin console, I get error given below.
I examined the missing classes.
Error CNTR0075E could not find: EJSStatelessSurveyManagerHomeBean_a1e88e5e
Error WSVR0209E could not find: EJSStatelessSurveyManagerHomeBean_00693296
When I checked the deployed EAR file, I could locate EJSStatelessSurveyManagerHomeBean_a1e88e5e in the EJB jar file inside the EAR file. I carefully checked the full qualified name. It is there.
But the other one (classname ending with 00693296) is not there.
What are these numbers? Are these any ref ids in some xml file (web.xml, ejb-jar.xml, etc)?
When I searched web based forums for these error codes, I tried varius solutions [e.g. Generate Deploy Code and RMIC, etc] but nothing seems to work :-(
Is there any solution to it?
Thanking in advance.
Error details:
[8/14/06 14:23:54:017 IST] 6d8b5f3e BeanMetaData E CNTR0075E: The user-provided class "com.queplix.jd.survey.ejb.EJSStatelessSurveyManagerHomeBean_a1e88e5e" needed by the EnterpriseBean could not be found or loaded.
[8/14/06 14:23:54:017 IST] 6d8b5f3e EJBContainerI E WSVR0209E: Unable to prepare EJB jar DTAC-ejb.jar [class com.ibm.ws.runtime.component.DeployedModuleImpl], enterprise bean com.ibm.etools.ejb.impl.SessionImpl(SurveyManager) (transactionType: Container, sessionType: Stateless)
java.lang.ClassNotFoundException: com.queplix.jd.survey.ejb.EJSStatelessSurveyManagerHomeBean_00693296
at com.ibm.ws.classloader.CompoundClassLoader.findClass(CompoundClassLoader.java(Compiled Code))
at com.ibm.ws.classloader.CompoundClassLoader.loadClass(CompoundClassLoader.java(Compiled Code))
at java.lang.ClassLoader.loadClass(ClassLoader.java(Compiled Code))
at com.ibm.ejs.container.BeanMetaData.loadExistedClass(BeanMetaData.java:2644)
at com.ibm.ejs.container.BeanMetaData.<init>(BeanMetaData.java:887)
at com.ibm.ws.runtime.component.EJBContainerImpl.createBeanMetaData(EJBContainerImpl.java:1038)
at com.ibm.ws.runtime.component.EJBContainerImpl.createModuleMetaData(EJBContainerImpl.java:830)
at com.ibm.ws.runtime.component.EJBContainerImpl.createMetaData(EJBContainerImpl.java:1575)
at com.ibm.ws.runtime.component.MetaDataMgrImpl.createFactoryMetaData(MetaDataMgrImpl.java:115)
at com.ibm.ws.runtime.component.MetaDataMgrImpl.createMetaData(MetaDataMgrImpl.java:159)
at com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:350)
at com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:578)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:311)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:588)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java(Compiled Code))
at java.lang.reflect.Method.invoke(Method.java(Compiled Code))
at com.tivoli.jmx.modelmbean.MMBInvoker.invoke(MMBInvoker.java:46)
at com.tivoli.jmx.modelmbean.MMBInvoker.invokeOperation(MMBInvoker.java:115)
at com.tivoli.jmx.modelmbean.DynamicModelMBeanSupport.invoke(DynamicModelMBeanSupport.java:409)
at javax.management.modelmbean.RequiredModelMBean.invoke(RequiredModelMBean.java:323)
at com.tivoli.jmx.GenericMBeanSupport.invoke(GenericMBeanSupport.java:178)
at com.tivoli.jmx.MBeanAccess.invoke(MBeanAccess.java:113)
at com.tivoli.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:290)
at com.ibm.ws.management.AdminServiceImpl.invoke(AdminServiceImpl.java:659)
at com.ibm.ws.console.core.mbean.MBeanHelper.invoke(MBeanHelper.java:141)
at com.ibm.ws.console.appdeployment.ApplicationDeploymentCollectionAction.perform(ApplicationDeploymentCollectionAction.java:336)
at org.apache.struts.action.ActionServlet.processActionPerform(ActionServlet.java:1791)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1586)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:510)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java:110)
at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java:174)
at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java:313)
at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java:116)
at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java:283)
at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java:42)
at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java:40)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:1171)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:676)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:203)
at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:125)
at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:300)
at com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:71)
at com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:246)
at com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListener.java:334)
at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.java:56)
at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:652)
at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:458)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:936)Hi,
It seems one of your ejb jar is missing from the current file location.
D:\dev\workspaces\.metadata\.plugins\org.eclipse.core.resources\.projects\itr-ear\beadep\citron_domain\itr-ear\split_src
you can make it manually copied to this location and build the project again so that it can able to deploy propertly.
Now one more thing you can do open a ticket with oracle support for better assistance.
Regards,
Kal -
Unable to publish - Unable to find ejb-jar with uri itr-ejbs.jar in ear
I'm using Weblogic 10.3.4 with Eclipse Juno before i was with Eclipse Galileo. Since the update i'm not able to publish my ear anymore.
I search on the internet the explanation of this stacktrace but i don't find a understandable answer so i ask to you :D
<5 oct. 2012 12 h 30 CEST> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1349433008242' for task '0'. Error is: 'weblogic.application.ModuleException: '
weblogic.application.ModuleException:
at weblogic.ejb.container.deployer.EJBModule.init(EJBModule.java:334)
at weblogic.application.internal.flow.ModuleListenerInvoker.init(ModuleListenerInvoker.java:167)
at weblogic.application.internal.flow.InitModulesFlow.initModule(InitModulesFlow.java:285)
at weblogic.application.internal.flow.InitModulesFlow.initModules(InitModulesFlow.java:298)
at weblogic.application.internal.flow.InitModulesFlow.prepare(InitModulesFlow.java:330)
Truncated. see log file for complete stacktrace
Caused By: java.io.FileNotFoundException: Unable to find ejb-jar with uri itr-ejbs.jar in ear at D:\dev\workspaces\.metadata\.plugins\org.eclipse.core.resources\.projects\itr-ear\beadep\citron_domain\itr-ear\split_src
at weblogic.ejb.spi.EJBJar.<init>(EJBJar.java:81)
at weblogic.ejb.container.deployer.EJBModule.buildClassFinder(EJBModule.java:201)
at weblogic.ejb.container.deployer.EJBModule.init(EJBModule.java:313)
at weblogic.application.internal.flow.ModuleListenerInvoker.init(ModuleListenerInvoker.java:167)
at weblogic.application.internal.flow.InitModulesFlow.initModule(InitModulesFlow.java:285)
Truncated. see log file for complete stacktrace
>
<5 oct. 2012 12 h 30 CEST> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for application 'itr-ear'.>
<5 oct. 2012 12 h 30 CEST> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
weblogic.application.ModuleException:
at weblogic.ejb.container.deployer.EJBModule.init(EJBModule.java:334)
at weblogic.application.internal.flow.ModuleListenerInvoker.init(ModuleListenerInvoker.java:167)
at weblogic.application.internal.flow.InitModulesFlow.initModule(InitModulesFlow.java:285)
at weblogic.application.internal.flow.InitModulesFlow.initModules(InitModulesFlow.java:298)
at weblogic.application.internal.flow.InitModulesFlow.prepare(InitModulesFlow.java:330)
Truncated. see log file for complete stacktrace
Caused By: java.io.FileNotFoundException: Unable to find ejb-jar with uri itr-ejbs.jar in ear at D:\dev\workspaces\.metadata\.plugins\org.eclipse.core.resources\.projects\itr-ear\beadep\citron_domain\itr-ear\split_src
at weblogic.ejb.spi.EJBJar.<init>(EJBJar.java:81)
at weblogic.ejb.container.deployer.EJBModule.buildClassFinder(EJBModule.java:201)
at weblogic.ejb.container.deployer.EJBModule.init(EJBModule.java:313)
at weblogic.application.internal.flow.ModuleListenerInvoker.init(ModuleListenerInvoker.java:167)
at weblogic.application.internal.flow.InitModulesFlow.initModule(InitModulesFlow.java:285)
Truncated. see log file for complete stacktrace
>Thank YouHi,
It seems one of your ejb jar is missing from the current file location.
D:\dev\workspaces\.metadata\.plugins\org.eclipse.core.resources\.projects\itr-ear\beadep\citron_domain\itr-ear\split_src
you can make it manually copied to this location and build the project again so that it can able to deploy propertly.
Now one more thing you can do open a ticket with oracle support for better assistance.
Regards,
Kal -
Unable to deploy EJB - NullPointerException
Hello,
We are migrating our application from WebLogic 8.1 to WebLogic 10.0.
We changed the deployment descriptors according WL 10.0 specs. The application deploys and activates seamlessly. The problem comes when we try to start it (for "Servicing all requests"):
<Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1191253811043' for task '12'. Error is: 'weblogic.application.ModuleException: Exception activating module: EJBModule(persistence.jar)
Unable to deploy EJB: ReportParameterBean from persistence.jar:
null
weblogic.application.ModuleException: Exception activating module: EJBModule(persistence.jar)
Unable to deploy EJB: ReportParameterBean from persistence.jar:
null
at weblogic.ejb.container.deployer.EJBModule.activate(EJBModule.java:440)
at weblogic.application.internal.flow.ModuleListenerInvoker.activate(ModuleListenerInvoker.java:107)
at weblogic.application.internal.flow.DeploymentCallbackFlow$2.next(DeploymentCallbackFlow.java:381)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
at weblogic.application.internal.flow.DeploymentCallbackFlow.activate(DeploymentCallbackFlow.java:71)
Truncated. see log file for complete stacktrace
java.lang.NullPointerException
at weblogic.ejb.container.cmp.rdbms.RDBMSPersistenceManager.setupParentBeanManagers(RDBMSPersistenceManager.java:1904)
at weblogic.ejb.container.deployer.CMPInfoImpl.setupParentBeanManagers(CMPInfoImpl.java:326)
at weblogic.ejb.container.deployer.EJBDeployer.activate(EJBDeployer.java:1382)
at weblogic.ejb.container.deployer.EJBModule.activate(EJBModule.java:423)
at weblogic.application.internal.flow.ModuleListenerInvoker.activate(ModuleListenerInvoker.java:107)
Truncated. see log file for complete stacktrace
>
<Error> <Deployer> <BEA-149202> <Encountered an exception while attempting to commit the 7 task for the application 'tms'.>
<Warning> <Deployer> <BEA-149004> <Failures were detected while initiating start task for application 'tms'.>
<Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
weblogic.application.ModuleException: Exception activating module: EJBModule(persistence.jar)
Unable to deploy EJB: ReportParameterBean from persistence.jar:
null
at weblogic.ejb.container.deployer.EJBModule.activate(EJBModule.java:440)
at weblogic.application.internal.flow.ModuleListenerInvoker.activate(ModuleListenerInvoker.java:107)
at weblogic.application.internal.flow.DeploymentCallbackFlow$2.next(DeploymentCallbackFlow.java:381)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
at weblogic.application.internal.flow.DeploymentCallbackFlow.activate(DeploymentCallbackFlow.java:71)
Truncated. see log file for complete stacktrace
java.lang.NullPointerException
at weblogic.ejb.container.cmp.rdbms.RDBMSPersistenceManager.setupParentBeanManagers(RDBMSPersistenceManager.java:1904)
at weblogic.ejb.container.deployer.CMPInfoImpl.setupParentBeanManagers(CMPInfoImpl.java:326)
at weblogic.ejb.container.deployer.EJBDeployer.activate(EJBDeployer.java:1382)
at weblogic.ejb.container.deployer.EJBModule.activate(EJBModule.java:423)
at weblogic.application.internal.flow.ModuleListenerInvoker.activate(ModuleListenerInvoker.java:107)
Truncated. see log file for complete stacktrace
>
The application worked just fine on WL 8.1. There are no changes in the code. The changes in the deployment descriptors are the minimum required to deploy the application on WL 10.0.
Any idea what can be the reason for this error?Hello auspost_simon,
Thank you for your answer.
We always compile our project with Sun's Java (JDK) compiler. Up to now our application had to be compatible with other app.servers and we used only the WL Builder tool from v.8.1 to build the specific deployment descriptors. We searched for a similar tool in WL 10.0 but we didn't managed to find one.
We tried the migration tools supplied with WL 10.0 to migrate the deployment descriptors. The result of the EAR (EJB) with the migrated DDs is the same as the demonstrated.
Please be more specific - what do you mean by "WL 10.0 compilers and builders"? To be honest we are migrating to WL 10.0 on the fly - we have almost no time to read the docs, so any clue on "WL 10.0 compilers and builders" is appreciate. -
How can I create a new EJB project ?
Hi,
I downloaded the trial version and I don't know how to create an EJB project ?
When I create a new project, I've only the web template to choose.
Where can I find informations about that ?
Thanks.
jackHi Jack,
This version of the Creator allows you to build applications which access existing EJB's, but doesn't create new EJB's from scratch. We are looking into that for future releases.
If you want to access an existing EJB, please see the tutorials:
http://devservices.sun.com/premium/jscreator/standard/learning/tutorials/sessionEJBcomps.pdf
I believe the Sun Java Studio Standard product can help you create EJB's today, if that's what you need:
http://developers.sun.com/prodtech/javatools/jsstandard/index.html
hth,
Val -
The selected Flex SDK does not support building mobile projects
I am unable to create a new Actionscript Mobile project. The new project dialogue gives the error: "The selected Flex SDK does not support building mobile projects." I tried seting the default Flec SDK both to the SDK included with Flash Builder 4.7, and also to a version of the 4.6.0 SDK (build 23201) with AIR 3.3 SDK overlayed on it, which already existed on my computer. Both resulted in the same error. Any ideas?
Hi ,
Actionscript Mobile projects use AIR SDK by default in Flash Builder 4.7 . Flex SDK won't be used for Actionscript projects.
Could you please try creating an Actionscript project in fresh workspace and let me know if the issue still exists.
Also attach screenshot and error log if any.
Thanks,
Sanjay -
How to call external jar files in EJB project for CE
Hi,
I would be thankful if someone could help me with this -
I need to call the external jar files into my EJB project - Here is what I have done and am getting runtime exception as -
java.lang.RuntimeException: java.lang.NoClassDefFoundError: com/glance/pdf/pt/PTDoc
1. Created a EJB project" HelloWorld " using Java perspective in NWDS 7.1 called with client as HelloWorldClient and EAR project as HelloWorldEAR.
2. Am working on HelloWorld project (1st one).
3. In my code I am instantiating a class which is a class in one of the external jar file that I need to refer in my project.
4. I have set the Java Build path but it works only for the compile time and fails during runtime.
5. Have read I need to create external library DC and refer in my project "HelloWorld".
Can anyone help me with exact steps what needs to be done - during creation of external library project and then for my "HelloWorld" EJB project. How would I be able to reference or set the external library project in my EJB project?
Looking forward to hear from experts.
Thanks,
Shiv
Edited by: Shiv Khullar on Aug 30, 2010 9:39 PMHi Edson,
I tried it , but it still gives me runtime exception.
javax.ejb.EJBException: nested exception is: java.lang.RuntimeException: java.lang.NoClassDefFoundError: com/glance/pdf/pt/PTDoc
java.lang.RuntimeException: java.lang.NoClassDefFoundError: com/glance/pdf/pt/PTDoc
Steps I performed are -
1. Created a library project and created 2 Public parts "Compilation" and "Assembly"
2. Build the library project.
Now in my EJB project using Project Explorer - set the classpath and added both compilation jar and assembly jar files.
This is how the classpath entries for external library looks like -
<classpathentry kind="lib" path="/LocalDevelopmentLocalDevelopmentexternallibrarypdftoolsforwatermarkingdemo.sap.com/gen/default/public/WatermarkAssembly/lib/java/demo.sap.comexternallibrarypdftoolsforwatermarking~WatermarkAssembly.jar"/>
<classpathentry kind="lib" path="/LocalDevelopmentLocalDevelopmentexternallibrarypdftoolsforwatermarkingdemo.sap.com/gen/default/public/WatermarkCompilation/lib/java/demo.sap.comexternallibrarypdftoolsforwatermarking~WatermarkCompilation.jar"/>
I have also added the jar files I used in my external library project as "User Library" from Java Build Path . I dont do it , then the code fails during compilation itself.
Regards,
Shiv -
Hi,
i am doin java client proxy in XI.i ve imported the beans generated from XI into an EJB project in NDS and have changed the ejb-jar.xml accordingly.However the "BUILD EJB ARCHIVE" option is not enabled.Can anyone help?
Regards,
DivyaHI
GOOD
GO THROUGH THESE LINKS
http://help.sap.com/saphelp_nw04/helpdata/en/86/58cd3b11571962e10000000a11402f/content.htm
http://www.sapgenie.com/xi/
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f272165e-0401-0010-b4a1-e7eb8903501d
THANKS
MRUTYUN -
Cannot build EJB jar file in NWDS
hello,
I changed java beans file, and tried to build jar file again, then the "build EJB archive" context menu is disabled so I can not make EJB jar file!
So frustrated.. NWDS recognizes the changes in the java files , right? How come there 's no Build menu..
Is there any pre-requisite to enable the menu?
I have no idea how I can build jar file..
Please give me a advice.. Thanks~!You might check the weblogic.developer.interest.ejb.tools new group.
Make sure that the tool doesn't leave this ejbcgen directory around. It
should delete
that temp dir. When it doesn't it keeps all the old generated stuff around
and your changes won't be
reflected in the new jar.
Rodrigo Ruiz Aguayo <[email protected]> wrote in message
news:[email protected]..
Hi,
I have a problem with the EJBDeployerTool. When I want to update
a class file (for example, because I corrected any problem), the
deployer tool doesn't update the file correctly. It keeps the
old version of the class file.
In order to update a jar I have to copy the newer version in the
.ejbdeployer/provider-projects directory by hand. Is it a bug?
Is there any other way to do this? We are wasting too much time
in this task, instead of programming :_(
Thanks in advance,
José Rodrigo Ruiz Aguayo e-mail : [email protected]
I.T. en Informática de Sistemas webpage : ---------------------
"Simulation is perfect, whenever we're not talking about reality"
Maybe you are looking for
-
Pessoal, boa tarde! Alguém já precisou tratar recebimento de CTe com Tipo de Emissão = 7 (entendi que é SEFAZ Virtual RS)? Pelo manual do CTe temos estes valores possíveis: Preencher com: 1 - Normal; 5 - Contingência FSDA; 7 - Autorização pela SVC-RS
-
ITunes doesn't see any of my iCal Calendars i
I'm trying to sync my iCal to my iPod Touch, but not having any luck. I had it syncing via "Exchange Account" through NuevaSync but there are some issues there...decided to go back to sync via the cable. I am now unable to see any of my calendars in
-
Enterprise Manager on RedHat 6.0
I have just installed the download version of 8i on a RedHat 6.0 system. The install went reasonably smooth once I found all the extra pieces (JRE, TCL rpm's etc) that were needed. My problem is that I can't get Enterprise Manager to work. Issuing an
-
Can a 4th generation ipod touch have a second hard drive?
i have a 4th generation ipod touch and i am wondering if it is possible to have a second hard drive on it?
-
OK, i give been trying to configure a printer for a week, starting to feel really silly and a bit irritated........printer install should=not brain surgery...... got cups up and running, tried /usr/sbin/lpadmin -p DeskJet -E -v parallell:/dev/lpl -m