on 01-09-2008 12:52 AM
After deleting a custom action block deployment in xMII 12.2, when I launch the xMII workbench, I get the following error: I tried deleting the java cache and deleting the jnlp files on the server, but they did not help. The deleted custom action block shows up with the status "Deleted" in Custom Actions Config. Any help is appreciated:
Java Web Start Error:
Unable to load resource: http://smani:50000/XMII/CMSLogicEditor/@jar@
java.io.FileNotFoundException: http://smani:50000/XMII/CMSLogicEditor/@jar@
at sun.reflect.GeneratedConstructorAccessor2.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection$6.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.net.www.protocol.http.HttpURLConnection.getChainedException(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at com.sun.deploy.net.BasicHttpRequest.doRequest(Unknown Source)
at com.sun.deploy.net.BasicHttpRequest.doRequest(Unknown Source)
at com.sun.deploy.net.BasicHttpRequest.doGetRequest(Unknown Source)
at com.sun.deploy.net.DownloadEngine.actionDownload(Unknown Source)
at com.sun.deploy.net.DownloadEngine.getCacheEntry(Unknown Source)
at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown Source)
at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown Source)
at com.sun.deploy.net.DownloadEngine.getResource(Unknown Source)
at com.sun.javaws.LaunchDownload.downloadJarFiles(Unknown Source)
at com.sun.javaws.LaunchDownload.downloadEagerorAll(Unknown Source)
at com.sun.javaws.Launcher.downloadResources(Unknown Source)
at com.sun.javaws.Launcher.prepareLaunchFile(Unknown Source)
at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)
at com.sun.javaws.Launcher.launch(Unknown Source)
at com.sun.javaws.Main.launchApp(Unknown Source)
at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
at com.sun.javaws.Main$1.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.io.FileNotFoundException: http://smani:50000/XMII/CMSLogicEditor/@jar@
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at java.net.HttpURLConnection.getResponseCode(Unknown Source)
... 18 more
<?xml version="1.0" encoding="utf-8"?>
<jnlp spec="1.0+" codebase="http://smani:50000/XMII/CMSLogicEditor/">
<information>
<title>xMII</title>
<vendor>SAP</vendor>
<description></description><description kind="short"></description>
<icon hight="64" href="../Images/sap6464.gif" type="splash" width="64"/>
<icon hight="32" href="..Images/SAP3232.gif" width="32"/>
</information>
<security><all-permissions/></security>
<resources><j2se version="1.5.0_06 1.4+" initial-heap-size="64m" max-heap-size="128m"/>
<jar href="Lighthammer.jar"/>
<jar href="LHCommon.jar"/>
<jar href="logging.jar" download="eager"/>
<extension name="Third Party 0" href="http://smani:50000/XMII/CMSLogicEditor/smaniSun_Libs.jnlp"/>
<extension name="Third Party 1" href="http://smani:50000/XMII/CMSLogicEditor/smaniApache_Libs.jnlp"/>
<extension name="Custom JNLP 0" href="http://smani:50000/XMII/CMSLogicEditor/smaniverpsfi-actions-2.0.jar.jnlp"/>
<extension name="Custom JNLP 1" href="http://smani:50000/XMII/CMSLogicEditor/smani@jar@.jnlp"/>
</resources>
<application-desc main-class="com.sap.xmii.Illuminator.gui.workbench.Workbench">
<argument>(J2EE8513200)ID0294595950DB12504903621425784255End</argument>
</application-desc>
</jnlp>
This message was moderated.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sara,
Clear the Java Web Start cache on your client machine, it contains the older JARs. This will fix the problem you are having.
Sam
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sara,
Just to be thorough the Java Cache and Java Web Start Cache are different caches please verify you have done the following, steps to delete the Java WS cache:
Navigate to:
C:\Documents and Settings\<UserName>\Application Data\Sun\Java\Deployment\cache
AND
C:\Documents and Settings\<UserName>\Application Data\Sun\Java\Deployment\javaws\cache
and delete everything in these directories on your client (Not to beat a dead horse but I have to make sure; sorry for the repitition).
If this still does not work then are there entries for your action in the following NetWeaver system tables:
1) XMII_CMPNTCATEGORY
2) XMII_CMPNTJAR
3) XMII_CMPNTLIST
Thanks.
Sam
Sam,
Yes, the deleted custom action reappears in the list, after clicking refresh button. I dont see any error message in the log on delete. But when you lauch the xMII Workbench, I see lot of errors in the log, similiar to the below:
Unable to add jars for component Http Get [assembly=@jar@,dependencies=null]
[EXCEPTION]
java.lang.NullPointerException
Here @jar@ is the name of the deployed and deleted custom block assembly.
Thanks,
Sara
Sara,
Sounds like there's a problem deleting the action entries from the database, not sure why without an error message but please check the aforementioned tables for stray entries. It should be ok to delete the entries manually once you get in but this is not supported. What I recommend doing is to enter a ticket into our support system so that our dev. team can take a closer look at your scenario and help to determine exactly why this is occurring.
Thanks.
Sam
Yeah I remember but I also remember there being errors in the logs related to it. The really early on issue, 12.0.0 was with missing table relationship (cascade on delete) settings but that was fixed too, but there weren't any errors which is how this sounds. It's tough to tell; I followed up with Support on this and there's a ticket in but they are waiting on a reply from Sara as am I on this thread. If support resolves the issue then I will be sure to update this thread as to how and what was done. Easiest solution being to just simply delete the records manually from the database, via something like sql studio, the only problem is that this is only a temporary fix. My suspicion is that this is the result of an earlier ramp-up installation where the action was deployed and then xMII was upgraded to the GA version leaving the fields not properly referenced in the database.
We shall see.
Sam
User | Count |
---|---|
4 | |
4 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.