cancel
Showing results for 
Search instead for 
Did you mean: 

Deleted custom blocks cause problem in loading xMII Workbench in xMII 12.0

Former Member
0 Kudos

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:

        1. Java Web Start Error:

        2. 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>

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

This message was moderated.

Former Member
0 Kudos

This message was moderated.

0 Kudos

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

Former Member
0 Kudos

I tried deleting the cache on the client. It happens on the new client also, where there are no cache. It looks like there is some kind of server side caching causes this.

Thanks,

Sara

Former Member
0 Kudos

In System Management--> Custom Actions select the "deleted" custom action and click on Deploy. This action completely removes the .jar (atleast visually!)from the xMII server.

Maybe it'll work then.

0 Kudos

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

Former Member
0 Kudos

Hi Uday,

It did not help. Even after deploying the "Deleted" custom action block shows up in the table as "Deleted".

Thanks,

Sara

Former Member
0 Kudos

Hi Sam,

Yes, I tried deleting the webstart cache, but it did not help.

I was also thinking that there should be some entries in the tables, which needs to be cleaned up. I am using the Developer edition of Netweaver 2004s. I don't remember the default username for the MAXDB.

Thanks,

Sara

0 Kudos

Sara,

When you press the refresh button does it disappear from the custom action list? If not then check the NW logs for any additional error messages relevant to the delete operation and please post. Thanks.

Sam

Former Member
0 Kudos

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

0 Kudos

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

Former Member
0 Kudos

Sam - FYI this bug existed quite early in 12.0 - I ran into myself "back in the day". I thought it had been fixed in SR1, though.

0 Kudos

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

Former Member
0 Kudos

Sam,

I have not figured yet how to delete records from MAXDB database. Any help is appreciated on this.

Thanks,

Sara

0 Kudos

Sara,

Use SQL Studio to interface to MaxDB...it can be launched from the SAP MMC or downloaded separately. This is much easier than using the command line interface...sql_fetch....

Hope this helps.

Sam