weblogic部署存在中文乱码导致部署失败
问题描述:
weblogic控制台显示错误,是受管节点console日志
<-- 下午10时19分16秒 CST> <Info> <Security> <BEA-> <Disabling CryptoJ JCE Provider self-integrity check for better startup performance. To enable this che
ck, specify -Dweblogic.security.allowCryptoJDefaultJCEVerification=true> <-- 下午10时19分16秒 CST> <Info> <Security> <BEA-> <Changing the default Random Number Generator in RSA CryptoJ from ECDRBG to FIPS186PRNG. To disable thi
s change, specify -Dweblogic.security.allowCryptoJDefaultPRNG=true> <-- 下午10时19分17秒 CST> <Info> <WebLogicServer> <BEA-> <Starting WebLogic Server with Java HotSpot(TM) -Bit Server VM Version 24.79-b02 from Oracle Co
rporation> <-- 下午10时19分18秒 CST> <Info> <Management> <BEA-> <Version: WebLogic Server 10.3.6.0. PSU Patch for BUG27395085 THU FEB :: IST
WebLogic Server 10.3.6.0 Tue Nov :: PST >
<-- 下午10时19分20秒 CST> <Notice> <WebLogicServer> <BEA-> <Server state changed to STARTING>
<-- 下午10时19分20秒 CST> <Info> <WorkManager> <BEA-> <Initializing self-tuning thread pool>
<-- 下午10时19分20秒 CST> <Notice> <Log Management> <BEA-> <The server log file /xxxx_domain/tygzpt-domain/servers/tygzpt-domain/logs/tygzpt-domain.log
is opened. All server side log events will be written to this file.> <-- 下午10时19分24秒 CST> <Notice> <Security> <BEA-> <Security initializing using security realm myrealm.>
<-- 下午10时19分26秒 CST> <Notice> <WebLogicServer> <BEA-> <Server state changed to STANDBY>
<-- 下午10时19分26秒 CST> <Notice> <WebLogicServer> <BEA-> <Server state changed to STARTING>
java.io.IOException: [DeploymentService:290066]Error occurred while downloading files from admin server for deployment request "0". Underlying error is: "null"
at weblogic.deploy.service.datatransferhandlers.HttpDataTransferHandler.getDataAsStream(HttpDataTransferHandler.java:)
at weblogic.deploy.service.datatransferhandlers.DataHandlerManager$RemoteDataTransferHandler.getDataAsStream(DataHandlerManager.java:)
at weblogic.deploy.internal.targetserver.datamanagement.AppDataUpdate.doDownload(AppDataUpdate.java:)
at weblogic.deploy.internal.targetserver.datamanagement.DataUpdate.download(DataUpdate.java:)
at weblogic.deploy.internal.targetserver.datamanagement.Data.prepareDataUpdate(Data.java:)
at weblogic.deploy.internal.targetserver.BasicDeployment.prepareDataUpdate(BasicDeployment.java:)
at weblogic.deploy.internal.targetserver.BasicDeployment.stageFilesForStatic(BasicDeployment.java:)
at weblogic.deploy.internal.targetserver.AppDeployment.prepare(AppDeployment.java:)
at weblogic.management.deploy.internal.DeploymentAdapter$.doPrepare(DeploymentAdapter.java:)
at weblogic.management.deploy.internal.DeploymentAdapter.prepare(DeploymentAdapter.java:)
at weblogic.management.deploy.internal.AppTransition$.transitionApp(AppTransition.java:)
at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:)
at weblogic.management.deploy.internal.ConfiguredDeployments.prepare(ConfiguredDeployments.java:)
at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:)
at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:)
at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:)
at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:)
<-- 下午10时19分30秒 CST> <Error> <Deployer> <BEA-> <Failed to initialize the application 'dist' due to error weblogic.management.DeploymentException: Exc
eption occured while downloading files.weblogic.management.DeploymentException: Exception occured while downloading files
at weblogic.deploy.internal.targetserver.datamanagement.AppDataUpdate.doDownload(AppDataUpdate.java:)
at weblogic.deploy.internal.targetserver.datamanagement.DataUpdate.download(DataUpdate.java:)
at weblogic.deploy.internal.targetserver.datamanagement.Data.prepareDataUpdate(Data.java:)
at weblogic.deploy.internal.targetserver.BasicDeployment.prepareDataUpdate(BasicDeployment.java:)
at weblogic.deploy.internal.targetserver.BasicDeployment.stageFilesForStatic(BasicDeployment.java:)
Truncated. see log file for complete stacktrace
Caused By: java.io.IOException: [DeploymentService:]Error occurred while downloading files from admin server for deployment request "". Underlying error is: "nu
ll" at weblogic.deploy.service.datatransferhandlers.HttpDataTransferHandler.getDataAsStream(HttpDataTransferHandler.java:86)
at weblogic.deploy.service.datatransferhandlers.DataHandlerManager$RemoteDataTransferHandler.getDataAsStream(DataHandlerManager.java:)
at weblogic.deploy.internal.targetserver.datamanagement.AppDataUpdate.doDownload(AppDataUpdate.java:)
at weblogic.deploy.internal.targetserver.datamanagement.DataUpdate.download(DataUpdate.java:)
at weblogic.deploy.internal.targetserver.datamanagement.Data.prepareDataUpdate(Data.java:)
weblogic管理节点的logs/admin.log日志
<> <BEA-> <The server "tygzpt-domain" disconnected from this server.>
####<Jun , :: AM CST> <Warning> <DeploymentService> <rhel> <AdminServer> <[ACTIVE] ExecuteThread: '' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <> <BEA-> <Deployment service servlet encountered an Exception while handling the deployment datatransfer message for request id "" from server "tygzpt-domain". Exception is: "java.io.FileNotFoundException: /home/xxxx_domain/war/tygzpt/dist/daie/scripts/miniui/��˵��.txt (No such file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:)
at weblogic.utils.jars.JarFileUtils.addFilesToJar(JarFileUtils.java:)
at weblogic.utils.jars.JarFileUtils.addFilesToJar(JarFileUtils.java:)
根据admin下的日志分析可以得出,是乱码文件的问题!根据路径查到乱码文件删除或者在源码修正编码语言尽量用英文
问题解决:
根据提示的错误,找到乱码文件在源码中修正或者删除(根据自己情况判断)
从这件事,明白console的日志只是表面现象,更深层的问题需要看logs下的日志!学而优则仕
weblogic部署存在中文乱码导致部署失败的更多相关文章
- 同一个tomcat部署多个项目导致启动失败
内容描述在同一个tomcat部署多个打包成war包的项目导致启动失败,报错如下: 报错信息Error starting ApplicationContext. To display the condi ...
- Tomcat解决中文乱码并部署项目
1.在Tomcat下的server.xml中添加URIEncoding="UTF-8"(解决中文乱码的问题) 2.在Tomcat下的server.xml中添加<Context ...
- 解决Android4.3版本下,手机短彩接收中文文件名附件,中文名字的附件无法保存(第二步:解决从从数据库中读取附件文件名,并在长按后保存附件时,中文乱码导致的无法保存附件)
从第一步我们发现,在第一步修改之后,在短彩绘画界面中中文附件名的附件已无法显示,经过打印堆栈我们发现还是中文乱码在作祟.下面我们接着进行分析,这次我们从UI层往逻辑处理层进行分析.首先我们找到保存附件 ...
- requests(三):json请求中中文乱码处理
最近收到一个问题:json格式请求数据中有中文,导致服务端签名失败. 问题详情: 一位同学在发送json格式的post请求时,请求数据中有中文内容: {"inputCodes":[ ...
- Java本地运行中文正常,部署到Weblogic中文乱码
在使用一个加密解密工具类的时候,在本地Main方法中运行正常,不会出现中文乱码,将其部署到Weblogic之后,控制台,Servlet中中出现中文乱码. 在Main方法运行时获取本地编码方式为UTF8 ...
- IIS7部署项目时提示:"错误消息 401.2。: 未经授权: 服务器配置导致登录失败。"的解决办法
这个错误的定位:你的站点使用了Forms验证,而且在部署在生产环境的时候,设置错误,或者注释了. 解决方法如下: 1.检查Forms配置是否屏蔽. 2.有权限访问的资源是否已经开发. 基本就围绕以上两 ...
- Camus导入中文乱码问题(源码修改、编译、部署、任务启动)
Camus使用过程中业务方反映从Kafka导入至HDFS中的数据有中文乱码问题,且业务方确认写入的数据编码为UTF-8,开始跟进. 问题重现: (1)编写代码将带有中文的字符串以编码UTF-8 ...
- Docker容器部署tomcat出现中文乱码
docker 容器部署tomcat后,日志文件中出现中文乱码,很多问号,中文的文件夹也是问好.先看看容器的locale: [root@docker1 ~]# docker exec -it 41de9 ...
- IDEA 设置(中文乱码、svn、热部署、ideolog 、Jrebel )
目录 console中文乱码 idea 多个工程分别设置svn idea svn忽略版本控制 idea svn客户端 ideolog 插件配置 idea 热部署 Jrebel 插件激活和使用 # I ...
随机推荐
- C/C++ 二维数组
使用C语言用到了二维数组 #include <iostream> #include <stdlib.h> using namespace std; ], int row){ ; ...
- c# 正则表达式笔记
估计要写几天 看得一个不错的正则教程包括字符串教程 C#字符串和正则表达式参考手册.pdf 正则所需要的命名空间是 using System.Text.RegularExpressions 它包含了8 ...
- iOS开发-UILabel和UIButton添加下划线
关于UILabel和UIButton有的时候需要添加下划线,一般有两种方式通过默认的NSMutableAttributedString设置,第二种就是在drawRect中画一条下划线,本文就简单的选择 ...
- python用post访问restful服务接口
具体代码如下: import requests import json data={"]} url="http://XXXXX" data_json = json.dum ...
- POJ 2280 Amphiphilic Carbon Molecules 极角排序 + 扫描线
从TLE的暴力枚举 到 13313MS的扫描线 再到 1297MS的简化后的扫描线,简直感觉要爽翻啦.然后满怀欣喜的去HDU交了一下,直接又回到了TLE.....泪流满面 虽说HDU的时限是2000 ...
- Java-JUC(四):同步容器介绍
同步容器简介 针对容器我们知道有HashMap,HashTable,其中HashMap是一个非线程安全的,HashMap在并发执行put操作时会引起死循环,导致CPU利用率接近100%.因为多线程会导 ...
- IncrediBuild 2.40 过期时间
IncrediBuild 2.40的License有2个文件CoordLicense.dat和AgentLicense.dat,分别位于Coordinator和Agent安装目录下,这两个文件都是RS ...
- Log4j中conversionPattern的含义
%a -- 表示礼拜几,英文缩写形式,比如“Fri”%A -- 表示礼拜几,比如“Friday”%b -- 表示几月份,英文缩写形式,比如“Oct”%B -- 表示几月份,“October”%c -- ...
- 去除console.log()打印语句
打印语句:console.log() ,一句话描述它! “用的时候感觉贼爽,不用的时候脑袋痛吧?” 以下提供三种解决方案: 一. webpack打包时去除,适合Vue项目 二. vscode正则匹配, ...
- 微软BI 之SSRS 系列 - 如何实现报表标签的本地化 - 中文和英文的互换
SSRS 中并没有直接提供本地化的配置方式,因此在 SSRS 中实现本地化,比如有英文标题还有可选的中文标题,就需要通过其它的方式来解决. 比如默认是这样的英文标题 - 但是本地中方用户可能比较喜欢看 ...