IBM的包好难找,该怎么处理
发布时间:2010-06-14 17:28:43 文章来源:www.iduyao.cn 采编人员:星星草
IBM的包好难找,急!!!
代码:
String wasInstallLocation = "/opt/IBM/WebSphere/AppServer";
String trustStore = "/profiles/dwe/etc/DummyClientTrustFile.jks";
String keyStore = "/profiles/dwe/etc/DummyClientKeyFile.jks";
String trustStorePW = "WebAS";
String keyStorePW = "WebAS";
Properties connectProps = new Properties();
connectProps.setProperty( AdminClient.USERNAME, this.user );
connectProps.setProperty( AdminClient.PASSWORD, this.password );
connectProps.setProperty( AdminClient.CONNECTOR_TYPE, AdminClient.CONNECTOR_TYPE_SOAP );
connectProps.setProperty( AdminClient.CONNECTOR_HOST, "localhost" );
connectProps.setProperty( AdminClient.CONNECTOR_PORT, "" + "8880" );
connectProps.setProperty(AdminClient.CONNECTOR_SECURITY_ENABLED, "true");
connectProps.setProperty( "javax.net.ssl.trustStore", wasInstallLocation
+ trustStore );
connectProps.setProperty( "javax.net.ssl.keyStore", wasInstallLocation
+ keyStore );
connectProps.setProperty( "javax.net.ssl.trustStorePassword", trustStorePW );
connectProps.setProperty( "javax.net.ssl.keyStorePassword", keyStorePW );
// create a new connection
try {
adminClient = AdminClientFactory.createAdminClient( connectProps );
} catch (ConnectorException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
错误:
Exception in thread "main" java.lang.NoClassDefFoundError: com/ibm/ws/bootstrap/RASWsLoggerFactory
at com.ibm.websphere.management.AdminClientFactory.<clinit>(AdminClientFactory.java:119)
at WebSphereJmxTest.createConncetion(WebSphereJmxTest.java:53)
at WebSphereJmxTest.main(WebSphereJmxTest.java:102)
Caused by: java.lang.ClassNotFoundException: com.ibm.ws.bootstrap.RASWsLoggerFactory
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
... 3 more
请教一下兄弟们,IBM的这个类com.ibm.ws.bootstrap.RASWsLoggerFactory要去哪找(在哪个包)?
我用的WebSphere Application Server 7.0.0.0
把整个包文件都翻遍了都没找到,急!!!
------解决方案--------------------
那看来我能白拿分了。
友情提示:
信息收集于互联网,如果您发现错误或造成侵权,请及时通知本站更正或删除,具体联系方式见页面底部联系我们,谢谢。
其他相似内容:
-
was服务一直起不来,急急急.......
[11-11-9 20:43:56:440 CST] 7b7f7d45 SASRas A JSAS0005I: 已注册 SecurityCurrent。
...
-
哪里下载websphere 6.1呢?
去ibm网站上注册了用户名,还是下载不了。谁能提供给我一个好用的下载地址呢?谢谢各位了
------解决方案-...
-
websphere建立数据源 连接测试报错 下面是具体信息
在节点 localhostNode01 上的服务器 server1 上,对数据源 PGISAPP 执行的测试...
-
websphere mq7如何安装,报未检测到websphere eclipse平台版本3.3
我下了个windows 下的websphere mq 7,安装时报未检测到 WebSphe...
-
已经2天了,WebSphere 7.0还没有跑起来,老是提示找不到包啊
我的程序开发的时候一直使用的都是tomcat 6.0,现在项目结束了根据客户的...
-
WebSphere下写JNDI查找EJB时遇到一个棘手问题
我用的开发工具是RAD7.5,服务器是WebSphere Application Server7.0[color=#FF0000...
-
websphere server1在控制台无法正常启动
websphere server1在控制台无法正常启动,后台进程状态一直显示在启动中starting!望各位高...
-
dmgr,nodeagent以及server1这几个进程的作用分别是什么?
如题。
dmgr,nodeagent以及server1这几个进程的作用分别是什么?
希望能详...
-
WebSphere6怎么设置无状态会话bean在初始化时bean池实例化bean个数
WebSphere6怎么设置无状态会话bean在初始化时bean池实例化bea...
-
websphere 集群
我现在有4台服务器在用websphere,不过都是各自单独使用,所以用户访问都是使用4个连接,很麻烦。
上网也找了好一些...