EJB compilation and deployment problems
Dear fellows
I have good understanding of EJB development process, but the compilation and deployment process of EJB is very problematic for me. Please write me the complete steps which should include:
1. Starting from class, interface programs creation
2. Package creation and accessing it along with class path setting
3. How and where to compile these classes and interfaces (app server details), JAR
4.deployment details on any app server like SUN, web logic
Kind regards
Shahzad faisal
Dear fellowsDear Shahzad faisal
Start with the JEE5 tutorial:
http://java.sun.com/javaee/5/docs/tutorial/doc/
Part 3 discusses EJB stuff
I would recommend going to a few samples, bundled with most of the appservers to see the appserver specific stuff.
>
I have good understanding of EJB development process,
but the compilation and deployment process of EJB is
very problematic for me. Please write me the complete
steps which should include:
1. Starting from class, interface programs creationSo you have the classes and interface implemented.
Next thing is to create a ejb-jar.xml in which your EJBs are defined (optional for EJB3.0)
2. Package creation and accessing it along with class
path settingPackaging all in a jar file is enough for an appserver to find your classes.
3. How and where to compile these classes and
interfaces (app server details), JARCompilation usually needs the javx.ejb.* classes, most appservers have a j2ee.jar in which the javax.* classes you need are present.
in jour jar file you package your classes and deployment descriptor
4.deployment details on any app server like SUN, web
logicDeployment to appservers is product specific, see the manual here.
you may want to add some other , vedor specific, deployment settings which are not ejb specification defined, these go into a vendor specific DD, for Sun for example the sun-ejb-jar.xml.
>
Kind regards
Shahzad faisal
Similar Messages
-
Having problem in compiling and deploying servlet
please tell me about environment variable because i m totally confused.i want to know why do i need to set environment variable.and how would it help me to compile and deploy my first servlet.
i also want to know about Class path and path.
please tell me this.
i'll really appreciatethanks a lot.
i got my first servlet compiled deployed and run.
thanks againYou are welcome. If you think it really help, you can assign duke star to me :)
Good luck to your web application. -
Is there anyone at all here who has successfully compiled and deployed an SSRS custom report item in VS2012? Is there a demo out there that actually works in VS2012? Is there anyone who has actually been able to compile and deploy that
apparently obsolete Polygons demo? (Pardon my impatience but I'm running a bit short of time here.)
After much hacking and googling I was able to get Polygons to compile but I still can't deploy it to the toolbox. ('The custom report item type PolygonsDesigner is not installed'). I've modified the RSReportDesigner.config
as instructed but I have no rssrvpolicy.config file on my local machine and
as yet I have no idea if that is necessary for local development.
In order to get it to compile I first added the reference C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\PrivateAssemblies\Microsoft.ReportingServices.ProcessingCore.dll to both projects.
To the PolygonsDesigner Project I also added the references:
C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\PrivateAssemblies\Microsoft.ReportDesigner.Controls.dll
C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\PrivateAssemblies\Microsoft.ReportingServices.Designer.11.0.dll
C:\Program Files (x86)\Microsoft SQL Server\110\Tools\Binn\Microsoft.ReportingServices.Interfaces.dll
Are these the correct references?
Exactly what software do you need installed on your local machine in addition to VS2012 in order to create a custom control?
(Designer.11.0 was added per the instructions in reference: https://connect.microsoft.com/VisualStudio/feedback/details/783391/unable-to-integrate-previously-working-ssrs-custom-report-item-to-vs-2012s-toolbox
After that I added the alias RSDesigner to it's properties and extern alias RSDesigner; at the top of the PolygonsDesigner.cs file. )
As of now, the top of the PolygonsDesigner.cs is as follows. I don't recall making any other changes to the code. As far as I can remember this is all I did in order to be able to compile the code in VS2012.
extern alias RSDesigner;
using System;
using System.ComponentModel;
using System.ComponentModel.Design;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
using System.Drawing;
using System.Windows.Forms;
using Microsoft.ReportDesigner;
using Microsoft.ReportDesigner.Design;
using Microsoft.ReportingServices.Interfaces;
using Microsoft.ReportingServices.RdlObjectModel;
using System.Xml;
using System.Xml.Xsl;
using System.Xml.XPath;
[LocalizedName("Polygons")]
[Editor(typeof(CustomEditor), typeof(ComponentEditor))]
[ToolboxBitmap(typeof(PolygonsDesigner), "Polygons.ico")]
[CustomReportItem("Polygons")]
[ToolboxItem(typeof(RSDesigner::Microsoft.ReportDesigner.Shell.CRIToolboxItem))]
[System.CLSCompliant(false)]
public class PolygonsDesigner : CustomReportItemDesigner
{ etc...Just fixed this myself.
It appears the documentation online is wrong and the sample code is missing a reference to a reporting services dll and an attribute.
What you need to do to get it working in VS2012 is add a reference to: Microsoft.ReportingServices.designer.11.0.dll to the PolygonsDesigner project and then add the following attribute to the PolygonsDesigner class: [ToolboxItem(typeof(Microsoft.ReportDesigner.Shell.CRIToolboxItem))]
I also removed the [System.CLSCompliant(false)] attribute.
You then recompile and place both dlls in C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\PrivateAssemblies directory and the PolygonsDesigner.dll into the C:\Program Files\Microsoft SQL Server\MSRS11.MSSQLSERVER\Reporting Services\ReportServer\bin
or what ever is you reporting services path.
You also need to change the Microsoft example for the rereportserver.config file to:
<ReportItemDesigner>
<ReportItem Name="Polygons" Type="Microsoft.Samples.ReportingServices.PolygonsDesigner, PolygonsDesigner" />
</ReportItemDesigner>
<ReportItems>
<ReportItem Name="Polygons" Type="Microsoft.Samples.ReportingServices.PolygonsCRI,PolygonsCRI"/>
</ReportItems>
Notice that I changed the namespaces and class to what is in the actual code so if you change it make sure you change it here.
And here in the RSReportDesigner.config:
<ReportItems>
<ReportItem Name="Polygons" Type="Microsoft.Samples.ReportingServices.PolygonsCustomReportItem,PolygonsCRI" />
</ReportItems>
<ReportItemDesigner>
<ReportItem Name="Polygons" Type="Microsoft.Samples.ReportingServices.PolygonsDesigner, PolygonsDesigner" />
</ReportItemDesigner>
<ReportItemConverter>
<Converter Source="Chart" Target="Polygons" Type="PolygonsCRI.PolygonsConverter, PolygonsDesigner" />
</ReportItemConverter>
Notice I haven't changed the last part as I didn't know what the PolygonsCRI.PolygonsConverter was.
And make sure the rssrvpolicy.config looks like this:
<CodeGroup class="UnionCodeGroup" version="1" PermissionSetName="FullTrust" Description="This code group grants PolygonsCRI.dll FullTrust permission. ">
<IMembershipCondition class="UrlMembershipCondition" version="1" Url="C:\Program Files\Microsoft SQL Server\MSRS10_50.SQLSERVER\Reporting Services\ReportServer\bin\PolygonsCRI.dll" />
</CodeGroup>
After a restart of ssrs and relaunch of VS2012 I opened a test project and added the PolygonsDesigner.dll to the toolbox and it works.
Jamie -
Steps to compile and deploy files on jsap
steps to compile and deploy files on jsap
classpath that has to be set
where to put the .class files
(Where to fnd JNDI tab)jsas-sun java application Server
I like to depoy servlet files on this server
But it requires cloudscape to be started
(database server)
i have not even a single entry in the name of cloudscape -
VC - Compile and Deploy performance issues related to UserID
Dear Guru's,
I'm currently working at a customer where a small team of 4 is working with VC 7.0.
One user has very long Compile and Deploy times. We first thought that it was related to his workstation.
Then one of the other guys logged in on his PC and run the compile + deploy ant then it suddenly takes seconds again.
So we created a new userID for this user who has the issues "<oldUI>+test" and suddenly all is back to normal for him.
But, now here it comes that we deleted his old userID and created it again, but the issue is still there.
So my assumption is that there is some kind of faulty record or index or something other strange linked to his userID.
What can this be and how can we solve it?
Thanks in advance!
BenjaminHi Anja,
We use VC on 7.0 and we do not have any integration with the DTR.
So in other words we use the default way of working with VC.
The user had his models in his Personal folder then moved it to the Public folder so that other colleagues could see/try them as well. It doesn't matter where the model is stored (public or personal) as long if this specific UID is used compiling/deploying goes very slow... the log files do not give much info, why this happens...
Cheers,
Benjamin -
Spring 2.5.5 and EJB 3.0 Deployment problem in WLS 10.3
Hi,
I am attempting to deploy a EAR file that previously ran on SJSAS 9.1 update 1 to WLS 10.3. As part of the deployment I get the following error related to the EJB3 classes.
There are 1 nested errors: weblogic.j2ee.dd.xml.AnnotationProcessException: [EJB:015002]Unable to load class au.edu.cqu.cis.web.ajaxservice.AjaxServicesBean in Jar D:\dev\env\oracle\middleware\jdeveloper\system\system11.1.1.0.31.51.56\DefaultDomain\servers\DefaultServer\tmp\_WL_user\ProgEnrol-ear-3\v540rk\ProgEnrol-ejb-3.0.4-SNAPSHOT.jar : java.lang.ArrayStoreException: sun.reflect.annotation.TypeNotPresentExceptionProxy
I suspect that this is related to the @Autowired spring annotation in use in the session bean. Either, the server is not finding the Spring JAR correctly or it has a problem with the annotation.
Can anyone point me in the right direction? Do I need to deploy the spring jar as a library?
Thank you.
Regards,
Graeme.Hi, Graeme.
Seems there is an existing CR on something related from v10.0: CR353213
* WLS 10.0 - EJB 3.0 deployment fails when parsing class for Stateless annotation
According to http://edocs.bea.com/wls/docs103/issues/known_resolved.html, this is not addressed in 10.3
Closely review your classpath, and then (assuming you have access to the source) review the body of your ejb. If it is related to this CR, you may be able to workaround the issue by shortening the body and split large methods into more sub-methods.
I hope this helps,
-Adrian -
Compiling EJB files and Deployment Discriptor
Hi,
Could any body tell me step by step process of compiling EJB files and building deployment descriptor. I want to learn from scrap. I search on web but not found material that I need.
Actually I've made a simple EJB example now I want to compile and want to write a deployment descriptor for that using ant or javac.
You can also refer me tutorial describing the process form scrap.
Looking forward,
Regards,
AbbasiAlthough you could deploy each bean in a different .jar file , deploying them
together in an jar file produces a classloader arrangement that allows one ejb
class to refer to another ejb class. Packaging ejb jar files in a ear file produces
a common classloader for the ejb jar files.
"Gary Gu" <[email protected]> wrote:
>
Hi,
To build ejb jar files, we can include all beans (including bean class,
home,
inteface, and other java classes) of the application into one jar file.
Or we
can make ONE jar file for EACH bean (including only bean class, home
and interface.
NOT other dependent classes that will sit in weblogic server classpath).
I would like to know any disadvantage for second method in terms of memory,
class
loading, etc. Or any advantage for the second method
Thanks -
WLS 10 and ejb 3 projct deployment problem
hi all, my env. looks like :
vls version : 10
java version : 1.6.0.04
operating system : Solaris SPARC 64-bit.
problem :
when i try to deploy my simplest ejb 3 project i got this error :
weblogic.management.DeploymentException: [Deployer:149189]Attempt to operate 'distribute' on null BasicDeploymentMBean for deployment Test.
at weblogic.deploy.internal.targetserver.DeploymentManager.assertDeploymentMBeanIsNonNull(DeploymentManager.java:1281)
at weblogic.deploy.internal.targetserver.DeploymentManager.findDeploymentMBean(DeploymentManager.java:1322)
at weblogic.deploy.internal.targetserver.DeploymentManager.createOperation(DeploymentManager.java:1022)
at weblogic.deploy.internal.targetserver.DeploymentManager.createOperations(DeploymentManager.java:1368)
at weblogic.deploy.internal.targetserver.DeploymentManager.handleUpdateDeploymentContext(DeploymentManager.java:160)
at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.updateDeploymentContext(DeploymentServiceDispatcher.java:153)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doUpdateDeploymentContextCallback(DeploymentRe
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.updateDeploymentContext(DeploymentReceiverCall
at weblogic.deploy.service.internal.statemachines.targetserver.ReceivedPrepare.callDeploymentReceivers(ReceivedPrepare.java:199)
at weblogic.deploy.service.internal.statemachines.targetserver.ReceivedPrepare.handlePrepare(ReceivedPrepare.java:110)
at weblogic.deploy.service.internal.statemachines.targetserver.ReceivedPrepare.receivedPrepare(ReceivedPrepare.java:52)
at weblogic.deploy.service.internal.targetserver.TargetRequestImpl.run(TargetRequestImpl.java:211)
at weblogic.deploy.service.internal.transport.CommonMessageReceiver$1.run(CommonMessageReceiver.java:408)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:464)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)
i can't resolve this issues for a week, pls help me.
everything works fine at home on my PC where i have windows XP Professional OS.
any idea will be appreciated.
Regards,
Paata.
Magticom LTD, Georgia.
Edited by paatal at 02/11/2008 5:56 AM
Edited by paatal at 02/11/2008 5:57 AMHi, Graeme.
Seems there is an existing CR on something related from v10.0: CR353213
* WLS 10.0 - EJB 3.0 deployment fails when parsing class for Stateless annotation
According to http://edocs.bea.com/wls/docs103/issues/known_resolved.html, this is not addressed in 10.3
Closely review your classpath, and then (assuming you have access to the source) review the body of your ejb. If it is related to this CR, you may be able to workaround the issue by shortening the body and split large methods into more sub-methods.
I hope this helps,
-Adrian -
How to compile and deploy an ejb into Sun ONE app.server 7.0
I am new to Sun ONE application server. I Have .java files and deployment descriptor files with me. How should proceed. When i tried to use asant it is saying that build.xml not found. I copied build.xml from some other directory to the current directory. Then it is saying that common.xml not found. Please help.
Regards,
Nagaraju.Hi,
The build.xml file should be in a directory from where
you are running the asant command.
To resolve the common.xml file not found error,
open your build.xml and check from which location the common.xml file is incuded.
In the sample application it is four directories above
the directory where build.xml is located.
You can copy the common.xml in the current directory and then change the following in your build.xml
<!ENTITY include SYSTEM "../../../../common.xml">
to <!ENTITY include SYSTEM "common.xml">
Hope this helps.
Get back in case you have more issues -
EJB2 application on Weblogic10 appc and deployment problem
Hi,
I am trying to migrate my EJB2.0 application from WLS7 jdk4 to WLS10 jdk5. I compiled my application with jdk5 and WLS10 libraries then I am trying to run weblogic.appc on my application it complains that there is some class missing (see the below exception) .. then i try to deploy the jar without running appc on it.. i am getting another exception.. Please help if i am missing any library that is used by appc. I tried to look into all the jars shipped with WLS10 but unable to find that class..
weblogic.appc exception
Exception in thread "main" java.lang.NoClassDefFoundError: weblogic/descriptor/BeanUpdateListen
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:164)
at weblogic.logging.MessageLogger.<clinit>(MessageLogger.java:45)
at weblogic.logging.WLMessageLogger.log(WLMessageLogger.java:51)
at weblogic.j2ee.J2EELogger.logAppcFailedWithError(J2EELogger.java:5257)
at weblogic.application.compiler.Appc.runBody(Appc.java:174)
at weblogic.utils.compiler.Tool.run(Tool.java:158)
at weblogic.utils.compiler.Tool.run(Tool.java:115)
at weblogic.application.compiler.Appc.main(Appc.java:183)
at weblogic.appc.main(appc.java:14)
Deployment exception on WLS10
<Aug 24, 2007 9:58:09 AM PKT> <Error> <J2EE> <BEA-160197> <Unable to load descriptor /ecds/bea100/user_projects/domains/
fmsdomain/servers/AdminServer/upload/FMS-raw.jar/META-INF/ejb-jar.xml of module FMS-raw.jar. The error is weblogic.descr
iptor.DescriptorException: Unmarshaller failed
at weblogic.descriptor.internal.MarshallerFactory$1.createDescriptor(MarshallerFactory.java:152)
at weblogic.descriptor.BasicDescriptorManager.createDescriptor(BasicDescriptorManager.java:292)
at weblogic.descriptor.BasicDescriptorManager.createDescriptor(BasicDescriptorManager.java:260)
at weblogic.application.descriptor.AbstractDescriptorLoader2.getDescriptorBeanFromReader(AbstractDescriptorLoade
r2.java:774)
at weblogic.application.descriptor.AbstractDescriptorLoader2.createDescriptorBean(AbstractDescriptorLoader2.java
:395)
at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBeanWithoutPlan(AbstractDescriptorLoa
der2.java:745)
at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBean(AbstractDescriptorLoader2.java:7
54)
at weblogic.ejb.spi.EjbJarDescriptor.getEjbJarBean(EjbJarDescriptor.java:131)
at weblogic.ejb.spi.EjbJarDescriptor.getEditableEjbJarBean(EjbJarDescriptor.java:171)
at weblogic.ejb.container.dd.xml.EjbDescriptorReaderImpl.processEjbJarXMLWithSchema(EjbDescriptorReaderImpl.java
:673)
at weblogic.ejb.container.dd.xml.EjbDescriptorReaderImpl.processEjbJarXML(EjbDescriptorReaderImpl.java:220)
at weblogic.ejb.container.dd.xml.EjbDescriptorReaderImpl.createDescriptorFromJarFile(EjbDescriptorReaderImpl.jav
a:172)
at weblogic.ejb.spi.EjbDescriptorFactory.createDescriptorFromJarFile(EjbDescriptorFactory.java:73)
at weblogic.application.compiler.EJBModule.merge(EJBModule.java:130)
at weblogic.application.compiler.flow.SingleModuleMergeFlow.proecessModule(SingleModuleMergeFlow.java:16)
at weblogic.application.compiler.flow.SingleModuleFlow.compile(SingleModuleFlow.java:31)
at weblogic.application.compiler.FlowDriver$FlowStateChange.next(FlowDriver.java:69)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
at weblogic.application.compiler.FlowDriver.nextState(FlowDriver.java:36)
at weblogic.application.compiler.FlowDriver$CompilerFlowDriver.compile(FlowDriver.java:96)
at weblogic.application.compiler.ReadOnlyEjbMerger.merge(ReadOnlyEjbMerger.java:27)
at weblogic.application.compiler.flow.AppMergerFlow.mergeInput(AppMergerFlow.java:94)
at weblogic.application.compiler.flow.AppMergerFlow.compile(AppMergerFlow.java:47)
at weblogic.application.compiler.FlowDriver$FlowStateChange.next(FlowDriver.java:69)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
at weblogic.application.compiler.FlowDriver.nextState(FlowDriver.java:36)
at weblogic.application.compiler.FlowDriver$CompilerFlowDriver.compile(FlowDriver.java:96)
at weblogic.application.compiler.AppMerge.runBody(AppMerge.java:137)
at weblogic.utils.compiler.Tool.run(Tool.java:158)
at weblogic.utils.compiler.Tool.run(Tool.java:115)
at weblogic.application.compiler.AppMerge.merge(AppMerge.java:149)
at weblogic.deploy.api.internal.utils.AppMerger.merge(AppMerger.java:70)
at weblogic.deploy.api.internal.utils.AppMerger.getMergedApp(AppMerger.java:51)
at weblogic.deploy.api.model.internal.WebLogicDeployableObjectFactoryImpl.createDeployableObject(WebLogicDeploya
bleObjectFactoryImpl.java:177)
at weblogic.deploy.api.model.internal.WebLogicDeployableObjectFactoryImpl.createLazyDeployableObject(WebLogicDep
loyableObjectFactoryImpl.java:150)Sorry for delayed reply. Actually my problem related to deployment is resolved. There were duplicate entries of the same name in the ejb-jar.xml and it seems that weblogic10 parser is more strict on that. I have successfully build and deployed my application on WL10 at AIX. But i am still having problem to run appc on windows. Its throwing the following exception
[java] Created working directory: C:\DOCUME~1\kymsh2\LOCALS~1\Temp\appcgen_1188625950850_FMS-raw.jar
[java] [GC 8128K->3358K(130112K), 0.0161498 secs]
[java] [GC 11486K->5074K(130112K), 0.0172815 secs]
[java] [GC 13202K->5831K(130112K), 0.0129304 secs]
[java] [GC 13959K->6728K(130112K), 0.0116495 secs]
[java] <Sep 1, 2007 10:52:38 AM GMT+05:00> <Error> <J2EE> <BEA-160197> <Unable to load descriptor E:\FMSAntBuild\WL
S10_Build\jars\FMS-raw.jar/META-INF/ejb-jar.xml of module FMS-raw.jar. The error is java.io.IOException
[java] at weblogic.descriptor.internal.MarshallerFactory.<init>(MarshallerFactory.java:50)
[java] at weblogic.descriptor.BasicDescriptorManager.getMarshallerFactory(BasicDescriptorManager.java:131)
[java] at weblogic.descriptor.BasicDescriptorManager.getDescriptorFactory(BasicDescriptorManager.java:165)
[java] at weblogic.descriptor.BasicDescriptorManager.createDescriptor(BasicDescriptorManager.java:289)
[java] at weblogic.descriptor.BasicDescriptorManager.createDescriptor(BasicDescriptorManager.java:260)
[java] at weblogic.application.descriptor.AbstractDescriptorLoader2.getDescriptorBeanFromReader(AbstractDescrip
torLoader2.java:774)
[java] at weblogic.application.descriptor.AbstractDescriptorLoader2.createDescriptorBean(AbstractDescriptorLoad
er2.java:395)
[java] at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBeanWithoutPlan(AbstractDescr
iptorLoader2.java:745)
[java] at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBean(AbstractDescriptorLoader
2.java:754)
[java] at weblogic.ejb.spi.EjbJarDescriptor.getEjbJarBean(EjbJarDescriptor.java:131)
[java] at weblogic.ejb.container.dd.xml.EjbDescriptorReaderImpl.processEjbJarXMLWithSchema(EjbDescriptorReaderI
mpl.java:671)
[java] at weblogic.ejb.container.dd.xml.EjbDescriptorReaderImpl.processEjbJarXML(EjbDescriptorReaderImpl.java:2
20)
[java] at weblogic.ejb.container.dd.xml.EjbDescriptorReaderImpl.createReadOnlyDescriptorFromJarFile(EjbDescript
orReaderImpl.java:185)
[java] at weblogic.ejb.spi.EjbDescriptorFactory.createReadOnlyDescriptorFromJarFile(EjbDescriptorFactory.java:9
3)
[java] at weblogic.ejb.container.ejbc.EJBCompiler.parseDescriptors(EJBCompiler.java:1430)
[java] at weblogic.ejb.container.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:467)
[java] at weblogic.application.compiler.AppcUtils.compileEJB(AppcUtils.java:298)
[java] at weblogic.application.compiler.EJBModule.compile(EJBModule.java:83)
[java] at weblogic.application.compiler.flow.SingleModuleCompileFlow.proecessModule(SingleModuleCompileFlow.jav
a:16)
[java] at weblogic.application.compiler.flow.SingleModuleFlow.compile(SingleModuleFlow.java:31)
[java] at weblogic.application.compiler.FlowDriver$FlowStateChange.next(FlowDriver.java:69)
[java] at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
[java] at weblogic.application.compiler.FlowDriver.nextState(FlowDriver.java:36)
[java] at weblogic.application.compiler.FlowDriver.run(FlowDriver.java:26)
[java] at weblogic.application.compiler.EJBCompiler.compile(EJBCompiler.java:25)
[java] at weblogic.application.compiler.flow.AppCompilerFlow.compileInput(AppCompilerFlow.java:118)
[java] at weblogic.application.compiler.flow.AppCompilerFlow.compile(AppCompilerFlow.java:43)
[java] at weblogic.application.compiler.FlowDriver$FlowStateChange.next(FlowDriver.java:69)
[java] at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
[java] at weblogic.application.compiler.FlowDriver.nextState(FlowDriver.java:36)
[java] at weblogic.application.compiler.FlowDriver.run(FlowDriver.java:26)
[java] at weblogic.application.compiler.Appc.runBody(Appc.java:172)
[java] at weblogic.utils.compiler.Tool.run(Tool.java:158)
[java] at weblogic.utils.compiler.Tool.run(Tool.java:115)
[java] at weblogic.application.compiler.Appc.main(Appc.java:183)
[java] at weblogic.appc.main(appc.java:14)
[java] Caused by: com.bea.xml.XmlException: unable to load type library from classloader sun.misc.Launcher$AppClass
Loader@133056f
[java] at com.bea.staxb.runtime.internal.BindingContextFactoryImpl.createBindingContext(BindingContextFactoryIm
pl.java:50)
[java] at weblogic.descriptor.internal.MarshallerFactory.<init>(MarshallerFactory.java:48)
[java] ... 35 more
[java] .>
[java] com.bea.xml.XmlException: unable to load type library from classloader sun.misc.Launcher$AppClassLoader@1330
56f
[java] at com.bea.staxb.runtime.internal.BindingContextFactoryImpl.createBindingContext(BindingContextFactoryIm
pl.java:50)
[java] at weblogic.descriptor.internal.MarshallerFactory.<init>(MarshallerFactory.java:48)
[java] at weblogic.descriptor.BasicDescriptorManager.getMarshallerFactory(BasicDescriptorManager.java:131)
[java] at weblogic.descriptor.BasicDescriptorManager.getDescriptorFactory(BasicDescriptorManager.java:165)
[java] at weblogic.descriptor.BasicDescriptorManager.createDescriptor(BasicDescriptorManager.java:289)
[java] at weblogic.descriptor.BasicDescriptorManager.createDescriptor(BasicDescriptorManager.java:260)
[java] at weblogic.application.descriptor.AbstractDescriptorLoader2.getDescriptorBeanFromReader(AbstractDescrip
torLoader2.java:774)
[java] at weblogic.application.descriptor.AbstractDescriptorLoader2.createDescriptorBean(AbstractDescriptorLoad
er2.java:395)
[java] at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBeanWithoutPlan(AbstractDescr
iptorLoader2.java:745)
[java] at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBean(AbstractDescriptorLoader
2.java:754)
[java] at weblogic.ejb.spi.EjbJarDescriptor.getEjbJarBean(EjbJarDescriptor.java:131)
[java] at weblogic.ejb.container.dd.xml.EjbDescriptorReaderImpl.processEjbJarXMLWithSchema(EjbDescriptorReaderI
mpl.java:671)
[java] at weblogic.ejb.container.dd.xml.EjbDescriptorReaderImpl.processEjbJarXML(EjbDescriptorReaderImpl.java:2
20)
[java] at weblogic.ejb.container.dd.xml.EjbDescriptorReaderImpl.createReadOnlyDescriptorFromJarFile(EjbDescript
orReaderImpl.java:185)
[java] at weblogic.ejb.spi.EjbDescriptorFactory.createReadOnlyDescriptorFromJarFile(EjbDescriptorFactory.java:9
3)
[java] at weblogic.ejb.container.ejbc.EJBCompiler.parseDescriptors(EJBCompiler.java:1430)
[java] at weblogic.ejb.container.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:467)
[java] at weblogic.application.compiler.AppcUtils.compileEJB(AppcUtils.java:298)
[java] at weblogic.application.compiler.EJBModule.compile(EJBModule.java:83)
[java] at weblogic.application.compiler.flow.SingleModuleCompileFlow.proecessModule(SingleModuleCompileFlow.jav
a:16)
[java] at weblogic.application.compiler.flow.SingleModuleFlow.compile(SingleModuleFlow.java:31)
[java] at weblogic.application.compiler.FlowDriver$FlowStateChange.next(FlowDriver.java:69)
[java] at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
[java] at weblogic.application.compiler.FlowDriver.nextState(FlowDriver.java:36)
[java] at weblogic.application.compiler.FlowDriver.run(FlowDriver.java:26)
[java] at weblogic.application.compiler.EJBCompiler.compile(EJBCompiler.java:25)
[java] at weblogic.application.compiler.flow.AppCompilerFlow.compileInput(AppCompilerFlow.java:118)
[java] at weblogic.application.compiler.flow.AppCompilerFlow.compile(AppCompilerFlow.java:43)
[java] at weblogic.application.compiler.FlowDriver$FlowStateChange.next(FlowDriver.java:69)
[java] at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
[java] at weblogic.application.compiler.FlowDriver.nextState(FlowDriver.java:36)
[java] at weblogic.application.compiler.FlowDriver.run(FlowDriver.java:26)
[java] at weblogic.application.compiler.Appc.runBody(Appc.java:172)
[java] at weblogic.utils.compiler.Tool.run(Tool.java:158)
[java] at weblogic.utils.compiler.Tool.run(Tool.java:115)
[java] at weblogic.application.compiler.Appc.main(Appc.java:183)
[java] at weblogic.appc.main(appc.java:14)
[java] unable to load type library from classloader sun.misc.Launcher$AppClassLoader@133056f
[java] Java Result: 1
**** ANY IDEA.. ANY BODY ??? ************* -
EJB 3.0 deployment problem
I just started learning EJB3.0. I created a slsb application very similar to the converter available in the tutorial sample. However when i build and deploy the app I am getting this error ->This application client has no ejb refernce by the name simpleSessionRemote. This happens when I have app-client jar inside the ear. For only jar and war inside the ear there is no deployement problems. I am using NetBeans 5.5 and Sun App server. Anyone has come across similar issue?
How are you looking up the remote ejb dependency in the app client -- via @EJB or InitialContext()?
Please post the source code for the app client, the full error message/stack trace, and any of the following files that exist in the .ear : sun-ejb-jar.xml, application-client.xml, sun-application-client.xml, ejb-jar.xml .
--ken -
32 K error while compiling and deploying flex application
Hi SAP Team,
This is regarding the modelling of complex and huge models in VC and
errors when modelling the same.
I have a huge and complex model containing more than 100 queries from
BI 7.0 system which iam using for modelling a VC application.I have 5
layers to display the queries data.
Iam getting deployment error when iam deploying the application which
is a 32 K flex deployment error.
I have modelled the application with multiple nested iviews and
multiple layers.
I have the following questions regarding the above VC model:
1)is there a upper limit of number of queries or services ( i have used
around 100 queries in the above model)that can be used in VC Model
2)is there any performance issue of using this many number of queries
in a single model and running all the queries on a single submit button
click.
3)How to deal with adobe flex compilation error when deploying large or
complex models
4)I have used all the best modelling practices in my model as per note
936390 .But still iam getting the error.
Thanks
P.Navakanth
+919985555065Can anyone pelase tell me what is the significance of the component:
com.sap.visualcomposer.vcflex.default
iam asking the above question because, theversion of above component is different from my actual v ersion of portal i.e EP is at Version 7.0 and SP 16 but the above component is at version7.0 and SP 10.
the SAP note 936390 says that The fix for 32k flex deployment problem was introduced with the release of flex2.0 runtime in SP14 patch 2.
I want to check whether the above component ( com.sap.visualcomposer.vcflex.default ) is actually causing the issue.
To see the component versions of your sap EP please navigate to
http://host:Port/sap/monitoring/ComponentInfo
Thanks
P.Navakanth -
How to compile and deploy JAX-WS web service from commandline (!) ?
I have read a couple of tutorials about how to create and deploy web services with
certain IDEs (e.g. Eclipse).
But I found no guide on how to compile a java web service source from command line !!
Lets say I have a java source class with annotations inside (like "@WebMethod").
How do I generate with the built-in j2ee v5 tools from a web service from command line and deploy it e.g. to TomCat or JBoss ?
Is there somewhere such a simple step-by-step intro?
Thx
PeterYou can download JWSDP 2.0 from sun and install it. Under jaxws (the installed directory) you can find sample directory which has build.xml can be run from command prompt using ant. if you want in detail means go through the build.xml and use wsgen.bat or wsimport under the bin directory of jaxws
Edited by: Muyallu_Bala on Apr 14, 2008 5:49 AM -
Slow Application if compiled and Deployed to CRIO
Hello all
I've developed an application that uses 16 channel from 4 9233 modules (the controller is 9004) onto disk.
The application works perfectly if run in development environment (LV 8.0.1) but it's incredibly slow if compiled with application builder and deployed to the RT controller (of course same application and same everything). It's so slow that the FIFO fills up and I can collect data no more.
Is there any workaround?
thanks in advance
giovanniHi, we are handling a similar support call through our system engineers team, I suppose it is your application, if this is true we go on working in that way and we'll post something here when we'll find a solution.
If you are not already in contact with NI Italy try posting your project here and I'll be glad to test it to see if I can reproduce this odd behavior.
Regards.
NicolaC.
Nationa Instruments -
Compiling and running problems
Dear Friends:
I believe I encountered a very difficult situation when I try to run Fortran
files in Sun Sparc Solaris 8.0.
I would like to describe it, hopefully someone can give me some suggestions.
The the files I try to run is fortran 77 files developed originally for VAX
machine, later on there are Linux and Unix adaptions (but not for Sun
Solaris). The source code is open source from the link:
http://www.webmo.net/support/mopac_linux.html. I have compiled and run
successfully in Redhat 9.0 (means same results as the samples). The linux
dependency is gcc (or egcs) glibc (or libc) f2c.
Also it is compatible with SGI IRIX unix system with the dependency MIPSpro Fortran 77 and MIPSpro C as the link http://www.webmo.net/support/mopac_sgi.html. I havenot tried it yet.
In sun solaris, I have tried g77, but even cannot compiled. With Apogee's
F77 (www.apogee.com), it can be compiled, but cannot run completely (terminate in the middle
process, i.e. without the complete output as the samples).
Could anyone take a time do a analysis and provide me any suggestions?
thanks a lot,
JustinJustin,
I downloaded the mopac tarball and compiled it on Sun Solaris using the Sun Studio 10 compiler. The code compiles successfully with only a small change to the included Makefile.
Change the original unix target as follows:
unix:
f77 -w -O -static *.f -o $(EXE)
becomes
unix:
f90 -f77 -w -O *.f -o $(EXE)
I noticed during the compilation that there were a number of BLAS and LAPACK routines that are being compiled into the application. The Sun Studio compilers include a high performance BLAS/LAPACK library called the Sun Performance Library which provides highly tuned versions of the BLAS/LAPACK routines called by this application. I would be more than happy to help you modify the source and makefile so that you can use these tuned routines and realize increased performance in this application.
I ran several of the data sets in the examples directory and they appeared to complete successfully. Since none of them run for more than a second or so, it's hard to say whether or not the tuned Performance Library will have a large impact on the performance or not.
If you are interested, please contact me : [email protected]
Maybe you are looking for
-
ITunes will not run on Windows 7 unless "run as Admin" is selected
I have been running iTunes in Windows 7 for a long time, then about 2 weeks ago, it stopped running, I double click the icon and it just hangs then nothing happens... I read through posts and found one that said to try running as admin, I tried it an
-
My ipod still works as far as powering up and operating is concerned, but it suddenly stopped outputting a signal through the sound jack. Also it no longer is detected by itunes in the source list.
-
Ok, so the true question is can i use the iphone as a pda and put MSOffice and other applications on it? Can you install such tools like Fugu and Chicken of the VNC to connect to your mac at home? It seems like there are a lot of games and silly widg
-
How do I get photos into a specific album in MY required order, when the mac puts them into it in date or photo number or som other order?
-
@property and @synthesize
Hi there : ) I bought the third edition of the Aaron Hilleglass book 'Cocoa Programming For MacOSX'. In an application, the author uses the @property/@synthesize keywords instead of implementing accessors in a traditional way. The application illustr