on 03-29-2007 3:53 AM
Hi,
I created & deployed a library with some jars that I want to be loaded first.
In provider.xml of the library, I have
<component-name>KMCJaxp</component>
<provider-name>mycompany.com</provider-name>
Then, in Visual Admin - Services - Classloader viewer - Libraries, I can see the library with mycompany.comKMCJaxp as its Library name. Then, in Deploy - StandardApplicationReferences, if I add library:mycompany.comKMCJaxp, after restart J2EE server, a NullPointerException will be thrown when access http://host:port/irj/portal. If I write as library:KMCJaxp, it's fine, but has no use - there's no library named KMCJaxp, only mycompany.com~KMCJaxp.
So what might be the problem?
Thanks,
Ray
Hi Ray,
Indeed, <i>library:mycompany.com~KMCJaxp</i> is correct. Can you give the NullPointerException stacktrace?
Kind regards,
Sigiswald
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sigiswald,
Sorry I don't know where to get the stack trace.. defaultTrace.0.trc is too big to figure out:)
Short message: when calling http://host:port/irj/portal, just a NullPointerException; when calling other URL, it says Dispatcher is not instantized.
Any idea now?
Thanks,
Ray
If possible, stop the server, delete the trace file, start the server, access /irj/portal and check the trace file for the NullPointerException. It can't be that hard to find.
On the other hand, if you access /irj/portal and a NullPointerException is thrown, it's appended at the end of the trace file. So it shouldn't be that hard to find either, even if the trace file is very large.
BTW, when you modified <i>StandardApplicationReferences</i> in Visual Administrator, I assume you didn't remove the items that were already present? You just added your own application reference?
Kind regards,
Sigiswald
Hi Ray,
All trial and preview versions can be downloaded from <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/cfc19866-0401-0010-35b2-dc8158247fb6">here</a>. However, in order to apply a Support Package Stack you need an account for service.sap.com. Then you can download from <a href="https://service.sap.com/patches">https://service.sap.com/patches</a>. And this does not apply to trial versions, I'm afraid.
Best regards,
Vladimir
PS: And just to confirm - <i>library:mycompany.com~KMCJaxp</i> would be the correct name of the reference.
Message was edited by:
Vladimir Pavlov
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.