linux 系统发布WebService服务端失败
系统是发布在linux+tomcate5.5.33+jdk1.6_45+java ,其中系统在发布webService服务端时候启动报错,如下图:
代码如下
Endpoint.publish(PUBParm.FS_WS_ADDRESS_URL +"/BQFT/fs?wsdl", new CifServiceImpl());
package service.service;
@WebService
public interface CifService {
public String testFsInter(String str);
@WebMethod(operationName = "findByDate")
public String findByDate(@WebParam(name="strDate")String strDate) throws Exception;
@WebMethod(operationName = "findByDateBean")
public List findByDateBean(@WebParam(name="strDate")String strDate) throws Exception;
}
package service.service.impl;
@WebService(endpointInterface = "service.service.CifService", targetNamespace = "http://fs.service/", serviceName = "FsService", portName = "FsPort")
public class CifServiceImpl implements CifService{
@WebMethod(operationName = "findByDate")
public String findByDate(@WebParam(name = "strDate") String txDate){
......
Gson gson = new Gson();
String json = gson.toJson(cifInfoList);
......
return json;
}
@WebMethod(operationName = "findByDateBean")
public List findByDateBean(@WebParam(name = "strDate") String txDate){
.......
Gson gson = new Gson();
String json = gson.toJson(cifInfoList);
......
return cifInfoList;
}
@WebMethod(operationName = "testFsInter")
public String testFsInter(String str){
return str +"ok!";
}
}
改项目在windows环境下 可以正常启动并发布。请问这个有可能是什么原因,并且怎么解决呢
相关阅读:
如何避免XSS漏洞以及带来的雪崩效应
iOS 使用socketio框架进行长连接,为什么无法使用wss协议,只有http和https协议
JavaScript闭包中令人困惑的一个奇怪问题
golang执行linux后台命令
android studio安装后卡在fetching Android sdk compoment information
`obj.prototype` 和 `Object.getPrototypeOf(obj)` 的结果为什么不相同
在OS X的终端下使用vim,是否可以map SHIFT+F1~12
《Javascript: The Good Parts》这书名是在高级黑吗?
ubuntu向数据库添加记录包含中文时提示错误怎么解决?
php代码乱码问题
关于js的命名函数表达式的疑惑
javascript的document.write方法的疑问?
求教:新浪微博数据库表设计,mysql实现
在 OS X 上安装好 Vundle 后 出现 Not an editor command: Bundle
python for in嵌套有限制?
href="javascript:;" 和 href="javascript:void(0)" 有区别吗?
javascript问题:请问Math.atan2()中的“原点”、“x轴”该如何理解?
LINUX下用户要访问 其它 用户下面的目录和命令
移动web APP用什么框架比较好
请教yii2的url rules如何配置id为字符串格式的路由?