NetWeaver jar versioning handling
Hi
While trying to deploy my application on netwaver 7.1 i'm getting errors that indicates that app server cant handle a version number in a jar file name.
For instance an error:
"Class-path entry activation.jar specified in (...) MANIFEST.MF file cannot be resolved."
although activation-1.1.jar exists on the class path. Once the the version suffix is removed it doesn't complain.
is there any solution for that, besides changing jar names?
Br
PF
Hi
I think the problem lays somewhere else.
My application works fine under jboss, but its because it doesn't check manifests recursively - in other words, the class-path entries located in the jars, which are in the ear below the top level are ignored.
To make things more clear
my-app.ear
META-INF/application.xml
my-ejb.jar
META-INF/MANIFEST.MF Class-Path: ext/lib1.jar
tld/domain/MyEJB.class
tld/domain/MyEJBRemote.class
tld/domain/MyEJBRemoteHome.class
ext/lib1.jar
META-INF/MANIFEST.MF Class-Path: lib2.jar
tld/domain/A.class
ext/lib2-1.0.jar
tld/domain/B.class
Neither the j2EE or the ejb spec talks about recursively
solving all jar dependencies, therfore jboss only checks my-ejb.jar/maniifest.mf (top level - as stated before).
However netwevaer does smth. different - checks them all.
Most of the jars contains a manifest that reffers through a class-path entries to other jars without a version suffix - and here is the root cause of my problem.
How can i avoid this recursive check?
Br
PF
Similar Messages
-
Any way to get Java Plug-In-like handling of jar versions?
I have jars intended for use with the Java Plug-In with version #'s in properties files (computed by the various tooling for updating these on the server). The jars themselves have no notion of jar #.
I would like to re-use these jars and version #'s with Java Web Start to avoid conditional GETs, but without jar diffing in this case (as I already have many small jars due to lack of jar diffing in the Java Plug-In).
Is there any way I can get Java Web Start to act like the Java Plug-In in this regard (i.e. the jar version # is a statement from the server, the client does a normal GET against the jar URL if its own version is not that stated by the server)?
[Don't get me wrong, jardiffing is cool, but having to do everything differently between Java Web Start and the Java Plug-In is [b]not cool.Best way IMO would be to create a Socket connection to it so that you could connect with a client app and feed in data that way
-
JMF, Linux, wrong codec selected when using jarred version of app
I have problem realising an AVI player when I try and run Linux JMF application when whole application is bundled into jar file and I try and run it using
java -cp <..JMF/lib/jmf.jar:/home/codroe/fobs4jmf.jar..> -jar app.jarIn jmf.log I see:
## Player created: com.sun.media.content.unknown.Handler@1cd2e5f
## using DataSource: com.sun.media.protocol.file.DataSource@911f71
## Building Track: 0
## Input: XVID, 720x576, FrameRate=25.0, Length=1244160 68 extra bytes
!! Failed to handle track 0
XX Unable to handle format: XVID, 720x576, FrameRate=25.0, Length=1244160 68 extra bytesThis is exactly the message I usually get when some part of JMF cannot find "jmf.properties" file (if for example could not find .jmfdir), but looking at strace from application run it does appear JMF found my jmf.properties this time, but still chose not to use omnvidea codec:
stat64("jmf.properties", 0xfeffc410) = -1 ENOENT (No such file or directory)
stat64("/home/codroe/JMF-2.1.1e/lib/jmf.properties", {st_mode=S_IFREG|0644, st_size=31354, ...}) = 0
open("/home/codroe/JMF-2.1.1e/lib/jmf.properties", O_RDONLY|O_LARGEFILE) = 11When I run my unbundled (i.e. not wrapped up in jar) version of Linux application (same classpath), it finds jmf.properties no problem, and choses omnivoidea codec and now is able to play the video with good things in jmf log:
## Player created: com.sun.media.content.unknown.Handler@30c221
## using DataSource: com.omnividea.media.protocol.file.DataSource@a401c2
## Building Track: 0
## Input: FFMPEG_VIDEO, 720x576, FrameRate=25.0, Length=414720 0 extra bytesMy windows version works fine in both configurations, jarred or not jarred.
From Linux strace log I it shows my working non-JARed version has selected omnividea codec:
gettimeofday({1100876842, 175149}, NULL) = 0
stat64("/home/codroe/media/protocol/file/DataSource.class", 0xfeffc384) = -1 ENOENT (No such file or directory)
stat64("/home/codroe/JMF-2.1.1e/lib/media/protocol/file/DataSource.class", 0xfeffc384) = -1 ENOENT (No such file or directory)
gettimeofday({1100876842, 179815}, NULL) = 0
stat64("/home/codroe/media/protocol/file/DataSource.class", 0xfeffc384) = -1 ENOENT (No such file or directory)
stat64("/home/codroe/JMF-2.1.1e/lib/media/protocol/file/DataSource.class", 0xfeffc384) = -1 ENOENT (No such file or directory)
gettimeofday({1100876842, 182979}, NULL) = 0
gettimeofday({1100876842, 183206}, NULL) = 0
gettimeofday({1100876842, 184371}, NULL) = 0
gettimeofday({1100876842, 184591}, NULL) = 0
stat64("/home/codroe/com/omnividea/media/protocol/file/DataSource.class", 0xfeffc384) = -1 ENOENT (No such file or directory)
stat64("/home/codroe/JMF-2.1.1e/lib/com/omnividea/media/protocol/file/DataSource.class", 0xfeffc384) = -1 ENOENT (No such file or directory)
gettimeofday({1100876842, 191005}, NULL) = 0but as I don't see this in trace from JAR version, and because in JMF log it says:
## Player created: com.sun.media.content.unknown.Handler@30c221
## using DataSource: com.omnividea.media.protocol.file.DataSource@a401c2I believe it has not selected correct codec for a reason I don't understand.
[I checked I only have one version of jmf.properties on system].
Any ideas why jarred version is different from non-jarred version?
version information:
# JMF Version 2.1.1e
## Platform: Linux, i386, 2.6.5-1.358
## Java VM: Sun Microsystems Inc., 1.5.0
and using fobs4jmf from http://fobs.sourceforge.netcorrection, for the last bit I should have said, for non-working jarred version in JMF log I see:
## Player created: com.sun.media.content.unknown.Handler@1cd2e5f
## using DataSource: com.sun.media.protocol.file.DataSource@911f71indicating wrong codec selected -
Component version handling rule is UpdateLowerOrChangedVersionsOnly
Hi everyone,
I'm trying to upgrade my SAP NetWeaver CE 7.1 EHP1 (32b) to SP05.
Unfortunately, during validation I'm getting error (from log):
component version handling rule is UpdateLowerOrChangedVersionsOnly.
deployment workflow strategy is normal deploy strategy.
Start validating.
Validation finished with status 'Error'
and the status of every record of my stack is showing REVISE
do you know where I can set this property in proper way to allow JSPM doing the upragde
Regards... it was simply space issue on FS...
adding some GB to the volume where NetWeaver is installed it passed validation step.
It's a pity there is no evidence in logs about the root cause of the issue.
regards -
HCM in NetWeaver Trial Version
Hi Experts,
We are trying out with the Netweaver Trial version in our Team. ABAP and EP are working fine. As per the manual it is mentioned that HCM is also included. But as such I see no signs of HCM in it and the T-codes does nt seem to exist. Is there any integration to be done for the same???
Pls guide me on this..
Thanks & Regards,
AngelineHi All gurus, This is the screenshot i have after installing the Netweaver 7 Trial Application Server and Sign On for Window.
Can anyone advise how to install SAP HCM into Netweaver Trial Application Server? I am also looking for SAP Enterprise Learning.
LiangEH -
Issue with CIS jar version - cis-application-8.0.0.jar on content server
We are having a problem adding this jar to our custom component. We are using this APIs to check-in some programatically.
Following is the error when we try to deploy our component with this jar
===============================================================
IdcAdmin: Content Server idc status: Stopped successfully
Starting the Content Server idc... The server terminated unexpectedly.
02.28 11:36:35.834 main NativeOsUtils version mismatch. The native code version is "7.1.0.2" and the Java version is "7.0.6.0".
# An unexpected error has been detected by HotSpot Virtual Machine:
# SIGSEGV (0xb) at pc=0x00002ac72c918500, pid=26841, tid=47034930753168
# Java VM: Java HotSpot(TM) 64-Bit Server VM (1.5.0_11-b03 mixed mode)
# Problematic frame:
# V [libjvm.so+0x3a8500]
========================================================
The content server version is 10.1.3.3.
And the jar version is cis-application-8.0.0.jar. We are able to use the same jar standalone. What could be the problem? Should we need to upgrade to a diffrent jdk version? I am worried that might cause more problems.
Regards,
PratapThanks for your inputs.
So far I have been looking at only CHECKIN_NEW_FORM and CHECKIN_SEL_FORM services for creating and updating content. items These services require files to be attached. I checked the definitive guide and found that there are 2 other similar services,CHECKIN_NEW and CHECKIN_SEL, that don't need the file to be attached. Instead we can specify the file path of the primary file. Since the xml content file to be checked is in th content server itlsef, these services can be used in my case. Moreover since my content checkin logic is in the context of a service, my code become more simpler.
I began working on it and am calling executeServiceSimple("CHECKIN_NEW") or executeServiceSimple("CHECKIN_SEL") based on whether the content to be checked in is new or to be updated. I am setting all the metadata values of the content file in the m_binder local data of the service object.
I thought this should work cleanly but I am getting the below error
============================================
at intradoc.server.IdcServerThread.run(IdcServerThread.java:197)
Caused by: intradoc.data.DataException: !csCheckinFileKeyNotSpecified,primaryFile
at intradoc.server.DocServiceHandler.addFile(DocServiceHandler.java:3251)
at intradoc.server.DocServiceHandler.addFiles(DocServiceHandler.java:410)
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:585)
at intradoc.common.IdcMethodHolder.invokeMethod(ClassHelperUtils.java:617)
at intradoc.common.ClassHelperUtils.executeMethodReportStatus(ClassHelperUtils.java:293)
at intradoc.server.ServiceHandler.executeAction(ServiceHandler.java:79)
at intradoc.server.Service.doCodeEx(Service.java:490)
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:585)
at sitestudio.SSClassHelper.invokeRaw(Unknown Source)
======================================================
I printed out all the local data in the m_binder object. The primaryFile value is pointing to the right file path. The file is also been created in the correct location.
The dID, dDocName, dOriginalFile, dRevLabel values are all set properly. But still I am getting this error. I am not able to figure out the cause of this. Please help. Is this approach incorrect?
-Pratap -
I cant seem to get versioning on jar files to work.
In my .jnlp file I have:
<jar href="images.jar" version="1.3"/>
I named the jar file to images__V1.3.jar.
But I get an exception:
"Missing version field in response from server when accessing resource ("http://..../images.jar, 1.3)"
It sounds like I'm defining it wrong in the .jnlp? Am I missing a tag somewhere?
When I dont use a version, ie just images.jar, everything works ok.
I am using Java WebStart 1.2.0_01.
ThanksIf it is any comfort I am having the same problem, so I will be very interested in the answer as well.
I have tried both versioning using file naming and including a version.xml file in the directory.
Was using the developers guide document as a reference.
Andreas -
"Only assign one SAP NetWeaver product version to product system"
Greetings,
Somehow, after upgrading my PI system from NW 7.11 to NW 7.4, the SAP-XICONS component was left at the lower version. Everything else was upgraded and SUM didn't complain about this component. The component was present in the stack.xml file and the SCA was available. Yet somehow it was missed.
Now I am unable to use SUM to update the component. There seems to be no way to get the LMDB to reflect the actual versions of this system and have Maintenance Optimizer function.
After I assigned everything in the LMDB, the Verification Check says "Only assign one SAP NetWeaver product version to product system". And then MOPZ gives errors such as: "Wrong Netweaver product version found SAP NETWEAVER 7.4" and "Multiple Netweaver Product Version were found".
However, if I remove the assignment of 7.11, MOPZ is still unable to calculate the queue. It even gives the same errors.
How can I fix this? Is there some other way to generate the stack or get SUM to upgrade the component?The root cause was MOPZ marking the component incorrectly in the stack XML.
The resolution was to use telnet to 5xx08 to manually deploy the SAP-XICONS archive. -
SAP NetWeaver trial version 4.0 extending trial period error
Hello.
I have installed successfully SAP NetWeaver trial version 4.0 After 30 days of trial, it stopped working because of period licensing. I have tried to extend this period installing a NSP.txt file from SAP. A successfull message apears after installing it, but nothing change, the licensing period does not change. And, to do it easier, the user SAP* has not privilegies to liberating my transport order, so I cannot download my work. A nasty experience, doesn't it?.
Does anyone know any solution? Thank youYes, I have done it already. There's one tmp license that I cannot delete, and a row with my new license that I have delete, install new one, success message but does not work.
I have tried to install a new period license before ending the previous one... I guess it could have influenced. Nevertheless I will try it again. -
Where get weblogic.jar version 8.1 or 9.2?
I need to get weblogic.jar version 8.1 or 9.2 to use with Hermes because 10.3 apparently does not have class weblogic/security/subject/AbstractSubject... I failed finding it on the net...
Thank you
LeonardI've got the exakt same problem using weblogic.Deployer .... -appversion, weblogic 10.0 in this case. Works fine with our new jaxws based webservices.
Would be nice if this problem was solved, especially since weblogic10 resolves softlinks so our old method of linking to new versions doesn't work anymore. And the fact that "Changing the source location is not allowed for a previously attempted deployment" doesn't help either. -
SAP Netweaver Trial version error at stage 4
Hello,
I tried to install the SAP Netweaver trail version on my system, all the steps I followed are as per instructions. BUt I am getting into this error message, please let me know if someone can help me.
Creating node $(DIR_TRANS) with type DIRECTORY failed. Original exception text was: syslib.filesystem.nodeCreationFailed:
Unable to create node
vasu\sapmnt\ with type DIRECTORY: can't create parent node..
Thanks in Advance, Vish
ERROR 2006-09-11 17:47:44
CJSlibModule::writeError_impl()
CJS-30129 Creating node $(DIR_TRANS) with type DIRECTORY failed. Original exception text was: syslib.filesystem.nodeCreationFailed:
Unable to create node
vasu\sapmnt\ with type DIRECTORY: can't create parent node..
ERROR 2006-09-11 17:47:44
CJSlibModule::writeError_impl()
CJS-30129 Creating node $(DIR_TRANS) with type DIRECTORY failed. Original exception text was: syslib.filesystem.nodeCreationFailed:
Unable to create node
vasu\sapmnt\ with type DIRECTORY: can't create parent node..
ERROR 2006-09-11 17:47:44 [iaxxgenimp.cpp:653]
showDialog()
FCO-00011 The step createSystemDirectories with step key |NW_ABAP_OneHost|ind|ind|ind|ind|0|0|NW_System|ind|ind|ind|ind|6|0|createSystemDirectories was executed with status ERROR .
INFO 2006-09-11 17:48:18 [iaxxgenimp.cpp:692]
showDialog()
An error occured and the user decided to rety the current step: "|NW_ABAP_OneHost|ind|ind|ind|ind|0|0|NW_System|ind|ind|ind|ind|6|0|createSystemDirectories".Hi,
I am having the same problem when installing SAP NW 2004s (Database Instance). Did you solve this problem?
ERROR 2006-10-18 10:09:48 [iaxxgenimp.cpp:736]
showDialog() FCO-00011 The step createSystemDirectories with step key |NW_Java_DB|ind|ind|ind|ind|0|0|NW_System|ind|ind|ind|ind|6|0|createSystemDirectories was executed with status ERROR .
tks.
Daniel Silva -
Installing Sap Netweaver Trial Version
Hi guys!
I have installed in my notebook a sap netweaver trial version, but I have another PC with less resources than my computer. I would like to know if there is a posibility to have the sap gui in the second PC and use some like a Sap Route in order to get connected this second notebook to sap database of my PC.
I will appreciate any help on this topic.
Thank you very much
Gabriela.Hi Spantaleoni,
Thank you very much for your reply.
I understood everyting wht you told me
I just need some explanation about this point: Set up GUI Connection in Client PC (setting as ApplicationServer your ServerPC LAN IP)
How Can I set as application server my server pc LAN IP?
Thanks!
Gaby -
MaxDB instance error sap netweaver trial version 7.0
I installed sap netweaver trial version 7.0 in e drive which has got 60 GB.netweaver and sap logon front end installed and max db also installed suscessfully
when configuring maxdb database i.e adding new instance the following error appears.
<b>-4 database instance not found</b>Yes, I have done it already. There's one tmp license that I cannot delete, and a row with my new license that I have delete, install new one, success message but does not work.
I have tried to install a new period license before ending the previous one... I guess it could have influenced. Nevertheless I will try it again. -
Problem Downloading Netweaver Trail Version
Hi, I'm not sure I'm posting this in the right place. But I'm having a problem. I'm a newby to ABAP and I've been trying to download the Netweaver Trial version so I can get some hands-on.
However, I can't seem to do so. I always get beyond the License Agreement to the next page which says "Please be patient, your download will start in a few seconds.
loading". However after this, I get an error page that says
"Unfortunately we have trouble completing your download request. Please contact [email protected] for further support. "
Already sent an email to the provided email address but got no response. Just wondering if anyone can tell me what next to do. ThanksI've moved your message to the correct forum.
Regards
matt -
Operating System:Windows Server 2008 r2
Ram :3gb ddr3(should the fastest ram in market)
Hardisk:250gb laptop(should be 5400 rpm)But to install the old version.I see the hardisk usage install in windows 7,the read and write not so so fast when installing abap file.
Processor:2ghz single core .so 2 core = 4ghz.Should be speed enough to install any software.When previous tried to install in windows 7.The usage processor not even more then 10%
[http://img534.imageshack.us/img534/2252/peningsap.png]
Problem 1 : The installer though this laptop AMD 64?Odd since it is core 2 duo t6400 laptop.
2 : Are windows server 64 bits not supported.The installation request whooping 20 gb(10 gb real and 10 gb swap) ram while in logic 32 bit only max support 3.25 gb ram.I run in other laptop the request ram change to 8gb.I successfully install the netweaver developer version in older laptop
Processor : Dual Core t4200
Ram: 1gb ddr2
Hardisk :300gb
Brand : Lenovo 3000 Y 400
Graphic Card : Gma950
Hardisk Usage: Folder : sapdb:28.8 gb
: usr: 1.11 gb
The most requirement hardisk best was 30 gb per installation.
Install time : 9 .hours.The longest time software i have install.
Ram Usage : 3.09 gb.This is nearly the limit of 32 bit processor which are 3.25 which are not supposed too.Extra ram required for hardware.64 bit operating system seem not supported in my first trial on my latest laptop.
My Preview.
1 I try to create the role with accounting .But the accounting seems empty. After searchin via internet.The module fico doesn't exist in the system.What?this should be a demo for a system.Even small software provide FICO screen.
2.When select user,user name must key in?Should have a popup to search the user login.
It's hard to suggest to other customer SAP since i don't see the functionality i can manipulate.
Edited by: alien3dx on Feb 19, 2010 4:54 AM
Maybe you are looking for
-
Urgent - "Vendor balances carried forward and line items report."
Hello, Is there any report which will give me the vendor balance carried forward and the line items during that period. ============================================== Format- eg: statement taken from 1.8.2006 to 30.9.2006 is required as Bal b/f
-
For anyone still having activesync or battery problems I have a potential fix: I've had two issues lately. First, my battery life was draining at an insane rate. iPhone5 lasted about 3-4 hours before absolutely dead from a full charge. LTE disable
-
Hi User has done the billing for 1300 line items by using transaction code VF01. After completing that process there is a option TO release Accounting, when user select on that button system throwing an error "Maximum number of items in FI reached".
-
Select (variable) into:parameter from xyz , dynamic sql
hello everyone I have a table with the columns KZ01*01*, KZ01*02*, KZ01*03*..... I want to select the value from one column depending of a variable z.b. varable=3 I want the value select KZ01*03* I wrote the trigger post_querry: declare v_kfz st
-
Decent line rate, throughput not consistent!
Hi folks, On Wednesday I upgraded to the Broadband unlimited package, and with that got a Homehub 4. Router setup went fine and broadband connected. It has synced at a good rate but when conducting speed tests, the results range from a download of 15