on 05-11-2006 3:49 PM
Hi, I'm trying to change the library references of an application using the the CHANGE_REF command (using TELNET). The library I wan't to remove is the library:webservices_lib but every time I do this it is telling me that the library was removed but when I type the command LIST_REFS It keeps showing in??
Do you know why this happens? Does anybody else have other solution to remove this library from the ClassLoader?
Regards.
Hello Pablo,
library:webservices_lib is one of the resources to which every application receives a default reference when it is deployed. Probably this is the reason for not being able to remove it.
Is there some special reason that you want to remove this reference?
Best Regards
Vyara
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ok, thanks. I want to remove this reference because I want to put the implementation of the jaxrpc-impl.jar and if this library:webservices_lib is there the .jar is never found it keeps telling me:
java.lang.ClassNotFoundException: com.sun.xml.rpc.client.ServiceFactoryImpl
I've already store jaxrpc-impl.jar in a library and make a reference from my project to this new library, but it is not using the jars that are in this library.
Any suggestion?
Regards.
Hi Pablo,
Are there any details about the problem in the default traces? Your application should be able to load the classes from the library. Are you sure that you added all jar files (jaxrpc-api.jar) that jaxrpc-impl.jar requires to the library or added a reference from your library to other libraries that have them (library:webservices_lib for example)?
Regards
Vyara
Hi Vyara, this is what I have in the defaultTrace
#1.5#001560ABD22900500000029000001DB000041387C845EEB2#1147373808656#System.err#sap.com/App_STDAts#System.err#ANONIMO_GNAL#2####e6667100e11f11daa68b001560abd229#SAPEngine_Application_Thread[impl:3]_34##0#0#Error##Plain###javax.xml.rpc.ServiceException: java.lang.ClassNotFoundException: com.sun.xml.rpc.client.ServiceFactoryImpl
Found in negative cache
-
Loader Info -
ClassLoader name: [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]
Parent loader name: [Frame ClassLoader]
References:
library:com.sap.ip.basecomps
library:core_lib
common:library:IAIKSecurity;library:activation;library:mail;library:tcsecssl
library:servlet
library:sapxmltoolkit
library:com.sap.mw.jco
library:com.sap.util.monitor.jarm
library:j2eeca
library:opensql
interface:security
interface:log
interface:shell
interface:keystore_api
library:ejb20
interface:webservices
library:com.sap.guid
interface:appcontext
interface:endpoint_api
interface:resourceset_api
interface:resourcecontext_api
common:service:iiop;service:naming;service:p4;service:ts
interface:ejbcomponent
interface:container
interface:visual_administration
interface:transactionext
interface:dsr_ejbcontext_api
service:timeout
library:tc~jmx
library:tcSLUTIL
service:memory
library:antlr
library:jdbdictionary
library:opensqlextensions
interface:cross
service:locking
service:file
Resources:
I:
usr
sap
DEJ
JC03
j2ee
cluster
server0
bin
ext
security.class
tc_sec_jaas_test.jar
I:
usr
sap
DEJ
JC03
j2ee
cluster
server0
bin
ext
security.class
tc_sec_saml_service_api.jar
I:
usr
sap
DEJ
JC03
j2ee
cluster
server0
bin
ext
webservices_lib
jaxm-api.jar
I:
usr
sap
DEJ
JC03
j2ee
cluster
server0
bin
services
userstore
userstore.jar
I:
usr
sap
DEJ
JC03
j2ee
cluster
server0
bin
ext
security.class
tc_sec_compat.jar
I:
usr
sap
DEJ
JC03
j2ee
cluster
server0
bin
services
jmx
jmx_sec.jar
I:
usr
sap
DEJ
JC03
j2ee
cluster
server0
bin
ext
security.class
tc_sec_userstore_lib.jar
I:
usr
sap
DEJ
JC03
j2ee
cluster
server0
bin
services
dbpool
sqljimpl.jar
I:
usr
sap
DEJ
JC03
j2ee
cluster
server0
bin
services
keystore
keystore.jar
I:
usr
sap
DEJ
JC03
j2ee
cluster
server0
bin
ext
com.sap.security.api.sda
com.sap.security.api.perm.jar
I:
usr
sap
DEJ
JC03
j2ee
cluster
server0
bin
services
configuration
configuration.jar
I:
usr
sap
DEJ
JC03
j2ee
cluster
server0
bin
ext
jaxrpc-impl.jar
I:
usr
sap
DEJ
JC03
j2ee
cluster
server0
bin
services
jmx_notification
jmx_notification.jar
I:
usr
sap
DEJ
JC03
j2ee
cluster
server0
bin
services
dbpool
opensqllib.jar
I:
usr
sap
DEJ
JC03
j2ee
cluster
server0
bin
services
basicadmin
jstartupimpl.jar
I:
usr
sap
DEJ
JC03
j2ee
cluster
server0
bin
ext
security.class
tc_sec_saml_jaas.jar
I:
usr
sap
DEJ
JC03
j2ee
cluster
server0
bin
services
adminadapter
adminadapter.jar
I:
usr
sap
DEJ
JC03
j2ee
cluster
server0
bin
ext
security.class
tc_sec_saml_xmlbind.jar
I:
usr
sap
DEJ
JC03
j2ee
cluster
server0
bin
ext
webservices_lib
saaj-api.jar
I:
usr
sap
DEJ
JC03
j2ee
cluster
server0
bin
services
security
security.jar
I:
usr
sap
DEJ
JC03
j2ee
cluster
server0
bin
ext
security.class
tc_sec_saml_toolkit_api.jar
I:
usr
sap
DEJ
JC03
j2ee
cluster
server0
bin
services
jmx
jmx.jar
I:
usr
sap
DEJ
JC03
j2ee
cluster
server0
bin
services
basicadmin
basicadmin.jar
I:
usr
sap
DEJ
JC03
j2ee
cluster
server0
bin
ext
webservices_lib
jaxrpc-api.jar
I:
usr
sap
DEJ
JC03
j2ee
cluster
server0
bin
services
connector
connectorimpl.jar
I:
usr
sap
DEJ
JC03
j2ee
cluster
server0
bin
services
com.sap.security.core.ume.service
com.sap.security.core.ume.service.jar
I:
usr
sap
DEJ
JC03
j2ee
cluster
server0
bin
ext
security.class
tc_sec_ssf.jar
I:
usr
sap
DEJ
JC03
j2ee
cluster
server0
bin
ext
webservices_lib
webservices_lib.jar
I:
usr
sap
DEJ
JC03
j2ee
cluster
server0
bin
services
deploy
deploy.jar
I:
usr
sap
DEJ
JC03
j2ee
cluster
server0
bin
ext
com.sap.security.core.sda
com.sap.security.core.tpd.jar
I:
usr
sap
DEJ
JC03
j2ee
cluster
server0
bin
services
basicadmin
jstartupapi.jar
I:
usr
sap
DEJ
JC03
j2ee
cluster
server0
bin
ext
security.class
tc_sec_saml_util.jar
I:
usr
sap
DEJ
JC03
j2ee
cluster
server0
bin
ext
security.class
tc_sec_saml_toolkit_core.jar
I:
usr
sap
DEJ
JC03
j2ee
cluster
server0
bin
ext
security.class
tc_sec_csi.jar
I:
usr
sap
DEJ
JC03
j2ee
cluster
server0
bin
services
dbpool
dbpool.jar
I:
usr
sap
DEJ
JC03
j2ee
cluster
server0
bin
ext
security.class
tc_sec_jaas.jar
I:
usr
sap
DEJ
JC03
j2ee
cluster
server0
bin
ext
com.sap.security.api.sda
com.sap.security.api.jar
I:
usr
sap
DEJ
JC03
j2ee
cluster
server0
bin
ext
security.class
tc_sec_https.jar
I:
usr
sap
DEJ
JC03
j2ee
cluster
server0
bin
ext
com.sap.security.core.sda
com.sap.security.core.jar
Loading model: {parent,local,references}
The Jar file jaxrpc-api.jar, which is part of the webservices_lib, only has the interfaces and do not have the implementations. This implementations are not included in the J2EE so I loaded the jaxrpc-impl.jar (with the class com.sun.xml.rpc.client.ServiceFactoryImpl) in other DC library even in the web-inf/lib directory. But it still cannot find the class.
Regards.
Hi Pablo,
Unfortunately the only thing that I can tell from this stack trace is that the class is in the negative cache as it has not been loaded for some reason. It is a bit strange that the classloader is not that of the application but a common loader. As jaxrpc-impl.jar contains only implementation it definitely requires reference to the interfaces. You should add reference to library:webservices_lib or deploy jaxrpc-api.jar within your library as well.
Regards
Vyara
You can't remove that library
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
9 | |
9 | |
6 | |
6 | |
6 | |
5 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.