Java server component library DC build fails
Hello,
I have problem with building sda from Java server component library DC which contains external library DC and jars.
Btw., I implemented newest JDI patch (note 935334) so I don't have problem with packing jars into sda.
How did following steps:
<b>External library DC</b>
1. Import jars into library subfolder
2. Add all jars to public part jarAPI, which is created with 'Provides an API for developing/compiling other DCs' setting
3. Add all jars to new public part jarSDA, which is created with 'Can be packaged into other build results (e.g. SDAs)'
<b>Java server component library DC</b>
1. Add jarSDA and jarAPI to Used DCs, with <i>Build Time</i> and <i>Run Time</i> Dependency Type checked and <i>strong</i> runtime qualifier selected.
2. Add jarAPI to Entity References of defLib public part
3. Build Java server component library DC
After that build fails with following error log:
[code]createPublicParts:
[pppacker] Packing compilation public part 'defLib'
[pppacker] Packed 0 files for entity sap.comhomeapp_libs (SERVER_COMPONENTS)
[pppacker] Packing entity reference gbscore/poi_libs (gbs.org), POIapi: ()
[pppacker] ERROR: Internal error occured
[pppacker] ERROR: java.lang.NullPointerException
[pppacker] ERROR: at java.io.File.<init>(File.java:263)
[pppacker] ERROR: at com.sap.tc.buildplugin.pp.pack.ZipPacker.unpack(ZipPacker.java:364)
[pppacker] ERROR: at com.sap.tc.buildplugin.pp.PPPacker.packEntityReferences(PPPacker.java:763)
[pppacker] ERROR: at com.sap.tc.buildplugin.pp.PPPacker.packPublicPartContent(PPPacker.java:476)
[pppacker] ERROR: at com.sap.tc.buildplugin.pp.PPPacker.packPublicPart(PPPacker.java:406)
[pppacker] ERROR: at com.sap.tc.buildplugin.pp.PPPacker.pack(PPPacker.java:359)
[pppacker] ERROR: at com.sap.tc.buildplugin.pp.PPPackTask._execute(PPPackTask.java:233)
[pppacker] ERROR: at com.sap.tc.buildplugin.techdev.ant.util.BPTask.execute(BPTask.java:20)
[pppacker] ERROR: at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:193)
[pppacker] ERROR: at org.apache.tools.ant.Task.perform(Task.java:341)
[pppacker] ERROR: at org.apache.tools.ant.Target.execute(Target.java:309)
[pppacker] ERROR: at org.apache.tools.ant.Target.performTasks(Target.java:336)
[pppacker] ERROR: at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
[pppacker] ERROR: at com.sap.tc.buildplugin.techdev.ant.util.AntRunner.run(AntRunner.java:115)
[pppacker] ERROR: at com.sap.tc.buildplugin.AbstractAntBuildAction.execute(AbstractAntBuildAction.java:65)
[pppacker] ERROR: at com.sap.tc.buildplugin.AbstractPlugin.handleBuildStepSequence(AbstractPlugin.java:225)
[pppacker] ERROR: at com.sap.tc.buildplugin.AbstractPlugin.performBuild(AbstractPlugin.java:201)
[pppacker] ERROR: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[pppacker] ERROR: at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[pppacker] ERROR: at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[pppacker] ERROR: at java.lang.reflect.Method.invoke(Method.java:324)
[pppacker] ERROR: at com.sap.tc.buildtool.PluginCommunicator.maybeInvoke(PluginCommunicator.java:114)
[pppacker] ERROR: at com.sap.tc.buildtool.PluginCommunicatorV2.communicate(PluginCommunicatorV2.java:42)
[pppacker] ERROR: at com.sap.tc.buildtool.PluginHandlerImpl.handlePluginCommunication(PluginHandlerImpl.java:354)
[pppacker] ERROR: at com.sap.tc.buildtool.PluginHandlerImpl.execute(PluginHandlerImpl.java:176)
[pppacker] ERROR: at com.sap.tc.devconf.impl.DCProxy.make(DCProxy.java:1726)
[pppacker] ERROR: at com.sap.tc.devconf.impl.DCProxy.make(DCProxy.java:5559)
[pppacker] ERROR: at com.sap.ide.eclipse.component.provider.actions.dcproject.BuildAction.buildDCsForDevConfig(BuildAction.java:307)
[pppacker] ERROR: at com.sap.ide.eclipse.component.provider.actions.dcproject.BuildAction.access$200(BuildAction.java:58)
[pppacker] ERROR: at com.sap.ide.eclipse.component.provider.actions.dcproject.BuildAction$1.run(BuildAction.java:212)
[pppacker] ERROR: at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:101)
[pppacker] ERROR: java.lang.NullPointerException
[pppacker] ERROR: at java.io.File.<init>(File.java:263)
[pppacker] ERROR: at com.sap.tc.buildplugin.pp.pack.ZipPacker.unpack(ZipPacker.java:364)
[pppacker] ERROR: at com.sap.tc.buildplugin.pp.PPPacker.packEntityReferences(PPPacker.java:763)
[pppacker] ERROR: at com.sap.tc.buildplugin.pp.PPPacker.packPublicPartContent(PPPacker.java:476)
[pppacker] ERROR: at com.sap.tc.buildplugin.pp.PPPacker.packPublicPart(PPPacker.java:406)
[pppacker] ERROR: at com.sap.tc.buildplugin.pp.PPPacker.pack(PPPacker.java:359)
[pppacker] ERROR: at com.sap.tc.buildplugin.pp.PPPackTask._execute(PPPackTask.java:233)
[pppacker] ERROR: at com.sap.tc.buildplugin.techdev.ant.util.BPTask.execute(BPTask.java:20)
[pppacker] ERROR: at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:193)
[pppacker] ERROR: at org.apache.tools.ant.Task.perform(Task.java:341)
[pppacker] ERROR: at org.apache.tools.ant.Target.execute(Target.java:309)
[pppacker] ERROR: at org.apache.tools.ant.Target.performTasks(Target.java:336)
[pppacker] ERROR: at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
[pppacker] ERROR: at com.sap.tc.buildplugin.techdev.ant.util.AntRunner.run(AntRunner.java:115)
[pppacker] ERROR: at com.sap.tc.buildplugin.AbstractAntBuildAction.execute(AbstractAntBuildAction.java:65)
[pppacker] ERROR: at com.sap.tc.buildplugin.AbstractPlugin.handleBuildStepSequence(AbstractPlugin.java:225)
[pppacker] ERROR: at com.sap.tc.buildplugin.AbstractPlugin.performBuild(AbstractPlugin.java:201)
[pppacker] ERROR: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[pppacker] ERROR: at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[pppacker] ERROR: at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[pppacker] ERROR: at java.lang.reflect.Method.invoke(Method.java:324)
[pppacker] ERROR: at com.sap.tc.buildtool.PluginCommunicator.maybeInvoke(PluginCommunicator.java:114)
[pppacker] ERROR: at com.sap.tc.buildtool.PluginCommunicatorV2.communicate(PluginCommunicatorV2.java:42)
[pppacker] ERROR: at com.sap.tc.buildtool.PluginHandlerImpl.handlePluginCommunication(PluginHandlerImpl.java:354)
[pppacker] ERROR: at com.sap.tc.buildtool.PluginHandlerImpl.execute(PluginHandlerImpl.java:176)
[pppacker] ERROR: at com.sap.tc.devconf.impl.DCProxy.make(DCProxy.java:1726)
[pppacker] ERROR: at com.sap.tc.devconf.impl.DCProxy.make(DCProxy.java:5559)
[pppacker] ERROR: at com.sap.ide.eclipse.component.provider.actions.dcproject.BuildAction.buildDCsForDevConfig(BuildAction.java:307)
[pppacker] ERROR: at com.sap.ide.eclipse.component.provider.actions.dcproject.BuildAction.access$200(BuildAction.java:58)
[pppacker] ERROR: at com.sap.ide.eclipse.component.provider.actions.dcproject.BuildAction$1.run(BuildAction.java:212)
[pppacker] ERROR: at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:101)
Ant runtime 0.13 seconds
Ant build finished with ERRORS
java.lang.NullPointerException
at java.io.File.<init>(File.java:263)
at com.sap.tc.buildplugin.pp.pack.ZipPacker.unpack(ZipPacker.java:364)
at com.sap.tc.buildplugin.pp.PPPacker.packEntityReferences(PPPacker.java:763)
at com.sap.tc.buildplugin.pp.PPPacker.packPublicPartContent(PPPacker.java:476)
at com.sap.tc.buildplugin.pp.PPPacker.packPublicPart(PPPacker.java:406)
at com.sap.tc.buildplugin.pp.PPPacker.pack(PPPacker.java:359)
at com.sap.tc.buildplugin.pp.PPPackTask._execute(PPPackTask.java:233)
at com.sap.tc.buildplugin.techdev.ant.util.BPTask.execute(BPTask.java:20)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:193)
at org.apache.tools.ant.Task.perform(Task.java:341)
at org.apache.tools.ant.Target.execute(Target.java:309)
at org.apache.tools.ant.Target.performTasks(Target.java:336)
at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
at com.sap.tc.buildplugin.techdev.ant.util.AntRunner.run(AntRunner.java:115)
at com.sap.tc.buildplugin.AbstractAntBuildAction.execute(AbstractAntBuildAction.java:65)
at com.sap.tc.buildplugin.AbstractPlugin.handleBuildStepSequence(AbstractPlugin.java:225)
at com.sap.tc.buildplugin.AbstractPlugin.performBuild(AbstractPlugin.java:201)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.sap.tc.buildtool.PluginCommunicator.maybeInvoke(PluginCommunicator.java:114)
at com.sap.tc.buildtool.PluginCommunicatorV2.communicate(PluginCommunicatorV2.java:42)
at com.sap.tc.buildtool.PluginHandlerImpl.handlePluginCommunication(PluginHandlerImpl.java:354)
at com.sap.tc.buildtool.PluginHandlerImpl.execute(PluginHandlerImpl.java:176)
at com.sap.tc.devconf.impl.DCProxy.make(DCProxy.java:1726)
at com.sap.tc.devconf.impl.DCProxy.make(DCProxy.java:5559)
at com.sap.ide.eclipse.component.provider.actions.dcproject.BuildAction.buildDCsForDevConfig(BuildAction.java:307)
at com.sap.ide.eclipse.component.provider.actions.dcproject.BuildAction.access$200(BuildAction.java:58)
at com.sap.ide.eclipse.component.provider.actions.dcproject.BuildAction$1.run(BuildAction.java:212)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:101)
[/code]
Am I doing something wrong or SAP again released something not tested?
Thank you for your answers!
Best regards, Ivan
Did you also follow the instructions in note 891223? This note is referenced from note 935334 and describes how to update the Build plugins in your track(s).
Message was edited by: Pascal Willemsen
Similar Messages
-
External library DC vs J2EE Server Component - Library DC
Hi all,
I have been developing where I used jars through the public part of an external library DC and it worked fine, but I'm wondering:
What is actually the difference between a external library DC and a J2EE Server Component - Library DC ?
When do i use the external library DC and when do i use the J2EE library DC?
Kind regards,
J.Hello Mark,
I tried what you said in the following scenario:
I created Proxy classes for Enterprise Connector for a BAPI from a backend system.
Those classes where put in a jar. That jar is put in a external library DC with an assembly public part and a compilation public part.
From that i tried two method:
Method 1: i referenced the public parts (assembly and compilation) from external library DC in my web dynpro DC and it worked fine.
Method 2: I referenced the public parts (assembly and compilation) in a J2EE library DC ( for compilation: build time ; for assembly: build time and runtime with strong). In my Web Dynpro DC i referenced the compilation public part from my external library. And in the properties of my web dynpro project i added the reference to my j2ee library (that was also deployed; i can see it in my visual administrator). When running my application, i get the following error:
<i>java.lang.NoClassDefFoundError: com/sap/aii/proxy/framework/core/AbstractProxy -
Loader Info -
ClassLoader name: [gtsc.jnj.com/testapptestwdp] Parent loader name: [Frame ClassLoader] References: common:service:http;service:servlet_jsp service:ejb common:service:iiop;service:naming;service:p4;service:ts service:jmsconnector library:jsse library:servlet common:library:IAIKSecurity;library:activation;library:mail;library:tcsecssl library:ejb20 library:j2eeca library:jms library:opensql common:library:com.sap.security.api.sda;library:com.sap.security.core.sda;library:security.class;library:webservices_lib;service:adminadapter;service:basicadmin;service:com.sap.security.core.ume.service;service:configuration;service:connector;service:dbpool;service:deploy;service:jmx;service:jmx_notification;service:keystore;service:security;service:userstore interface:resourcecontext_api interface:webservices interface:cross interface:ejbserialization sap.com/tcwddispwda sap.com/cafeugpapiwd sap.com/tcwdcorecomp service:webdynpro service:sld library:tcddicddicservices library:com.sap.aii.proxy.framework library:tcgraphicsigs library:tcwdwslib library:com.sap.mw.jco library:com.sap.lcr.api.cimclient library:sapxmltoolkit library:com.sap.aii.util.rb library:cafeugpapi library:com.sap.util.monitor.jarm library:tcddicddicruntime library:com.sap.aii.util.xml library:gtsc.jnj.comjcrauweltestr3proxieslibrary library:com.sap.aii.util.misc library:tccmi Resources: C:\usr\sap\NDW\JC01\j2ee\cluster\server0\apps\gtsc.jnj.com\testapptestwdp\src.zip C:\usr\sap\NDW\JC01\j2ee\cluster\server0\apps\gtsc.jnj.com\testapptestwdp\webdynpro\public\lib\commons-collections-2.1.1.jar C:\usr\sap\NDW\JC01\j2ee\cluster\server0\apps\gtsc.jnj.com\testapptestwdp\webdynpro\public\lib\cglib-2.1.3.jar C:\usr\sap\NDW\JC01\j2ee\cluster\server0\apps\gtsc.jnj.com\testapptestwdp\webdynpro\public\lib\asm-attrs.jar C:\usr\sap\NDW\JC01\j2ee\cluster\server0\apps\gtsc.jnj.com\testapptestwdp\webdynpro\public\lib\gtsc.jnj.comtestapptestwdp.jar C:\usr\sap\NDW\JC01\j2ee\cluster\server0\apps\gtsc.jnj.com\testapptestwdp\webdynpro\public\lib\dom4j-1.6.1.jar C:\usr\sap\NDW\JC01\j2ee\cluster\server0\apps\gtsc.jnj.com\testapptestwdp\webdynpro\public\lib\hibernate3.jar C:\usr\sap\NDW\JC01\j2ee\cluster\server0\apps\gtsc.jnj.com\testapptestwdp\webdynpro\public\lib\commons-logging-1.0.4.jar C:\usr\sap\NDW\JC01\j2ee\cluster\server0\apps\gtsc.jnj.com\testapptestwdp\webdynpro\public\lib\asm.jar Loading model: {parent,references,local} -
The error occurred while trying to load "com.jnj.gtsc.im.jcrauwel.proxies.MyR3Proxies_PortType".</i>
Any idea what i'm doing wrong?
Kind regards,
J. -
How to add a Jar file to J2EE Server Component Library ?
Hello,
My objective:
=====================================================
To add a 3rd party jar file to be a runtime jar file to J2EE Server Component
Library project.
I have created a J2EE Server Component Library project.
I have built the J2EE Server Component Library project to get the provider.xml file and place the provider.xml under the J2EE Server Component Library project's server folder.
Here is my problem:
=====================================================
I can't open the provider.xml with SAP's special editor for the provider.xml.
The special SAP editor doesn't exist for me.
Here is my question:
=====================================================
Q1) Do I copy/paste my JAR_X file where <jar_0> is located? (Below is the
J2EE Server Component Library SDA structure.)
Q2) If you were to update the provider.xml with notepad, what would you
type in provider.xml for JAR_X?
Q3) Is there anything else that I need to do?
Thanks,
Steve
J2EE Server Component Library SDA structure.
======================================
|-META-INF_
| |-manifest.mf
| |-sap_manifest.mf
| |-SearchRules.xml
| |-<SDA>.xml
| |...
|-<jar_0>
|- ...
|-<jar_N>
|-dispatcher_
| |-provider.xml
| |-properties
| |-runtime.properties
| |-persistent__
| | |-<persistent_files(2)>
| |-descriptors_
| |-<descriptor_files(3)>
|-server_____
| |-provider.xml
| |-properties
| |-runtime.properties
| |-persistent__
| | |-<persistent_files>
| |-descriptors_
| |-<descriptor_files>
|-os_libs____
|-<char set>__
|-<platform>__
|-<jvm bitlength>__
|-<native lib files>Thank you for all your solution...
my provider.xml was missing the <!DOCTYPE> tag for me to use the SAP LibraryDD Editor
Thanks again,
Steve
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE provider-descriptor SYSTEM "library.provider.dtd">
<provider-descriptor>
<display-name>
Your_Lib_Name
</display-name>
<component-name>
Your_Lib_Name
</component-name>
<major-version>6</major-version>
<minor-version>40</minor-version>
<micro-version>0</micro-version>
<provider-name>
sap.com
</provider-name>
<references>
<reference
provider-name="sap.com"
strength="weak"
type="library">Your_Lib_Name</reference>
</references>
<jars>
<jar-name>my_jar.jar</jar-name>
</jars>
</provider-descriptor> -
Is there a J2EE Server Component Library DC in 7.1?
I'm creating an External Library DC to be accessed by an EAR Project using reference. I understand you need to place this DC into a J2EE Server Component Library DC to be able to be deployed. There is a choice for this DC on 7.0. Why there is none in 7.1? Am I missing something or there is a new way to accomplish this?
No more J2EE Server Component Library DC in 7.1. Use EAR and reference using application not library.
http://help.sap.com/saphelp_nwce10/helpdata/en/45/c93bc6a24a4ebce10000000a11466f/frameset.htm -
J2ee-Server-Component library and Buildpath
Hi,
I have a J2ee-Servercomponent - Project in the NW Dev. Studio to build and deploy a library for the J2EE WEBAs 6.4.
During buildtime this Library requires certain external JAR's to be build. But every time when I change something in the provider.xml for example the buildpath gets reset and I have to add all the external JAR's again if I want to build the library component again.
I'm NOT using a DC and I'm not using the DTR or NWDI.
Any ideas how to fix this ?
Thanks in advance,
FrankHi
What is the version of NWDS ?
One issue could be the jar files which u have used has been publish as file , if u r using CE version so make it publish as archive
For further assistance please refer this [thread|Problem with JavaBean-Model on Web DynPro for Java;
Best Regards
Satish Kumar -
Problem: J2EE Server Component Library's provider.xml error message
Hello,
I open the provider.xml fle. Then I click on the Jars tab and I get an error message:
The source page has errrors. Other pages cannot be used until these errors are
corrected.
How can I correct the error(s) so that when I click on the Jars tab it will allow me add jar files?
provider.xml content:
======================
<?xml version="1.0" encoding="utf-8"?>
<provider-descriptor>
<display-name>Store jar files that need to be used at runtime</display-name>
<component-name>global/lmco/runtime/j2ee/libs</component-name>
<description/>
<major-version>6</major-version>
<minor-version>40</minor-version>
<micro-version>0</micro-version>
<provider-name>lmco.com</provider-name>
<jars>
<jar-name>
commons-dbutils-1.0.jar
</jar-name>
</jars>
</provider-descriptor>I have one provider.xml which has the dtd in it
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE provider-descriptor SYSTEM "library.provider.dtd">
<provider-descriptor>
<display-name>abclib</display-name>
<component-name>abcLib</component-name>
<description>
</description>
<major-version>6</major-version>
<minor-version>1</minor-version>
<micro-version>0</micro-version>
<provider-name>com.company</provider-name>
<group-name>
</group-name>
<references>
<reference reference-type="hard">
<reference-target provider-name="com.company" target- type="library">xyzLib</reference-target>
</reference>
</references>
<jars>
<jar-name>aspectjrt.jar</jar-name>
<jar-name>axiom-api-1.2.5.jar</jar-name>
<jar-name>axiom-impl-1.2.5.jar</jar-name>
<jar-name>nux.jar</jar-name>
<jar-name>stax.jar</jar-name>
<jar-name>xom.jar</jar-name>
</jars>
</provider-descriptor>
check for the DOCTYPE declaration
Regards
Fariha -
Java DC wrapped in J2EE Server Comp Library DC
Hi Experts
I have jxl.jar file, I imported this jar file in a Java DC and declared jxl.jar as public part. I created a Webdynpro DC and used the public part in it. I have created an application, component and a view in it using some classes of jxl.jar. I created a new J2EE Server Component Library DC and used the public part of jxl.jar in it again. Built the J2EE Server Component Library DC. Once done I got a .sda file. I deployed it in server. Once this is done, I have added the J2EE Server Component Library DC in my Webdynpro DC's Library Reference. Once I added this, i built it and deployed it. I got deployment finished with Warnings. Please see the exception below and Please advice.
Exception from NWDS Deployment Screen
"java.rmi.RemoteException: Error occurred while starting application wrigley.com/signauth/ui and wait. Reason: Clusterwide exception: server ID 6840450:com.sap.engine.services.deploy.container.DeploymentException: Clusterwide exception: Failed to prepare application wrigley.com/signauthui for startup. Reason=Clusterwide exception: Failed to start dependent library ''signauth/libraryimpl'' of application ''wrigley.com/signauthui''. Status of dependent component: STATUS_MISSING. Hint: Is the component deployed correctly on the engine?"
Names of the DCs used
Webdynpro DC - signauth/ui
J2EE Server Component DC - signauth/libraryimpl
Java External Library DC - signauth/library
FYI. I have created J2EE Server Component DC's name with more number of characters. Hope this shouldn't create issue. If this is also an issue, please let me know. I will reduce it and try.
Thank you
Best Regards
Ramamoorthy DHi Experts
Kindly help me out in getting a solution for this problem.
Thank you.
Best Regards
Ramamoorthy D -
ERROR: Cannot perform action deploy on component library
Hi all,
Some Background on what i did:
First I created two DCs:
1)External library DC
2)J2EE server component library DC
and followed the procedure given as in
/people/valery.silaev/blog/2005/09/14/a-bit-of-impractical-scripting-for-web-dynpro
Then i created a third DC of type Web Module in order to hold all the classes as given in: Using External JARs in a Web Dynpro Project
But when I deploy the J2EE server library component DC, I am getting the following error:
Oct 16, 2006 8:38:39 AM /userOut/deploy (com.sap.ide.eclipse.sdm.threading.DeployThreadManager) [Thread[Deploy Thread,5,main]] ERROR:
[001]Deployment aborted
Settings
SDM host : teak
SDM port : 50018
URL to deploy : file:/C:/DOCUME1/krunalra/LOCALS1/Temp/temp19352pcbp.com~lib_comp.sda
Result
=> deployment aborted : file:/C:/DOCUME1/krunalra/LOCALS1/Temp/temp19352pcbp.com~lib_comp.sda
Aborted: development component 'lib_comp'/'pcbp.com'/'NWX_LIBS_C'/'20061016083638':
Caught exception during library deployment from SAP J2EE Engine's deploy service:
java.rmi.RemoteException: com.sap.engine.deploy.manager.DeployManagerException: ERROR: Cannot perform action deploy on component library E:\usr\sap\NWX\DVEBMGS00\SDM\root\origin\pcbp.com\lib_comp\NWX_LIBS_C\20061016083638\temp19352pcbp.comlib_comp.sda. Reason: java.rmi.RemoteException: Error during deployLib of server component ./temp/deploy/work/deploying/temp19352pcbp.comlib_comp.sda.. Reason: com.sap.engine.core.service630.container.ContainerException: java.lang.NullPointerException; nested exception is: com.sap.engine.frame.container.deploy.ComponentDeploymentException: com.sap.engine.core.service630.container.ContainerException: java.lang.NullPointerException
at com.sap.engine.services.deploy.server.DeployServiceImpl.deployServerComponent(DeployServiceImpl.java:1576)
at com.sap.engine.services.deploy.server.DeployServiceImpl.deployLibrary(DeployServiceImpl.java:1434)
at com.sap.engine.services.deploy.server.DeployServiceImplp4_Skel.dispatch(DeployServiceImplp4_Skel.java:336)
at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:304)
at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:193)
at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:122)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
Caused by: com.sap.engine.frame.container.deploy.ComponentDeploymentException: com.sap.engine.core.service630.container.ContainerException: java.lang.NullPointerException
at com.sap.engine.core.service630.context.container.deploy.DeployContextImpl.deployLibrary(DeployContextImpl.java:36)
at com.sap.engine.services.deploy.server.library.DeployLibTransaction.begin(DeployLibTransaction.java:68)
at com.sap.engine.services.deploy.server.library.LibraryTransaction.makeAllPhases(LibraryTransaction.java:81)
at com.sap.engine.services.deploy.server.DeployServiceImpl.deployServerComponent(DeployServiceImpl.java:1566)
... 11 more
Exception is: ; nested exception is: com.sap.engine.deploy.manager.DeployManagerException: ERROR: Cannot perform action deploy on component library E:\usr\sap\NWX\DVEBMGS00\SDM\root\origin\pcbp.com\lib_comp\NWX_LIBS_C\20061016083638\temp19352pcbp.comlib_comp.sda. Reason: java.rmi.RemoteException: Error during deployLib of server component ./temp/deploy/work/deploying/temp19352pcbp.comlib_comp.sda.. Reason: com.sap.engine.core.service630.container.ContainerException: java.lang.NullPointerException; nested exception is: com.sap.engine.frame.container.deploy.ComponentDeploymentException: com.sap.engine.core.service630.container.ContainerException: java.lang.NullPointerException
at com.sap.engine.services.deploy.server.DeployServiceImpl.deployServerComponent(DeployServiceImpl.java:1576)
at com.sap.engine.services.deploy.server.DeployServiceImpl.deployLibrary(DeployServiceImpl.java:1434)
at com.sap.engine.services.deploy.server.DeployServiceImplp4_Skel.dispatch(DeployServiceImplp4_Skel.java:336)
at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:304)
at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:193)
at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:122)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
Caused by: com.sap.engine.frame.container.deploy.ComponentDeploymentException: com.sap.engine.core.service630.container.ContainerException: java.lang.NullPointerException
at com.sap.engine.core.service630.context.container.deploy.DeployContextImpl.deployLibrary(DeployContextImpl.java:36)
at com.sap.engine.services.deploy.server.library.DeployLibTransaction.begin(DeployLibTransaction.java:68)
at com.sap.engine.services.deploy.server.library.LibraryTransaction.makeAllPhases(LibraryTransaction.java:81)
at com.sap.engine.services.deploy.server.DeployServiceImpl.deployServerComponent(DeployServiceImpl.java:1566)
... 11 more
Exception is:
(message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineCompOnlineDeployerImpl.performAction(DeploymentActionTypes).REMEXC)
Deployment exception : The deployment of at least one item aborted
I have being stuck up on this erorr for past few days,
If anybody can please help me out in this,then it would be highly appreciated.
Thank You,
With regards,
Krunal.Do you have permissions to write to the Database/RDMBS?
James -
Deployment failed. Building failed using sun java application server
Hi
am using netbean 6 ,glassfish v2 and sun java application server 9
When am try to run my jsp file am getting Deployment error report with further error given below.
Deployment error:
The Sun Java System Application Server could not start.
More information about the cause is in the Server log file.
Possible reasons include:
- IDE timeout: refresh the server node to see if it's running now.
- Port conflicts. (use netstat -a to detect possible port numbers already used by the operating system.)
- Incorrect server configuration (domain.xml to be corrected manually)
- Corrupted Deployed Applications preventing the server to start.(This can be seen in the server.log file. In this case, domain.xml needs to be modified).
- Invalid installation location.
See the server log for details.
at org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.deploy(Deployment.java:163)
at org.netbeans.modules.j2ee.ant.Deploy.execute(Deploy.java:104)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
at sun.reflect.GeneratedMethodAccessor256.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:357)
at org.apache.tools.ant.Target.performTasks(Target.java:385)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
at org.apache.tools.ant.Project.executeTarget(Project.java:1298)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1181)
at org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:277)
at org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:460)
at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:151)
Caused by: org.netbeans.modules.j2ee.deployment.impl.ServerException: The Sun Java System Application Server could not start.
More information about the cause is in the Server log file.
Possible reasons include:
- IDE timeout: refresh the server node to see if it's running now.
- Port conflicts. (use netstat -a to detect possible port numbers already used by the operating system.)
- Incorrect server configuration (domain.xml to be corrected manually)
- Corrupted Deployed Applications preventing the server to start.(This can be seen in the server.log file. In this case, domain.xml needs to be modified).
- Invalid installation location.
at org.netbeans.modules.j2ee.deployment.impl.ServerInstance._start(ServerInstance.java:1270)
at org.netbeans.modules.j2ee.deployment.impl.ServerInstance.startTarget(ServerInstance.java:1224)
at org.netbeans.modules.j2ee.deployment.impl.ServerInstance.startTarget(ServerInstance.java:1035)
at org.netbeans.modules.j2ee.deployment.impl.ServerInstance.start(ServerInstance.java:912)
at org.netbeans.modules.j2ee.deployment.impl.TargetServer.startTargets(TargetServer.java:417)
at org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.deploy(Deployment.java:140)
... 16 more
BUILD FAILED (total time: 44 seconds)Hi,
I've found that if you remove the j2ee-application element related to the enterprise app you are trying to deploy from Sun\AppServer\domains\domain1\config\domain.xml, and also remove your enterprise j2ee-app directory from Sun\AppServer\domains\domain1\applications\j2ee-apps\, it works.
This is not a permanent solution. I get the same error again, when I try to redeploy the application for the third time. Hope someone can help soon!
Thanks. -
When I create an EJB Transport Business Service, after selecting the jar that has the EJB 2.1 artefacts (Remote, Home, etc) the oepe plugin fails and can't continue.
As I understand it seems that there is a problem with the classpath of ant build.xml that oepe creates inside folder /tmp/alsbejbtransport/ to compile the bs and generate the wsdl. I checked if tools.jar is in the classpath (in eclipse) and is included, so I can't figure out wich is the problem.
I found this in Oracle, but not helps solve the problem:
BEA-398120
Error: The WSDL for the typed transport endpoint could not be accessed.
Description
There was a problem retrieving the WSDL from the typed transport service endpoint at the time of service registration
Action
Contact technical support
This is the the full stacktrace that shows eclipse.
Generate : Error during generation of the WSDL:
BUILD FAILED
java.lang.NoClassDefFoundError: com/sun/javadoc/Type
at com.bea.util.jam.provider.JamServiceFactoryImpl.createSourceBuilder(JamServiceFactoryImpl.java:205)
at com.bea.util.jam.provider.JamServiceFactoryImpl.createBuilder(JamServiceFactoryImpl.java:158)
at com.bea.util.jam.provider.JamServiceFactoryImpl.createClassLoader(JamServiceFactoryImpl.java:137)
at com.bea.util.jam.provider.JamServiceFactoryImpl.createService(JamServiceFactoryImpl.java:78)
at weblogic.wsee.util.JamUtil.parseSource(JamUtil.java:152)
at weblogic.wsee.tools.anttasks.JwsLoader.loadJClasses(JwsLoader.java:186)
at weblogic.wsee.tools.anttasks.JwsLoader.load(JwsLoader.java:75)
at weblogic.wsee.tools.anttasks.JwsModule.loadWebServices(JwsModule.java:569)
at weblogic.wsee.tools.anttasks.JwsModule.generate(JwsModule.java:369)
at weblogic.wsee.tools.anttasks.JwsModule.build(JwsModule.java:256)
at weblogic.wsee.tools.anttasks.JwscTask.execute(JwscTask.java:184)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:357)
at org.apache.tools.ant.Target.performTasks(Target.java:385)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
at org.apache.tools.ant.Main.runBuild(Main.java:758)
at org.apache.tools.ant.Main.startAnt(Main.java:217)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
Caused by: java.lang.ClassNotFoundException: com.sun.javadoc.Type
at org.apache.tools.ant.AntClassLoader.findClassInComponents(AntClassLoader.java:1400)
at org.apache.tools.ant.AntClassLoader.findClass(AntClassLoader.java:1341)
at org.apache.tools.ant.AntClassLoader.loadClass(AntClassLoader.java:1088)
at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
... 27 more
Total time: 0 seconds
Eclipse Installation details:
*** System properties:
eclipse.application=org.eclipse.ui.ide.workbench
eclipse.buildId=M20110909-1335
eclipse.commands=-os
linux
-ws
gtk
-arch
x86_64
-showsplash
-launcher
{home}/Development/oepe-indigo/eclipse
-name
Eclipse
--launcher.library
{home}/Development/oepe-indigo//plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.100.v20110505/eclipse_1407.so
-startup
{home}/Development/oepe-indigo//plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
--launcher.overrideVmargs
-exitdata
1e418010
-vm
/usr/bin/java
eclipse.home.location=file:{home}/Development/oepe-indigo/
eclipse.launcher={home}/Development/oepe-indigo/eclipse
eclipse.launcher.name=Eclipse
[email protected]/../p2/
eclipse.p2.profile=PlatformProfile
eclipse.product=org.eclipse.platform.ide
eclipse.startTime=1374623921455
eclipse.vm=/usr/bin/java
eclipse.vmargs=-Xms256m
-Xmx768m
-XX:MaxPermSize=512m
-Dsun.lang.ClassLoader.allowArraySyntax=true
-Dweblogic.home={home}/Oracle/Middleware/wlserver_10.3
-Dharvester.home={home}/Oracle/Middleware/Oracle_OSB1/harvester
-Dosb.home={home}/Oracle/Middleware/Oracle_OSB1
-Dosgi.bundlefile.limit=750
-Dosgi.nl=en_US
-Dmiddleware.home={home}/Oracle/Middleware
-jar
{home}/Development/oepe-indigo//plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
equinox.use.ds=true
file.encoding=UTF-8
file.encoding.pkg=sun.io
file.separator=/
guice.disable.misplaced.annotation.check=true
harvester.home={home}/Oracle/Middleware/Oracle_OSB1/harvester
http.nonProxyHosts=localhost
java.awt.graphicsenv=sun.awt.X11GraphicsEnvironment
java.awt.printerjob=sun.print.PSPrinterJob
java.class.path={home}/Development/oepe-indigo//plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
java.class.version=50.0
java.endorsed.dirs=/usr/lib/jvm/jdk1.6.0_45/jre/lib/endorsed
java.ext.dirs=/usr/lib/jvm/jdk1.6.0_45/jre/lib/ext:/usr/java/packages/lib/ext
java.home=/usr/lib/jvm/jdk1.6.0_45/jre
java.io.tmpdir=/tmp
java.library.path=/usr/lib/jvm/jdk1.6.0_45/jre/lib/amd64/server:/usr/lib/jvm/jdk1.6.0_45/jre/lib/amd64:/usr/lib/jvm/jdk1.6.0_45/jre/../lib/amd64:/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
java.protocol.handler.pkgs=null|com.bea.wli.sb.resources.url|com.bea.wli.sb.resources.jca.upgrade.url|weblogic.utils|weblogic.utils|weblogic.utils|weblogic.net|weblogic.net
java.runtime.name=Java(TM) SE Runtime Environment
java.runtime.version=1.6.0_45-b06
java.specification.name=Java Platform API Specification
java.specification.vendor=Sun Microsystems Inc.
java.specification.version=1.6
java.vendor=Sun Microsystems Inc.
java.vendor.url=http://java.sun.com/
java.vendor.url.bug=http://java.sun.com/cgi-bin/bugreport.cgi
java.version=1.6.0_45
java.vm.info=mixed mode
java.vm.name=Java HotSpot(TM) 64-Bit Server VM
java.vm.specification.name=Java Virtual Machine Specification
java.vm.specification.vendor=Sun Microsystems Inc.
java.vm.specification.version=1.0
java.vm.vendor=Sun Microsystems Inc.
java.vm.version=20.45-b01
javax.rmi.CORBA.PortableRemoteObjectClass=weblogic.iiop.PortableRemoteObjectDelegateImpl
javax.rmi.CORBA.UtilClass=weblogic.iiop.UtilDelegateImpl
jna.platform.library.path=/usr/lib/x86_64-linux-gnu:/lib/x86_64-linux-gnu:/lib64:/usr/lib:/lib
line.separator=
middleware.home={home}/Oracle/Middleware
oracle.eclipse.tools.weblogic.ui.isWebLogicServer=true
org.apache.commons.logging.Log=org.apache.commons.logging.impl.NoOpLog
org.eclipse.equinox.launcher.splash.location={home}/Development/oepe-indigo/plugins/org.eclipse.platform_3.7.1.v201109091335/splash.bmp
org.eclipse.equinox.simpleconfigurator.configUrl=file:org.eclipse.equinox.simpleconfigurator/bundles.info
org.eclipse.m2e.log.dir={home}/workspace/pragma/.metadata/.plugins/org.eclipse.m2e.logback.configuration
org.eclipse.update.reconcile=false
org.omg.CORBA.ORBClass=weblogic.corba.orb.ORB
org.omg.CORBA.ORBSingletonClass=weblogic.corba.orb.ORB
org.osgi.framework.executionenvironment=OSGi/Minimum-1.0,OSGi/Minimum-1.1,OSGi/Minimum-1.2,JRE-1.1,J2SE-1.2,J2SE-1.3,J2SE-1.4,J2SE-1.5,JavaSE-1.6
org.osgi.framework.language=en
org.osgi.framework.os.name=Linux
org.osgi.framework.os.version=3.8.0
org.osgi.framework.processor=x86-64
org.osgi.framework.system.capabilities=osgi.ee; osgi.ee="OSGi/Minimum"; version:List<Version>="1.0, 1.1, 1.2",osgi.ee; osgi.ee="JavaSE"; version:List<Version>="1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6"
org.osgi.framework.system.packages=javax.accessibility,javax.activation,javax.activity,javax.annotation,javax.annotation.processing,javax.crypto,javax.crypto.interfaces,javax.crypto.spec,javax.imageio,javax.imageio.event,javax.imageio.metadata,javax.imageio.plugins.bmp,javax.imageio.plugins.jpeg,javax.imageio.spi,javax.imageio.stream,javax.jws,javax.jws.soap,javax.lang.model,javax.lang.model.element,javax.lang.model.type,javax.lang.model.util,javax.management,javax.management.loading,javax.management.modelmbean,javax.management.monitor,javax.management.openmbean,javax.management.relation,javax.management.remote,javax.management.remote.rmi,javax.management.timer,javax.naming,javax.naming.directory,javax.naming.event,javax.naming.ldap,javax.naming.spi,javax.net,javax.net.ssl,javax.print,javax.print.attribute,javax.print.attribute.standard,javax.print.event,javax.rmi,javax.rmi.CORBA,javax.rmi.ssl,javax.script,javax.security.auth,javax.security.auth.callback,javax.security.auth.kerberos,javax.security.auth.login,javax.security.auth.spi,javax.security.auth.x500,javax.security.cert,javax.security.sasl,javax.sound.midi,javax.sound.midi.spi,javax.sound.sampled,javax.sound.sampled.spi,javax.sql,javax.sql.rowset,javax.sql.rowset.serial,javax.sql.rowset.spi,javax.swing,javax.swing.border,javax.swing.colorchooser,javax.swing.event,javax.swing.filechooser,javax.swing.plaf,javax.swing.plaf.basic,javax.swing.plaf.metal,javax.swing.plaf.multi,javax.swing.plaf.synth,javax.swing.table,javax.swing.text,javax.swing.text.html,javax.swing.text.html.parser,javax.swing.text.rtf,javax.swing.tree,javax.swing.undo,javax.tools,javax.transaction,javax.transaction.xa,javax.xml,javax.xml.bind,javax.xml.bind.annotation,javax.xml.bind.annotation.adapters,javax.xml.bind.attachment,javax.xml.bind.helpers,javax.xml.bind.util,javax.xml.crypto,javax.xml.crypto.dom,javax.xml.crypto.dsig,javax.xml.crypto.dsig.dom,javax.xml.crypto.dsig.keyinfo,javax.xml.crypto.dsig.spec,javax.xml.datatype,javax.xml.namespace,javax.xml.parsers,javax.xml.soap,javax.xml.stream,javax.xml.stream.events,javax.xml.stream.util,javax.xml.transform,javax.xml.transform.dom,javax.xml.transform.sax,javax.xml.transform.stax,javax.xml.transform.stream,javax.xml.validation,javax.xml.ws,javax.xml.ws.handler,javax.xml.ws.handler.soap,javax.xml.ws.http,javax.xml.ws.soap,javax.xml.ws.spi,javax.xml.ws.wsaddressing,javax.xml.xpath,org.ietf.jgss,org.omg.CORBA,org.omg.CORBA_2_3,org.omg.CORBA_2_3.portable,org.omg.CORBA.DynAnyPackage,org.omg.CORBA.ORBPackage,org.omg.CORBA.portable,org.omg.CORBA.TypeCodePackage,org.omg.CosNaming,org.omg.CosNaming.NamingContextExtPackage,org.omg.CosNaming.NamingContextPackage,org.omg.Dynamic,org.omg.DynamicAny,org.omg.DynamicAny.DynAnyFactoryPackage,org.omg.DynamicAny.DynAnyPackage,org.omg.IOP,org.omg.IOP.CodecFactoryPackage,org.omg.IOP.CodecPackage,org.omg.Messaging,org.omg.PortableInterceptor,org.omg.PortableInterceptor.ORBInitInfoPackage,org.omg.PortableServer,org.omg.PortableServer.CurrentPackage,org.omg.PortableServer.POAManagerPackage,org.omg.PortableServer.POAPackage,org.omg.PortableServer.portable,org.omg.PortableServer.ServantLocatorPackage,org.omg.SendingContext,org.omg.stub.java.rmi,org.w3c.dom,org.w3c.dom.bootstrap,org.w3c.dom.css,org.w3c.dom.events,org.w3c.dom.html,org.w3c.dom.ls,org.w3c.dom.ranges,org.w3c.dom.stylesheets,org.w3c.dom.traversal,org.w3c.dom.views,org.w3c.dom.xpath,org.xml.sax,org.xml.sax.ext,org.xml.sax.helpers
org.osgi.framework.uuid=901615cd-f3f3-0012-11b6-a3bca4d97ac1
org.osgi.framework.vendor=Eclipse
org.osgi.framework.version=1.6.0
org.osgi.supports.framework.extension=true
org.osgi.supports.framework.fragment=true
org.osgi.supports.framework.requirebundle=true
os.arch=amd64
os.name=Linux
os.version=3.8.0-26-generic
osb.home={home}/Oracle/Middleware/Oracle_OSB1
osgi.arch=x86_64
osgi.bundlefile.limit=750
osgi.bundles=reference:file:javax.transaction_1.1.1.v201105210645.jar,reference:file:org.eclipse.equinox.simpleconfigurator_1.0.200.v20110502-1955.jar@1:start
osgi.bundles.defaultStartLevel=4
osgi.bundlestore={home}/Development/oepe-indigo/configuration/org.eclipse.osgi/bundles
osgi.configuration.area=file:{home}/Development/oepe-indigo/configuration/
osgi.framework=file:{home}/Development/oepe-indigo/plugins/org.eclipse.osgi_3.7.1.R37x_v20110808-1106.jar
osgi.framework.extensions=reference:file:javax.transaction_1.1.1.v201105210645.jar
osgi.framework.shape=jar
osgi.framework.version=3.7.1.R37x_v20110808-1106
osgi.frameworkClassPath=., file:{home}/Development/oepe-indigo/plugins/javax.transaction_1.1.1.v201105210645.jar
osgi.install.area=file:{home}/Development/oepe-indigo/
osgi.instance.area=file:{home}/workspace/pragma/
osgi.instance.area.default=file:{home}/workspace/
osgi.logfile={home}/workspace/pragma/.metadata/.log
osgi.manifest.cache={home}/Development/oepe-indigo/configuration/org.eclipse.osgi/manifests
osgi.nl=en_US
osgi.nl.user=en_US
osgi.os=linux
osgi.splashLocation={home}/Development/oepe-indigo/plugins/org.eclipse.platform_3.7.1.v201109091335/splash.bmp
osgi.splashPath=platform:/base/plugins/org.eclipse.platform
osgi.syspath={home}/Development/oepe-indigo/plugins
osgi.tracefile={home}/workspace/pragma/.metadata/trace.log
osgi.ws=gtk
path.separator=:
securerandom.source=file:/dev/./urandom
socksNonProxyHost=localhost
sun.arch.data.model=64
sun.boot.class.path=/usr/lib/jvm/jdk1.6.0_45/jre/lib/resources.jar:/usr/lib/jvm/jdk1.6.0_45/jre/lib/rt.jar:/usr/lib/jvm/jdk1.6.0_45/jre/lib/sunrsasign.jar:/usr/lib/jvm/jdk1.6.0_45/jre/lib/jsse.jar:/usr/lib/jvm/jdk1.6.0_45/jre/lib/jce.jar:/usr/lib/jvm/jdk1.6.0_45/jre/lib/charsets.jar:/usr/lib/jvm/jdk1.6.0_45/jre/lib/modules/jdk.boot.jar:/usr/lib/jvm/jdk1.6.0_45/jre/classes
sun.boot.library.path=/usr/lib/jvm/jdk1.6.0_45/jre/lib/amd64
sun.cpu.endian=little
sun.cpu.isalist=
sun.desktop=gnome
sun.io.unicode.encoding=UnicodeLittle
sun.java.command={home}/Development/oepe-indigo//plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar -os linux -ws gtk -arch x86_64 -showsplash -launcher {home}/Development/oepe-indigo/eclipse -name Eclipse --launcher.library {home}/Development/oepe-indigo//plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.100.v20110505/eclipse_1407.so -startup {home}/Development/oepe-indigo//plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar --launcher.overrideVmargs -exitdata 1e418010 -vm /usr/bin/java -vmargs -Xms256m -Xmx768m -XX:MaxPermSize=512m -Dsun.lang.ClassLoader.allowArraySyntax=true -Dweblogic.home={home}/Oracle/Middleware/wlserver_10.3 -Dharvester.home={home}/Oracle/Middleware/Oracle_OSB1/harvester -Dosb.home={home}/Oracle/Middleware/Oracle_OSB1 -Dosgi.bundlefile.limit=750 -Dosgi.nl=en_US -Dmiddleware.home={home}/Oracle/Middleware -jar {home}/Development/oepe-indigo//plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
sun.java.launcher=SUN_STANDARD
sun.jnu.encoding=UTF-8
sun.lang.ClassLoader.allowArraySyntax=true
sun.management.compiler=HotSpot 64-Bit Tiered Compilers
sun.os.patch.level=unknown
svnkit.http.methods=Basic
svnkit.library.gnome-keyring.enabled=false
user.country=AR
user.dir={home}/Development/oepe-indigo
user.home={home}
user.language=es
user.name={username}
user.timezone=America/Argentina/Buenos_Aires
weblogic.home={home}/Oracle/Middleware/wlserver_10.3
Thanks!!run this one in command prompt and then convert the applet using converter tool
JC_HOME = C:\java_card_kit-2_2_2\bin\
set CLASSES=%JCHOME%\lib\apduio.jar;%JC_HOME%\lib\apdutool.jar;%JC_HOME%\lib\jcwde.jar;%JC_HOME%\lib\converter.jar;%JC_HOME%\lib\scriptgen.jar;%JC_HOME%\lib\offcardverifier.jar;%JC_HOME%\lib\api.jar;%JC_HOME%\lib\installer.jar;%JC_HOME%\lib\capdump.jar;
D:\NareshPalle\jcardRE\Smart\src>java -classpath %_CLASSES% com.sun.javacard.con
verter.Converter -out EXP JCA CAP -exportpath .\exp -applet 0x0a:0x00:0x00:0x00:0x0e:0x01:0x02:
0x03:0x04:0x05:0x06 PackageName appletName 0x01:0x02:0x03:0x04:0x05:0x0
6:0x07:0x08 1.0
or
go to following directory and run the converter tool in command prompt
step 1: cd C:\java_card_kit-2_2_2\bin\
then run this command under the above directory
step 2:converter -classdir E:\Pathof Your applet class file -out EXP JCA CAP -exportpath E:\path of exp files folder -applet AID PackageName AppletName PackAID major.minor no
For more doubts mail me....
*[removed by moderator]*
Thanks and Regards
NareshPalle
Edited by: EJP on 31/03/2012 20:09: removed your email address. Unless you like spam and unless you think these forums are provided for your personal benefit only, posting an email address here serves no useful purpose whatsoever. -
I was having problem when building a Java DC for JavaBeans (to be exported to Web Dynpro DC). Therefore, there is only one Java class which has the getter and setter there.
I <b>do not have a DTR installed</b>, so the DC was created under Local DCs -> Local Development -> MyComponents.
The build log error is as below:
Dec 1, 2006 10:51:46 AM /userOut/Development Component (com.sap.ide.eclipse.component.provider.listener.DevConfListener) [Thread[ModalContext,5,main]] ERROR: jbmodel: Build failed for sap.com/jbmodel(MyComponents) in variant "default": Used component not found: sap.com/tc/bi/bp/javaLib
Build log -
Dec 1, 2006 10:51:46 AM /userOut/Development Component (com.sap.ide.eclipse.component.provider.listener.DevConfListener) [Thread[ModalContext,5,main]] ERROR: jbmodel: Build failed for sap.com/jbmodel(MyComponents) in variant "default": Check for used DCs failed: Used component not found: sap.com/tc/bi/bp/javaLib. DC not found in DC syncdb
Build log -
Development Component Build (2006-12-01 10:51:46)
Component name: jbmodel
Component vendor: sap.com
SC compartment: MyComponents
Configuration: LocalDevelopment
Location: local
Source code location: julius.hock@julius
DC root folder: C:\Documents and Settings\julius.hock\.dtc\LocalDevelopment\DCs\sap.com\jbmodel\_comp\
DC type: Java
Host: julius
DC Model check:
[dcmake] All used DCs are available locally
[dcmake] ERROR: Check for used DCs failed: Used component not found: sap.com/tc/bi/bp/javaLib. DC not found in DC syncdb
[dcmake] Build failed with errors.
Any help would be appreciated. Thanks.Hi Denis,
go to eclipse plugins folder and into 'com.sap.tc.ap/comp/SAP_BUILDT/DCs/sap.com/tc/bi/bp' and check if u have folder 'javaLib' with build plugin.
<b>Ans: Yes, javaLib is there. Do you meant i need to add javalibplugin.jar to the Java Build Path?</b>
then go to 'com.sap.tc.ap/SCs/sap.com/SAP_BUILDT/_comp/TopLevelDCs
and check if you have 'sap.com tc bi bp javaLib.dcref' file here - if not create it
<b>Ans: It's alrdy there.</b>
In my local development, SAP_BUILDT, SAP_JTECHS, SAP-JEE are without any child.
How shld i proceed? -
How to refer to J2EE library server component from a web service?
Hi,
I need help! I created a web service and it worked fine. However, I started having problems when I tried to use java classes from my deployable J2EE library server component. I got the NoClassDefFound error.
I tried to include the library DC in the Used DC list and put the reference of it in the web service deployment descriptor xml (application.xml and application-j2ee-engine.xml), but it did not work.
How do I refer and use java classes from my deployable J2EE library at run time from my web service application? What should I do?
Thanks,
Giavinh PhamI would like to clarify more about the web service project. I created a Java DC project and converted it into a web service as the SAP manual instructions. It worked fine by itself, but I now want to use some of my classes that I deployed as a J2EE library server component.
It was compiled and built when I refer to my J2EE library server component DC in the UsedDC. It was deployed fine as well. However, it broke when I tested the web service calls. The class declarations and usage from the J2EE server component could not be found (NoClassDefFound error.)
I thought it was because I did not have an application-j2ee-engine.xml in my META-INF folder so I created one and referred to the library in xml as type library and reference 'strong'. I built and deployed again. It still did not work.
I examined the EAR and noticed that there were two parts of the EAR. One is the WSAR archive file that contains the META-INF folder from my project and other web service assemblies. The other part is the META-INF folder generated by the SAP NetWeaver IDE.
The strange thing was that SAP NetWeaver IDE generated an application-j2ee-engine.xml without any reference to my J2EE library server component. However, the nested application-j2ee-engine.xml in the WSAR archive file did contain the info.
Since I cannot control the application-j2ee-engine.xml generated by SAP NetWeaver IDE, what should I do? Is it the cause for my problem?
Please advice, anyone?
Giavinh -
How to deploy a pure jave development component to server?
i have created a pure java development component.
but i cannot find a way to deploy it to server
is there any way?You need to essencially wrap your java development component with a deployable development component.
In order to do that, you need to:
- Define a public part for your development component of type assembly.
- Create a deployable DC ( one that results in a SDA or a EAR file ).
- Reference your DC from the deployable DC. This will include the generated .jar file into the project.
The definitions of the different types can be found here:
http://help.sap.com/saphelp_nw04/helpdata/en/93/d5a73f05c4265de10000000a114084/content.htm
I would either create a library component ( results in SDA ) or a web dynpro component ( ear file ). -
ESS603 build fails - new ESS component
Hi all,
We are upgrading our ECC system (to EHP4) and the Portal (to EHP1) and now have new ESS components that need to be built in a track in NWDI.The version of ESS is 603 SP04 and its dependencies are V7.01:
SAP_ESS 603 SP04
EP_BUILDT03P_1
SAPJEE03
SAPBUILDT03
SAPJTECHS03
SAPPPCUIGP04
All the above build fine in Development except SAP_ESS. The failure is:
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)
20090529101345 Fatal :caused by Exception:com.sap.cms.tcs.interfaces.exceptions.TCSCommunicationException: communication error: VcmFailure received: Internal Server Error [(pre||post)-condition failed: Internal Server Error]:communication error: VcmFailure received: Internal Server Error [(pre||post)-condition failed: Internal Server Error]
com.sap.cms.tcs.interfaces.exceptions.TCSCommunicationException: communication error: VcmFailure received: Internal Server Error [(pre||post)-condition failed: Internal Server Error]
at com.sap.cms.tcs.client.DTRCommunicator.integrateChangelist(DTRCommunicator.java:563)
Along with in the default trace file:
#1#java.lang.OutOfMemoryError
#1#java.lang.OutOfMemoryError
NOTE: that other builds (MSS, PCUI tracks) are fine. The only one thats failing is the new ESS 603 track.
Also NWDI was upgraded to EHP1 - enhancement Pack 1 - which is NW7.01. and we have been running on our NWDI system for 3 years now and have many tracks supporting production portals.
Any insights ?
Thanks, NeetaHI Snehal,
The JDK version is 1.4.2_20b.
The Java heap for the server was increased from 2048m to 4096m, restarted the build and now it failes on the CBS import with, in the defaulttrace file, so the good news is that it went further than before but still fails:
WDI_CMSADM#c7423fd04ead11dea8a900144fec02e0#SAPEngine_Application_Thread[impl:3]_17##0#0#Error#1#/Applications/CMS/TCS#Plain###CBS throws exception during activation: Exc=com.sap.tc.cbs.client.error.CommunicationException: Read timed out (Service call exception; nested exception is:
java.net.SocketTimeoutException: Read timed out)#
#1.#00144FEC02E000710000001B000013C100046B4B76AB7030#1243871764508#com.sap.cms.tcs.core.TCSLog#sap.com/tcSLCMS~PCS#com.sap.cms.tcs.core.TCSLog#NWDI_CMSADM#43#SAP J2EE Engine JTA Transaction : [1f6843ffffff9e0004b]#sappnwdi_NWD_526926750#NWDI_CMSADM#c7423fd04ead11dea8a900144fec02e0#SAPEngine_Application_Thread[impl:3]_17##0#0#Error#1#/Applications/CMS/TCS#Plain###more details on this error: Exc=java.rmi.RemoteException: Service call exception; nested exception is:
java.net.SocketTimeoutException: Read timed out#
Regards, Neeta -
Java Server stopped -11113 - Start of UME service failed
Hi experts,
I've recently been deploying via JSPM the latest component versions for my recently upgraded netweaver system (7.0 EHP1 on Windows with MaxDB). Part way through I received errors and now the Java server is unable to start.
Below is some of the trace from "std_server0.out". I double checked the settings in the config tool and double checked the users in the ABAP system (SAPJSF and J2EE_GUEST), and everything seems to be fine, but I'm not an SAP J2EE expert so its very possible that I've overlooked something.
I've looked through the forums and for the most part people with this problem fixed it by unlocking SAPJSF, but I don't have that problem.
Any assistance is much appreciated. If more of this trace or data from another log file would help please let me know.
Cheers,
JB
70.190: [GC 70.190: [DefNew: 108794K->26118K(131328K), 0.1303850 secs] 108794K->26118K(1004800K), 0.1304744 secs]
Dec 10, 2009 7:40:56 PM com.sap.security.core.persistence [SAPEngine_System_Thread[impl:5]_65] Fatal: Initialization of ABAP data source (com.sap.security.core.persistence.datasource.imp.R3Persistence) failed: "CPIC-CALL: CMRCV on convId: 96069543
LOCATION CPIC (TCP/IP) on local host with Unicode
ERROR illegal parameter value ( function=SAP_CMTIMEOUT2 /
parameter=conversation_ID / value=96069543 )
TIME Thu Dec 10 19:40:56 200
RELEASE 701
COMPONENT CPIC (TCP/IP) with Unicode
VERSION 3
RC 769
MODULE r3cpic.c
LINE 7341
COUNTER 5
". This message is critical if it appears during the startup of the AS Java.
Dec 10, 2009 7:40:56 PM ...re.server.ume.service.UMEServiceFrame [SAPEngine_System_Thread[impl:5]_65] Fatal:
service com.sap.security.core.ume.service ================= ERROR =================
Core service com.sap.security.core.ume.service failed. J2EE Engine cannot be started.
com.sap.engine.frame.ServiceException: Start of UME service failed. Check help topic "Start of UME Service Failed". Technical details: CPIC-CALL: CMRCV on convId: 96069543
LOCATION CPIC (TCP/IP) on local host with Unicode
ERROR illegal parameter value ( function=SAP_CMTIMEOUT2 /
parameter=conversation_ID / value=96069543 )
TIME Thu Dec 10 19:40:56 200
RELEASE 701
COMPONENT CPIC (TCP/IP) with Unicode
VERSION 3
RC 769
MODULE r3cpic.c
LINE 7341
COUNTER 5
at com.sap.security.core.server.ume.service.UMEServiceFrame.start(UMEServiceFrame.java:398)
at com.sap.engine.frame.ApplicationFrameAdaptor.start(ApplicationFrameAdaptor.java:31)
at com.sap.engine.core.service630.container.ServiceRunner.startApplicationServiceFrame(ServiceRunner.java:214)
at com.sap.engine.core.service630.container.ServiceRunner.run(ServiceRunner.java:144)
at com.sap.engine.frame.core.thread.Task.run(Task.java:64)
at com.sap.engine.core.thread.impl5.SingleThread.execute(SingleThread.java:83)
at com.sap.engine.core.thread.impl5.SingleThread.run(SingleThread.java:156)
Caused by: com.sap.security.core.persistence.datasource.PersistenceException: CPIC-CALL: CMRCV on convId: 96069543
LOCATION CPIC (TCP/IP) on local host with Unicode
ERROR illegal parameter value ( function=SAP_CMTIMEOUT2 /
parameter=conversation_ID / value=96069543 )
TIME Thu Dec 10 19:40:56 200
RELEASE 701
COMPONENT CPIC (TCP/IP) with Unicode
VERSION 3
RC 769
MODULE r3cpic.c
LINE 7341
COUNTER 5
at com.sap.security.core.persistence.datasource.imp.R3PersistenceBase.newPersistenceException(R3PersistenceBase.java:236)
at com.sap.security.core.persistence.datasource.imp.R3PersistenceBase.init(R3PersistenceBase.java:491)
at com.sap.security.core.persistence.imp.PrincipalDatabagFactoryInstance.<init>(PrincipalDatabagFactoryInstance.java:440)
at com.sap.security.core.persistence.imp.PrincipalDatabagFactory.newInstance(PrincipalDatabagFactory.java:164)
at com.sap.security.core.persistence.imp.PrincipalDatabagFactory.getInstance(PrincipalDatabagFactory.java:117)
at com.sap.security.core.persistence.imp.PrincipalDatabagFactory.getInstance(PrincipalDatabagFactory.java:63)
at com.sap.security.core.InternalUMFactory.initializeUME(InternalUMFactory.java:221)
at com.sap.security.core.server.ume.service.UMEServiceFrame.start(UMEServiceFrame.java:287)
... 6 moreSomething that seemed odd in the error was: "200 RELEASE 701 COMPONENT CPIC (TCP/IP) with Unicode VERSION 3 RC 769 MODULE r3cpic.c LINE 7341 COUNTER 5"............So I updated the kernel and now everything works..
So for anyone with similar data in the trace updating kernel might be an option.
Cheers,
JB
Maybe you are looking for
-
IP - characteristic relationship/ data slices
Hi Guys, I am very new to IP and would like to have some help regarding the following with some simple example 1) characteristic relationship 2) data slices 3) locking Some examples with the above is much appreciated. where can i get some good docume
-
HT204053 Can I have multiple apple ids associated with one itunes acct?
When using iCloud with multiple devices (my kids phones, computers and mine), syncing causing all sorts of problems like losing contacts & info between devices. Is there any way to create an apple id for each person but still use the same iTunes acco
-
Got a new hard drive now computer wont update my ipod
I had to get a new hard drive and have managed to get all of my old music back into itunes but my computer does not read my ipod and has not updated the new music that I have purchased thru itunes or music I have downloaded from a disc since installi
-
I use RSS daily. This afternoon it stopped working. My feeds stopped getting updated, and then I realized I cannot load any RSS feed in Safari. If for example I try:feed://www.apple.com/main/rss/hotnews/hotnews.rss, I just see a blank safari window,
-
I have iweb "08. I want to delete the beige boxes on my website left from Google ADsense. I have deleted all code in Iweb SEO Tool that relates to the widgets but these boxes are still on my page. Please see at www.gilreathdecorativefinishes.com. I