简体   繁体   中英

linux system release WebService server failure

System was released in linux + tomcat5.5.33 + jdk1.6_45 + java, wherein the system in time to start the server release webService error, as shown below: 在此处输入图片说明

Code is as follows

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<CifInfo> 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<CifInfo> 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!";
}

}


Project in the windows environment can start and release. Will this may be why, and how to solve it

问题已经解决,但由于操作过多,仅怀疑有问题的战争包裹,或与托斯卡纳项目有关的Jar包裹发生冲突,但个人感觉很强大-战争问题

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM