在weblogic中jacob无法初始化,懂的进~~

异常如下:
java.lang.NoClassDefFoundError: com/jacob/activeX/ActiveXComponent
at com.app.checkTemplate.MSWordManager.(MSWordManager.java:124)
at jsp_servlet._datacheck.__testword._jspService(__testword.java:251)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:225)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:127)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
at weblogic.servlet.internal.ServletStubImpl.onAddToMapException(ServletStubImpl.java:391)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:309)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
at app.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:170)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3212)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:1983)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1890)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1344)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)

代码是之前几个月写的,现在做修改居然在项目里面运行不了。是weblogic设置的问题。jacob.dll在system32和jdk/bin以及weblogic安装目录bin文件夹下都拷贝了。jar包也已经加了。
另外,在java Application下能运行。在web项目中报错。

ldc0612
joeyds 我遇到的也是同样的问题,我是spring2.5,在main测试的时候ActiveXComponent word = new ActiveXComponent("Word.Application");可以但是web中就不可以了,你是怎么解决的啊。
接近 7 年之前 回复

2个回答

请把有关的jar放在

${weblogic_home}\user_projects\domains{domain_name}\lib下

jinandmei
jinbingchuan 这个目录下会自动加载,要不然的话,你就需要修改startweblogic这个启动文件,把需要的jar放在里面也是一样的。
7 年多之前 回复
van007008
van007008 为什么之前能跑,难道这个目录下的jar包会被自动删除?
7 年多之前 回复

java.lang.NoClassDefFoundError: com/jacob/activeX/ActiveXComponent
你看看是不是没这个文件

iteye_2178
iteye_2178 那可能服务器没把这jar加载进去
7 年多之前 回复
van007008
van007008 有的。jar包里的
7 年多之前 回复
Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
其他相关推荐
Weblogic EJB项目初始化问题?

在Weblogic中部署EJB项目,在项目启动时需要执行一些方法,求解!

关于在myeclipse中,启动weblogic时报如下错误,weblogic无法启动,大神救命~~

**报错: the source attachment does not contain the source for the file** ![报错具体截图](https://img-ask.csdn.net/upload/201612/02/1480665133_140003.png)

Kettle集成在tomcat可以正常运行,在weblogic下就初始化不了

把war包放到weblogc下,初始化方法直接失败.。在tomcat下可以正常初始化

关与weblogic的,有哪位高手知道怎么在weblogic启动时给变量赋值,以及怎么来得到这个变量

<p>我在weblogic 里面设置了启动类,在启动类里面给一些变量赋了值,但是当我引用这些变量的时候为什么就没的值啊?<br>这是启动类,我是给ConnectionManager.type这个静态的变量在启动时赋了个值<br>public class WLsT3Startup implements T3StartupDef {<br> public String startup(String arg0, Hashtable arg1) throws Exception {<br>  ConnectionManager.type="dao-type";<br>  System.out.println("::::::type::::::::"+ConnectionManager.type);<br> }<br> <br> public void setServices(T3ServicesDef arg0) {<br>   <br> }<br>}<br>在weblogic控制台也有输出:::::::type::::::::dao-type</p> <p> </p> <p>但是我这样写的时候</p> <p>public class Test {<br> public static void main(String[] args) {<br>  System.out.println(ConnectionManager.type);<br> }<br>}</p> <p>就输出个null呢?</p> <p> </p> <p>有哪位高手知道怎么在weblogic启动时给变量赋值,以及怎么来得到这个变量的值啊?</p><br /><strong>问题补充:</strong><br /><span style="color: red">我是想在weblogic启动的时候初始化一些变量的值,但是weblogic启动之后,我在去输出的时候就为null了</span>

weblogic起来了进不去控制台

weblogic起来了进不去控制台![图片说明](https://img-ask.csdn.net/upload/201707/26/1501057184_892104.jpg)

weblogic服务启动成功,但一直进不去控制台,求解?

[weblogic@hiaward bin]$ ./startWebLogic.sh . . JAVA Memory arguments: -Xms512m -Xmx1024m -XX:MaxPermSize=256m . WLS Start Mode=Production . CLASSPATH=/opt/weblogic/patch_wls1031/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/opt/JDK/jdk1.6.0_30/lib/tools.jar:/opt/weblogic/utils/config/10.3.1.0/config-launch.jar:/opt/weblogic/wlserver_10.3/server/lib/weblogic_sp.jar:/opt/weblogic/wlserver_10.3/server/lib/weblogic.jar:/opt/weblogic/modules/features/weblogic.server.modules_10.3.1.0.jar:/opt/weblogic/wlserver_10.3/server/lib/webservices.jar:/opt/weblogic/modules/org.apache.ant_1.7.0/lib/ant-all.jar:/opt/weblogic/modules/net.sf.antcontrib_1.0.0.0_1-0b2/lib/ant-contrib.jar:/opt/weblogic/wlserver_10.3/common/eval/pointbase/lib/pbclient57.jar:/opt/weblogic/wlserver_10.3/server/lib/xqrl.jar:.:/opt/JDK/jdk1.6.0_30/lib/dt.jar:/opt/JDK/jdk1.6.0_30/lib/tools.jar . PATH=/opt/weblogic/wlserver_10.3/server/bin:/opt/weblogic/modules/org.apache.ant_1.7.0/bin:/opt/JDK/jdk1.6.0_30/jre/bin:/opt/JDK/jdk1.6.0_30/bin:/opt/JDK/jdk1.6.0_30/bin:/usr/lib64/qt-3.3/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin . *************************************************** * To start WebLogic Server, use a username and * * password assigned to an admin-level user. For * * server administration, use the WebLogic Server * * console at http://hostname:port/console * *************************************************** starting weblogic with Java version: java version "1.6.0_30" Java(TM) SE Runtime Environment (build 1.6.0_30-b12) Java HotSpot(TM) 64-Bit Server VM (build 20.5-b03, mixed mode) Starting WLS with line: /opt/JDK/jdk1.6.0_30/bin/java -server -Xms512m -Xmx1024m -XX:MaxPermSize=256m -Dweblogic.Name=AdminServer -Djava.security.policy=/opt/weblogic/wlserver_10.3/server/lib/weblogic.policy -da -Dplatform.home=/opt/weblogic/wlserver_10.3 -Dwls.home=/opt/weblogic/wlserver_10.3/server -Dweblogic.home=/opt/weblogic/wlserver_10.3/server -Dweblogic.management.discover=true -Dwlw.iterativeDev=false -Dwlw.testConsole=false -Dwlw.logErrorsToConsole=false -Dweblogic.ext.dirs=/opt/weblogic/patch_wls1031/profiles/default/sysext_manifest_classpath-Dfile.encoding=GBK weblogic.Server <Jan 16, 2014 1:21:36 AM CST> <Notice> <WebLogicServer> <BEA-000395> <Following extensions directory contents added to the end of the classpath: /opt/weblogic/wlserver_10.3/L10N/beehive_ja.jar:/opt/weblogic/wlserver_10.3/L10N/beehive_ko.jar:/opt/weblogic/wlserver_10.3/L10N/beehive_zh_CN.jar:/opt/weblogic/wlserver_10.3/L10N/beehive_zh_TW.jar:/opt/weblogic/wlserver_10.3/L10N/p13n_wls_ja.jar:/opt/weblogic/wlserver_10.3/L10N/p13n_wls_ko.jar:/opt/weblogic/wlserver_10.3/L10N/p13n_wls_zh_CN.jar:/opt/weblogic/wlserver_10.3/L10N/p13n_wls_zh_TW.jar:/opt/weblogic/wlserver_10.3/L10N/testclient_ja.jar:/opt/weblogic/wlserver_10.3/L10N/testclient_ko.jar:/opt/weblogic/wlserver_10.3/L10N/testclient_zh_CN.jar:/opt/weblogic/wlserver_10.3/L10N/testclient_zh_TW.jar:/opt/weblogic/wlserver_10.3/L10N/tuxedocontrol_ja.jar:/opt/weblogic/wlserver_10.3/L10N/tuxedocontrol_ko.jar:/opt/weblogic/wlserver_10.3/L10N/tuxedocontrol_zh_CN.jar:/opt/weblogic/wlserver_10.3/L10N/tuxedocontrol_zh_TW.jar:/opt/weblogic/wlserver_10.3/L10N/workshop_ja.jar:/opt/weblogic/wlserver_10.3/L10N/workshop_ko.jar:/opt/weblogic/wlserver_10.3/L10N/workshop_zh_CN.jar:/opt/weblogic/wlserver_10.3/L10N/workshop_zh_TW.jar> <Jan 16, 2014 1:21:36 AM CST> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) 64-Bit Server VM Version 20.5-b03 from Sun Microsystems Inc.> <Jan 16, 2014 1:21:36 AM CST> <Info> <Management> <BEA-141107> <Version: WebLogic Server 10.3.1.0 Wed Jun 10 22:24:41 MDT 2009 1227385 > <Jan 16, 2014 1:21:38 AM CST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING> <Jan 16, 2014 1:21:38 AM CST> <Info> <WorkManager> <BEA-002900> <Initializing self-tuning thread pool> <Jan 16, 2014 1:21:38 AM CST> <Notice> <Log Management> <BEA-170019> <The server log file /opt/weblogic/user_projects/domains/xTrace/servers/AdminServer/logs/AdminServer.log is opened. All server side log events will be written to this file.> <Jan 16, 2014 1:21:41 AM CST> <Notice> <Security> <BEA-090082> <Security initializing using security realm myrealm.> <Jan 16, 2014 1:21:44 AM CST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STANDBY> <Jan 16, 2014 1:21:44 AM CST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING> Jan 16, 2014 1:21:46 AM com.sun.faces.config.ConfigureListener contextInitialized INFO: Initializing Sun's JavaServer Faces implementation (1.2_03-b04-FCS) for context '/console' Jan 16, 2014 1:21:46 AM com.sun.faces.config.ConfigureListener contextInitialized INFO: Completed initializing Sun's JavaServer Faces implementation (1.2_03-b04-FCS) for context '/console' <Jan 16, 2014 1:21:47 AM CST> <Notice> <Log Management> <BEA-170027> <The Server has established connection with the Domain level Diagnostic Service successfully.> <Jan 16, 2014 1:21:47 AM CST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to ADMIN> <Jan 16, 2014 1:21:47 AM CST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RESUMING> <Jan 16, 2014 1:21:47 AM CST> <Notice> <Server> <BEA-002613> <Channel "Default[1]" is now listening on fe80:0:0:0:223:aeff:fea2:a7a6:7001 for protocols iiop, t3, ldap, snmp, http.> <Jan 16, 2014 1:21:47 AM CST> <Notice> <Server> <BEA-002613> <Channel "Default[3]" is now listening on 127.0.0.1:7001 for protocols iiop, t3, ldap, snmp, http.> <Jan 16, 2014 1:21:47 AM CST> <Notice> <Server> <BEA-002613> <Channel "Default[2]" is now listening on 0:0:0:0:0:0:0:1:7001 for protocols iiop, t3, ldap, snmp, http.> <Jan 16, 2014 1:21:47 AM CST> <Notice> <Server> <BEA-002613> <Channel "Default" is now listening on 192.168.13.246:7001 for protocols iiop, t3, ldap, snmp, http.> <Jan 16, 2014 1:21:47 AM CST> <Notice> <WebLogicServer> <BEA-000329> <Started WebLogic Admin Server "AdminServer" for domain "xTrace" running in Production Mode> <Jan 16, 2014 1:21:47 AM CST> <Warning> <Server> <BEA-002611> <Hostname "localhost6.localdomain6", maps to multiple IP addresses: 202.102.110.203, 0:0:0:0:0:0:0:1> <Jan 16, 2014 1:21:47 AM CST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RUNNING> <Jan 16, 2014 1:21:47 AM CST> <Notice> <WebLogicServer> <BEA-000360> <Server started in RUNNING mode>

Eclipse3.5环境下如何配置Weblogic11的启动参数

IDE:Eclipse3.5 Server:Weblogic 11 JDK:1.6 OS:Windows 调试程序时经常报:PermGen out of memory的错误。 修改过Weblogic的\wlserver_10.3\common\bin下的启动CMD内的参数,但是从Eclipse中启动Weblogic时查看控制台输出依然是原来的参数配置,请问如何修改从Eclipse中启动Weblogic时的启动参数??? 附图是我的Eclipse打完OEPE插件后的Preferences界面。 [img]http://dl.iteye.com/upload/attachment/421762/e5f70381-4e6e-3744-9293-accdebf2a378.jpg[/img] [img]http://dl.iteye.com/upload/attachment/421764/5ed5a1fa-3989-36bb-9254-1f6616f43d78.jpg[/img] [img]http://dl.iteye.com/upload/attachment/421766/9908cd10-1fd6-355c-864e-4fa634b2592e.jpg[/img]

项目在weblogic11g中部署成功在weblogic12c中失败?

<2019-5-6 上午10时20分40,703秒 CST> <Error> <HTTP> <BEA-101216> <Servlet: "JAX-RS/Jersey#1" failed to preload on startup in Web application: "vehicleidservice.war". java.lang.VerifyError: (class: org/apache/cxf/jaxrs/provider/XMLBeansJSONProvider, method: writeTo signature: (Lorg/apache/xmlbeans/XmlObject;Ljava/lang/Class;Ljava/lang/reflect/Type;[Ljava/lang/annotation/Annotation;Ljavax/ws/rs/core/MediaType;Ljavax/ws/rs/core/MultialuedMap;Ljava/io/OutputStream;)V) Incompatible object argument for function call at java.lang.Class.getDeclaredMethods0(Native Method) at java.lang.Class.privateGetDeclaredMethods(Class.java:2701) at java.lang.Class.getDeclaredMethods(Class.java:1975) at org.glassfish.jersey.server.model.IntrospectionModeller$2.run(IntrospectionModeller.java:253) at java.security.AccessController.doPrivileged(Native Method) Truncated. see log file for complete stacktrace > <2019-5-6 上午10时20分40,934秒 CST> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID "95386235356465180" for task "0" on [partition-name: DOMAIN]. Error is: "weblogic.application.ModuleException: java.lang.VerifyError: (lass: org/apache/cxf/jaxrs/provider/XMLBeansJSONProvider, method: writeTo signature: (Lorg/apache/xmlbeans/XmlObject;Ljava/lang/Class;Ljava/lang/reflect/Type;[Ljava/lang/annotation/Annotation;Ljavax/ws/rs/core/MediaType;Ljavax/ws/rs/core/MultivaluedMap;Ljava/io/Outputtream;)V) Incompatible object argument for function call" weblogic.application.ModuleException: java.lang.VerifyError: (class: org/apache/cxf/jaxrs/provider/XMLBeansJSONProvider, method: writeTo signature: (Lorg/apache/xmlbeans/XmlObject;Ljava/lang/Class;Ljava/lang/reflect/Type;[Ljava/lang/annotation/Annotation;Ljavax/ws/rs/ore/MediaType;Ljavax/ws/rs/core/MultivaluedMap;Ljava/io/OutputStream;)V) Incompatible object argument for function call at weblogic.application.internal.ExtensibleModuleWrapper.start(ExtensibleModuleWrapper.java:140) at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:124) at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:233) at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:228) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:45) Truncated. see log file for complete stacktrace Caused By: java.lang.VerifyError: (class: org/apache/cxf/jaxrs/provider/XMLBeansJSONProvider, method: writeTo signature: (Lorg/apache/xmlbeans/XmlObject;Ljava/lang/Class;Ljava/lang/reflect/Type;[Ljava/lang/annotation/Annotation;Ljavax/ws/rs/core/MediaType;Ljavax/ws/rscore/MultivaluedMap;Ljava/io/OutputStream;)V) Incompatible object argument for function call at java.lang.Class.getDeclaredMethods0(Native Method) at java.lang.Class.privateGetDeclaredMethods(Class.java:2701) at java.lang.Class.getDeclaredMethods(Class.java:1975) at org.glassfish.jersey.server.model.IntrospectionModeller$2.run(IntrospectionModeller.java:253) at java.security.AccessController.doPrivileged(Native Method) Truncated. see log file for complete stacktrace > <2019-5-6 上午10时20分40,949秒 CST> <Error> <Deployer> <BEA-149202> <Encountered an exception while attempting to commit the 1 task for the application "vehicleidservice" on [partition-name: DOMAIN].> <2019-5-6 上午10时20分40,975秒 CST> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for application "vehicleidservice".> <2019-5-6 上午10时20分40,976秒 CST> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004 weblogic.application.ModuleException: java.lang.VerifyError: (class: org/apache/cxf/jaxrs/provider/XMLBeansJSONProvider, method: writeTo signature: (Lorg/apache/xmlbeans/XmlObject;Ljava/lang/Class;Ljava/lang/reflect/Type;[Ljava/lang/annotation/Annotation;Ljavax/ws/rs/ore/MediaType;Ljavax/ws/rs/core/MultivaluedMap;Ljava/io/OutputStream;)V) Incompatible object argument for function call at weblogic.application.internal.ExtensibleModuleWrapper.start(ExtensibleModuleWrapper.java:140) at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:124) at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:233) at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:228) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:45) Truncated. see log file for complete stacktrace Caused By: java.lang.VerifyError: (class: org/apache/cxf/jaxrs/provider/XMLBeansJSONProvider, method: writeTo signature: (Lorg/apache/xmlbeans/XmlObject;Ljava/lang/Class;Ljava/lang/reflect/Type;[Ljava/lang/annotation/Annotation;Ljavax/ws/rs/core/MediaType;Ljavax/ws/rscore/MultivaluedMap;Ljava/io/OutputStream;)V) Incompatible object argument for function call at java.lang.Class.getDeclaredMethods0(Native Method) at java.lang.Class.privateGetDeclaredMethods(Class.java:2701) at java.lang.Class.getDeclaredMethods(Class.java:1975) at org.glassfish.jersey.server.model.IntrospectionModeller$2.run(IntrospectionModeller.java:253) at java.security.AccessController.doPrivileged(Native Method) Truncated. see log file for complete stacktrace > <2019-5-6 上午10时20分41,065秒 CST> <Error> <Console> <BEA-240003> <Administration Console encountered the following error: weblogic.application.ModuleException: java.lang.VerifyError: (class: org/apache/cxf/jaxrs/provider/XMLBeansJSONProvider, method: writeTo signatue: (Lorg/apache/xmlbeans/XmlObject;Ljava/lang/Class;Ljava/lang/reflect/Type;[Ljava/lang/annotation/Annotation;Ljavax/ws/rs/core/MediaType;Ljavax/ws/rs/core/MultivaluedMap;Ljava/io/OutputStream;)V) Incompatible object argument for function call at weblogic.application.internal.ExtensibleModuleWrapper.start(ExtensibleModuleWrapper.java:140) at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:124) at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:233) at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:228) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:45) at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:78) at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:52) at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:752) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:45) at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:262) at weblogic.application.internal.SingleModuleDeployment.activate(SingleModuleDeployment.java:52) at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:165) at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:90) at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:631) at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:171) at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:121) at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:348) at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:907) at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1468) at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:459) at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:181) at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:217) at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:14) at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:69) at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:670) at weblogic.invocation.ComponentInvocationContextManager._runAs(ComponentInvocationContextManager.java:352) at weblogic.invocation.ComponentInvocationContextManager.runAs(ComponentInvocationContextManager.java:337) at weblogic.work.LivePartitionUtility.doRunWorkUnderContext(LivePartitionUtility.java:57) at weblogic.work.PartitionUtility.runWorkUnderContext(PartitionUtility.java:41) at weblogic.work.SelfTuningWorkManagerImpl.runWorkUnderContext(SelfTuningWorkManagerImpl.java:644) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:415) at weblogic.work.ExecuteThread.run(ExecuteThread.java:355) Caused by: java.lang.VerifyError: (class: org/apache/cxf/jaxrs/provider/XMLBeansJSONProvider, method: writeTo signature: (Lorg/apache/xmlbeans/XmlObject;Ljava/lang/Class;Ljava/lang/reflect/Type;[Ljava/lang/annotation/Annotation;Ljavax/ws/rs/core/MediaType;Ljavax/ws/rscore/MultivaluedMap;Ljava/io/OutputStream;)V) Incompatible object argument for function call at java.lang.Class.getDeclaredMethods0(Native Method) at java.lang.Class.privateGetDeclaredMethods(Class.java:2701) at java.lang.Class.getDeclaredMethods(Class.java:1975) at org.glassfish.jersey.server.model.IntrospectionModeller$2.run(IntrospectionModeller.java:253) at java.security.AccessController.doPrivileged(Native Method) at org.glassfish.jersey.server.model.IntrospectionModeller.getAllDeclaredMethods(IntrospectionModeller.java:247) at org.glassfish.jersey.server.model.IntrospectionModeller.checkForNonPublicMethodIssues(IntrospectionModeller.java:172) at org.glassfish.jersey.server.model.IntrospectionModeller.doCreateResourceBuilder(IntrospectionModeller.java:119) at org.glassfish.jersey.server.model.IntrospectionModeller.access$000(IntrospectionModeller.java:80) at org.glassfish.jersey.server.model.IntrospectionModeller$1.call(IntrospectionModeller.java:112) at org.glassfish.jersey.server.model.IntrospectionModeller$1.call(IntrospectionModeller.java:109) at org.glassfish.jersey.internal.Errors.process(Errors.java:315) at org.glassfish.jersey.internal.Errors.process(Errors.java:297) at org.glassfish.jersey.internal.Errors.processWithException(Errors.java:255) at org.glassfish.jersey.server.model.IntrospectionModeller.createResourceBuilder(IntrospectionModeller.java:109) at org.glassfish.jersey.server.model.Resource.from(Resource.java:797) at org.glassfish.jersey.server.ApplicationHandler.initialize(ApplicationHandler.java:465) at org.glassfish.jersey.server.ApplicationHandler.access$500(ApplicationHandler.java:184) at org.glassfish.jersey.server.ApplicationHandler$3.call(ApplicationHandler.java:350) at org.glassfish.jersey.server.ApplicationHandler$3.call(ApplicationHandler.java:347) at org.glassfish.jersey.internal.Errors.process(Errors.java:315) at org.glassfish.jersey.internal.Errors.process(Errors.java:297) at org.glassfish.jersey.internal.Errors.processWithException(Errors.java:255) at org.glassfish.jersey.server.ApplicationHandler.<init>(ApplicationHandler.java:347) at org.glassfish.jersey.servlet.WebComponent.<init>(WebComponent.java:392) at org.glassfish.jersey.servlet.ServletContainer.init(ServletContainer.java:177) at org.glassfish.jersey.servlet.ServletContainer.init(ServletContainer.java:369) at javax.servlet.GenericServlet.init(GenericServlet.java:244) at weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:343) at weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:294) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:326) at weblogic.security.service.SecurityManager.runAsForUserCode(SecurityManager.java:197) at weblogic.servlet.provider.WlsSecurityProvider.runAsForUserCode(WlsSecurityProvider.java:203) at weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:71) at weblogic.servlet.internal.StubSecurityHelper.initServletInstance(StubSecurityHelper.java:99) at weblogic.servlet.internal.StubSecurityHelper.createServlet(StubSecurityHelper.java:87) at weblogic.servlet.internal.StubLifecycleHelper.createOneInstance(StubLifecycleHelper.java:71) at weblogic.servlet.internal.StubLifecycleHelper.<init>(StubLifecycleHelper.java:57) at weblogic.servlet.internal.StubLifecycleHelper.<init>(StubLifecycleHelper.java:31) at weblogic.servlet.internal.ServletStubImpl.initStubLifecycleHelper(ServletStubImpl.java:673) at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:612) at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:2064) at weblogic.servlet.internal.WebAppServletContext.loadServletsOnStartup(WebAppServletContext.java:2041) at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1930) at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3101) at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1843) at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:884) at weblogic.application.internal.ExtensibleModuleWrapper$StartStateChange.next(ExtensibleModuleWrapper.java:360) at weblogic.application.internal.ExtensibleModuleWrapper$StartStateChange.next(ExtensibleModuleWrapper.java:356) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:45) at weblogic.application.internal.ExtensibleModuleWrapper.start(ExtensibleModuleWrapper.java:138)

java项目部署在weblogic中,如何操作linux中的文件夹并下载日志

java项目部署在weblogic容器中,现在要开发个功能就是能下载项目产生的日志, 且前端能显示日志的文件夹的名字,然后选择哪天的日志进行下载,现在已知linux存放日志的目录, 用java怎么实现?

weblogic配置项目路径

配置项目的路径 webroot时候 出的错误,急 求解 Error 503--Service Unavailable From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1: 10.5.4 503 Service Unavailable The server is currently unable to handle the request due to a temporary overloading or maintenance of the server. The implication is that this is a temporary condition which will be alleviated after some delay. If known, the length of the delay may be indicated in a Retry-After header. If no Retry-After is given, the client SHOULD handle the response as it would for a 500 response. Note: The existence of the 503 status code does not imply that a server must use it when becoming overloaded. Some servers may wish to simply refuse the connection.

在weblogic12.1.3部署应用是没问题的,但在weblogic12.1.2部署就提示错误

在weblogic12.1.3部署应用是没问题的,但在weblogic12.1.2部署就提示错误,错误如下: 错误 无法访问所选应用程序。 错误 Apps tool failure: Check nested exception for details 错误 Apps tool failure: Check nested exception for details 错误 java.lang.ArrayIndexOutOfBoundsException weblogic.utils.compiler.ToolFailureException: 29287 at weblogic.application.compiler.FlowDriver.handleStateChangeException(FlowDriver.java:54) at weblogic.application.compiler.FlowDriver.nextState(FlowDriver.java:38) at weblogic.application.compiler.AppMerge.runBody(AppMerge.java:163) at weblogic.utils.compiler.Tool.run(Tool.java:158) at weblogic.utils.compiler.Tool.run(Tool.java:115) at weblogic.application.compiler.AppMerge.main(AppMerge.java:194) at weblogic.appmerge.main(appmerge.java:13) Caused by: java.lang.ArrayIndexOutOfBoundsException: 29287 at com.bea.objectweb.asm.ClassReader.readClass(Unknown Source) at com.bea.objectweb.asm.ClassReader.accept(Unknown Source) at com.bea.objectweb.asm.ClassReader.accept(Unknown Source) at weblogic.application.utils.annotation.ClassInfoImpl.<init>(ClassInfoImpl.java:52) at weblogic.application.utils.annotation.ClassfinderClassInfos.polulateOneClassInfo(ClassfinderClassInfos.java:211) at weblogic.application.utils.annotation.ClassfinderClassInfos.populateClassInfos(ClassfinderClassInfos.java:203) at weblogic.application.utils.annotation.ClassfinderClassInfos.<init>(ClassfinderClassInfos.java:37) at weblogic.servlet.internal.War.initializeClassInfosIfNecessary(War.java:443) at weblogic.servlet.internal.War.getAnnotatedClasses(War.java:373) at weblogic.servlet.internal.WebBaseModuleExtensionContext.getAnnotatedClasses(WebBaseModuleExtensionContext.java:63) at weblogic.ejb.container.deployer.BaseModuleExtensionFactory.hasAnnotatedEJBs(BaseModuleExtensionFactory.java:50) at weblogic.ejb.tools.EJBToolsModuleExtensionFactory.create(EJBToolsModuleExtensionFactory.java:22) at weblogic.application.compiler.ModuleState.initExtensions(ModuleState.java:206) at weblogic.application.compiler.flow.SingleModuleMergeFlow.proecessModule(SingleModuleMergeFlow.java:30) at weblogic.application.compiler.flow.SingleModuleFlow.compile(SingleModuleFlow.java:63) at weblogic.application.compiler.FlowDriver$FlowStateChange.next(FlowDriver.java:70) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:42) at weblogic.application.compiler.FlowDriver.nextState(FlowDriver.java:37) at weblogic.application.compiler.BaseMerger.merge(BaseMerger.java:20) at weblogic.application.compiler.flow.AppMergerFlow.mergeInput(AppMergerFlow.java:75) at weblogic.application.compiler.flow.AppMergerFlow.compile(AppMergerFlow.java:40) at weblogic.application.compiler.FlowDriver$FlowStateChange.next(FlowDriver.java:70) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:42) at weblogic.application.compiler.FlowDriver.nextState(FlowDriver.java:37) ... 5 more

webservice部署在linux+weblogic上,压力测试超时

系统是xfire webservice对外提供服务,部署在weblogic集群上,操作系统是Linux,数据库是oracle集群。 用soapui工具测试时,线程数50以下,策略为simple就能稳定正常返回。再大就会超过设置的5秒超时时间。 这个瓶颈可能在哪? linux打开文件数已调整,Weblogic10.3.0.0版本据说线程池是自动调整的,也尝试修改初始化连接数为200或者400效果都不明显。上生产之后出现超时现象,客户端超过5秒会断开,然后weblogic的线程QueueLength不断增加,最终导致节点warning。 大家给点思路,解决问题可wx红包感谢

在weblogic11上发布的webservice,无法调用到原项目里的服务类

我这是weblogic部署的一套系统,现在有外部系统需要访问返回一些数据,要求用webservice。 webservice发布成功,能过通过测试代码调用到接口,但是接口中代码调用原项目的服务类时出错。 异常如下: Caused by: javax.naming.NameNotFoundException: While trying to look up /app/ejb/sessionservice-ejb.jar#SessionService/local-home in /app/webapp/BDSWeb/18481264.; remaining name '/app/ejb/sessionservice-ejb/jar#SessionService/local-home' at weblogic.jndi.internal.BasicNamingNode.newNameNotFoundException(BasicNamingNode.java:1139) at weblogic.jndi.internal.ApplicationNamingNode.lookup(ApplicationNamingNode.java:144) at weblogic.jndi.internal.WLEventContextImpl.lookup(WLEventContextImpl.java:254) at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:380) at weblogic.jndi.factories.java.ReadOnlyContextWrapper.lookup(ReadOnlyContextWrapper.java:45) at weblogic.jndi.internal.AbstractURLContext.lookup(AbstractURLContext.java:130) at javax.naming.InitialContext.lookup(InitialContext.java:392) at weblogic.jndi.internal.WLNamingManager.getObjectInstance(WLNamingManager.java:102)

euraka是否能部署在weblogic上面

将euraka项目部署在weblogic上面,一直出现下面信息。百度一一下euraka与weblogic,网上没有一点相关资料 Description: An attempt was made to call the method com.sun.jersey.spi.container.servlet.ServletContainer.<init>(Ljavax/ws/rs/core/Application;)V but it does not exist. Its class, com.sun.jersey.spi.container.servlet.ServletContainer, is available from the following locations: It was loaded from the following location: Action: Correct the classpath of your application so that it contains a single, compatible version of com.sun.jersey.spi.container.servlet.ServletContainer

Linux 系统中weblogic如何指定项目中jar包加载顺序

求各位大佬指点迷津,我知道myeclipse中Java Bulid path>>Order and Export菜单可以指定项目中jar包的加载顺序, 那么Linux中是否有地方可以进行这个设置。我用的容器是weblogic,产生的问题是jar包冲突。**不是weblogic自带的包和项目里的包的冲突,而是项目中的两个包冲突,一个是s*.jar,一个是w*.jar**。正常应该先加载s的jar包在加载w的jar包。但是现在服务其实是先加载w的。求各位大佬的解决办法,jar包不可以删除。

weblogic启动闪退,找不到或无法加载主类 weblogic.Server

weblogic启动闪退,找不到或无法加载主类 weblogic.Server

请教ssh启动异常,上下文初始化失败,事什么情况了?

``` 00:51:59,617 ERROR RMI TCP Connection(4)-127.0.0.1 context.ContextLoader:350 - Context initialization failed org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'baseDaoImpl': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in class path resource [applicationContext.xml]: Invocation of init method failed; nested exception is org.hibernate.MappingException: Repeated column in mapping for entity: com.web.system.entity.Role column: CREATEBY (should be mapped with insert="false" update="false") at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1264) 26-Sep-2017 00:51:59.651 严重 [RMI TCP Connection(4)-127.0.0.1] org.apache.catalina.core.StandardContext.startInternal One or more listeners failed to start. Full details will be found in the appropriate container log file 26-Sep-2017 00:51:59.653 严重 [RMI TCP Connection(4)-127.0.0.1] org.apache.catalina.core.StandardContext.startInternal Context [/quanxian] startup failed due to previous errors che.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:753) at org.apache.catalina.startup.HostConfig.manageApp(HostConfig.java:1696) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:300) at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819) at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801) at org.apache.catalina.mbeans.MBeanFactory.createStandardContext(MBeanFactory.java:484) at org.apache.catalina.mbeans.MBeanFactory.createStandardContext(MBeanFactory.java:433) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:300) at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819) at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801) at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1468) at javax.management.remote.rmi.RMIConnectionImpl.access$300(RMIConnectionImpl.java:76) at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1309) at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1401) at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:829) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:323) at sun.rmi.transport.Transport$1.run(Transport.java:200) at sun.rmi.transport.Transport$1.run(Transport.java:197) at java.security.AccessController.doPrivileged(Native Method) at sun.rmi.transport.Transport.serviceCall(Transport.java:196) at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:568) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:826) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0(TCPTransport.java:683) at java.security.AccessController.doPrivileged(Native Method) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:682) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in class path resource [applicationContext.xml]: Invocation of init method failed; nested exception is org.hibernate.MappingException: Repeated column in mapping for entity: com.web.system.entity.Role column: CREATEBY (should be mapped with insert="false" update="false") at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1628) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:555) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202) at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.autowireResource(CommonAnnotationBeanPostProcessor.java:522) at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.getResource(CommonAnnotationBeanPostProcessor.java:496) at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor$ResourceElement.getResourceToInject(CommonAnnotationBeanPostProcessor.java:627) at org.springframework.beans.factory.annotation.InjectionMetadata$InjectedElement.inject(InjectionMetadata.java:169) at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88) at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.postProcessPropertyValues(CommonAnnotationBeanPostProcessor.java:318) ... 58 more Caused by: org.hibernate.MappingException: Repeated column in mapping for entity: com.web.system.entity.Role column: CREATEBY (should be mapped with insert="false" update="false") at org.hibernate.mapping.PersistentClass.checkColumnDuplication(PersistentClass.java:709) at org.hibernate.mapping.PersistentClass.checkPropertyColumnDuplication(PersistentClass.java:731) at org.hibernate.mapping.PersistentClass.checkColumnDuplication(PersistentClass.java:753) at org.hibernate.mapping.PersistentClass.validate(PersistentClass.java:506) at org.hibernate.mapping.RootClass.validate(RootClass.java:270) at org.hibernate.cfg.Configuration.validate(Configuration.java:1360) at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1851) at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1930) at org.springframework.orm.hibernate4.LocalSessionFactoryBuilder.buildSessionFactory(LocalSessionFactoryBuilder.java:372) at org.springframework.orm.hibernate4.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:454) at org.springframework.orm.hibernate4.LocalSessionFactoryBean.afterPropertiesSet(LocalSessionFactoryBean.java:439) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1687) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1624) ... 70 more 26-Sep-2017 00:51:59.755 警告 [RMI TCP Connection(4)-127.0.0.1] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesJdbc The web application [quanxian] registered the JDBC driver [com.mysql.jdbc.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered. [2017-09-26 12:51:59,809] Artifact quanxian:war exploded: Error during artifact deployment. See server log for details. ```

在weblogic中怎么访问web-inf下的info.txt

操作系统是liunx,应用服务器是weblogic10.2.3.1 我在web-inf目录下有一个info.txt配置文件,把web程序打成war包放在weblogic服务器中,在访问中却不能找到这个目录? info.txt如下:/login.do=com.ouruan.mvctemplate.service.LoginService public class ServletAction extends HttpServlet { protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { this.doPost(request, response); } protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { //设置字符编码 response.setContentType("text/html charset=utf-8"); //获取请求路径 String path = request.getServletPath(); System.out.println(path); //获取配置文件info.txt的全路径 String filePath = this.getServletContext().getRealPath("WEB-INF"+File.separator+"info.properties"); System.out.println(filePath); // String webName = request.getContextPath(); //// 协议名称+服务器地址+端口号+web应用的名称 // String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+webName+ // File.separator+"WEB-INF"+File.separator+"info.properties"; // System.out.println(basePath); ServicesFactory factory = new ServicesFactory(filePath); 如果 这里用filePath会抛出异常: emplate.war path:/mvctemplate spec-version:2.5]] Servlet failed with Exception java.lang.NullPointerException at java.io.FileInputStream.<init>(FileInputStream.java:103) at java.io.FileInputStream.<init>(FileInputStream.java:66) at com.ouruan.mvctemplate.util.ServicesFactory.<init>(ServicesFactory.java:25) at com.ouruan.mvctemplate.control.ServletAction.doPost(ServletAction.java:35) at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) Truncated. see log file for complete stacktrace > 如果用basePath会抛出异常: <2010-1-5 下午11时38分49秒 CST> <Error> <HTTP> <BEA-101020> <[ServletContext@10055979[app:_appsdir_mvctemplate_war module:mvctemplate.war path:/mvctemplate spec-version:2.5]] Servlet failed with Exception java.lang.NullPointerException at java.io.FileInputStream.<init>(FileInputStream.java:103) at java.io.FileInputStream.<init>(FileInputStream.java:66) at com.ouruan.mvctemplate.util.ServicesFactory.<init>(ServicesFactory.java:25) at com.ouruan.mvctemplate.control.ServletAction.doPost(ServletAction.java:35) at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) Truncated. see log file for complete stacktrace > /login.do http://localhost:7001/mvctemplate/info.properties java.io.FileNotFoundException: http:/localhost:7001/mvctemplate/info.properties (No such file or directory) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(FileInputStream.java:106) at java.io.FileInputStream.<init>(FileInputStream.java:66) at com.ouruan.mvctemplate.util.ServicesFactory.<init>(ServicesFactory.java:25) at com.ouruan.mvctemplate.control.ServletAction.doPost(ServletAction.java:35) at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227) at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3594) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121) at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2202) at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2108) at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1432) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201) at weblogic.work.ExecuteThread.run(ExecuteThread.java:173) key--/login.do className--null java.lang.NullPointerException at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:169) at com.ouruan.mvctemplate.util.ServicesFactory.getInfo(ServicesFactory.java:47) at com.ouruan.mvctemplate.control.ServletAction.doPost(ServletAction.java:38) at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227) at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3594) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121) at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2202) at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2108) at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1432) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201) at weblogic.work.ExecuteThread.run(ExecuteThread.java:173) try { InterService service = factory.getInfo(path); String forwardpath = service.getService(request, response); request.getRequestDispatcher(forwardpath).forward(request, response); } catch (Exception e) { e.printStackTrace(); } } } 请问这个问题怎么解决

weblogic启动正常,为何控制台登录很慢

linux下的weblogic10.3.6,安装后启动正常,设置过内存1024m,但是登录控制台console很慢,谁遇到过?有没有高手解答下

软件测试入门、SQL、性能测试、测试管理工具

软件测试2小时入门,让您快速了解软件测试基本知识,有系统的了解; SQL一小时,让您快速理解和掌握SQL基本语法 jmeter性能测试 ,让您快速了解主流来源性能测试工具jmeter 测试管理工具-禅道,让您快速学会禅道的使用,学会测试项目、用例、缺陷的管理、

计算机组成原理实验教程

西北工业大学计算机组成原理实验课唐都仪器实验帮助,同实验指导书。分为运算器,存储器,控制器,模型计算机,输入输出系统5个章节

Java 最常见的 200+ 面试题:面试必备

这份面试清单是从我 2015 年做了 TeamLeader 之后开始收集的,一方面是给公司招聘用,另一方面是想用它来挖掘在 Java 技术栈中,还有那些知识点是我不知道的,我想找到这些技术盲点,然后修复它,以此来提高自己的技术水平。虽然我是从 2009 年就开始参加编程工作了,但我依旧觉得自己现在要学的东西很多,并且学习这些知识,让我很有成就感和满足感,那所以何乐而不为呢? 说回面试的事,这份面试...

winfrom中嵌套html,跟html的交互

winfrom中嵌套html,跟html的交互,源码就在里面一看就懂,很简单

玩转Python-Python3基础入门

总课时80+,提供源码和相关资料 本课程从Python零基础到纯Python项目实战。内容详细,案例丰富,覆盖了Python知识的方方面面,学完后不仅对Python知识有个系统化的了解,让你从Python小白变编程大牛! 课程包含: 1.python安装 2.变量、数据类型和运算符 3.选择结构 4.循环结构 5.函数和模块 6.文件读写 7.了解面向对象 8.异常处理

程序员的兼职技能课

获取讲师答疑方式: 在付费视频第一节(触摸命令_ALL)片头有二维码及加群流程介绍 限时福利 原价99元,今日仅需39元!购课添加小助手(微信号:itxy41)按提示还可领取价值800元的编程大礼包! 讲师介绍: 苏奕嘉&nbsp;前阿里UC项目工程师 脚本开发平台官方认证满级(六级)开发者。 我将如何教会你通过【定制脚本】赚到你人生的第一桶金? 零基础程序定制脚本开发课程,是完全针对零脚本开发经验的小白而设计,课程内容共分为3大阶段: ①前期将带你掌握Q开发语言和界面交互开发能力; ②中期通过实战来制作有具体需求的定制脚本; ③后期将解锁脚本的更高阶玩法,打通任督二脉; ④应用定制脚本合法赚取额外收入的完整经验分享,带你通过程序定制脚本开发这项副业,赚取到你的第一桶金!

HoloLens2开发入门教程

本课程为HoloLens2开发入门教程,讲解部署开发环境,安装VS2019,Unity版本,Windows SDK,创建Unity项目,讲解如何使用MRTK,编辑器模拟手势交互,打包VS工程并编译部署应用到HoloLens上等。

基于VHDL的16位ALU简易设计

基于VHDL的16位ALU简易设计,可完成基本的加减、带进位加减、或、与等运算。

MFC一站式终极全套课程包

该套餐共包含从C小白到C++到MFC的全部课程,整套学下来绝对成为一名C++大牛!!!

利用Verilog实现数字秒表(基本逻辑设计分频器练习)

设置复位开关。当按下复位开关时,秒表清零并做好计时准备。在任何情况下只要按下复位开关,秒表都要无条件地进行复位操作,即使是在计时过程中也要无条件地进行清零操作。 设置启/停开关。当按下启/停开关后,将

董付国老师Python全栈学习优惠套餐

购买套餐的朋友可以关注微信公众号“Python小屋”,上传付款截图,然后领取董老师任意图书1本。

Python可以这样学(第一季:Python内功修炼)

董付国系列教材《Python程序设计基础》、《Python程序设计(第2版)》、《Python可以这样学》配套视频,讲解Python 3.5.x和3.6.x语法、内置对象用法、选择与循环以及函数设计与使用、lambda表达式用法、字符串与正则表达式应用、面向对象编程、文本文件与二进制文件操作、目录操作与系统运维、异常处理结构。

计算机操作系统 第三版.pdf

计算机操作系统 第三版 本书全面介绍了计算机系统中的一个重要软件——操作系统(OS),本书是第三版,对2001年出版的修订版的各章内容均作了较多的修改,基本上能反映当前操作系统发展的现状,但章节名称基

技术大佬:我去,你写的 switch 语句也太老土了吧

昨天早上通过远程的方式 review 了两名新来同事的代码,大部分代码都写得很漂亮,严谨的同时注释也很到位,这令我非常满意。但当我看到他们当中有一个人写的 switch 语句时,还是忍不住破口大骂:“我擦,小王,你丫写的 switch 语句也太老土了吧!” 来看看小王写的代码吧,看完不要骂我装逼啊。 private static String createPlayer(PlayerTypes p...

Vue.js 2.0之全家桶系列视频课程

基于新的Vue.js 2.3版本, 目前新全的Vue.js教学视频,让你少走弯路,直达技术前沿! 1. 包含Vue.js全家桶(vue.js、vue-router、axios、vuex、vue-cli、webpack、ElementUI等) 2. 采用笔记+代码案例的形式讲解,通俗易懂

微信公众平台开发入门

本套课程的设计完全是为初学者量身打造,课程内容由浅入深,课程讲解通俗易懂,代码实现简洁清晰。通过本课程的学习,学员能够入门微信公众平台开发,能够胜任企业级的订阅号、服务号、企业号的应用开发工作。 通过本课程的学习,学员能够对微信公众平台有一个清晰的、系统性的认识。例如,公众号是什么,它有什么特点,它能做什么,怎么开发公众号。 其次,通过本课程的学习,学员能够掌握微信公众平台开发的方法、技术和应用实现。例如,开发者文档怎么看,开发环境怎么搭建,基本的消息交互如何实现,常用的方法技巧有哪些,真实应用怎么开发。

150讲轻松搞定Python网络爬虫

【为什么学爬虫?】 &nbsp; &nbsp; &nbsp; &nbsp;1、爬虫入手容易,但是深入较难,如何写出高效率的爬虫,如何写出灵活性高可扩展的爬虫都是一项技术活。另外在爬虫过程中,经常容易遇到被反爬虫,比如字体反爬、IP识别、验证码等,如何层层攻克难点拿到想要的数据,这门课程,你都能学到! &nbsp; &nbsp; &nbsp; &nbsp;2、如果是作为一个其他行业的开发者,比如app开发,web开发,学习爬虫能让你加强对技术的认知,能够开发出更加安全的软件和网站 【课程设计】 一个完整的爬虫程序,无论大小,总体来说可以分成三个步骤,分别是: 网络请求:模拟浏览器的行为从网上抓取数据。 数据解析:将请求下来的数据进行过滤,提取我们想要的数据。 数据存储:将提取到的数据存储到硬盘或者内存中。比如用mysql数据库或者redis等。 那么本课程也是按照这几个步骤循序渐进的进行讲解,带领学生完整的掌握每个步骤的技术。另外,因为爬虫的多样性,在爬取的过程中可能会发生被反爬、效率低下等。因此我们又增加了两个章节用来提高爬虫程序的灵活性,分别是: 爬虫进阶:包括IP代理,多线程爬虫,图形验证码识别、JS加密解密、动态网页爬虫、字体反爬识别等。 Scrapy和分布式爬虫:Scrapy框架、Scrapy-redis组件、分布式爬虫等。 通过爬虫进阶的知识点我们能应付大量的反爬网站,而Scrapy框架作为一个专业的爬虫框架,使用他可以快速提高我们编写爬虫程序的效率和速度。另外如果一台机器不能满足你的需求,我们可以用分布式爬虫让多台机器帮助你快速爬取数据。 &nbsp; 从基础爬虫到商业化应用爬虫,本套课程满足您的所有需求! 【课程服务】 专属付费社群+每周三讨论会+1v1答疑

SEIR课程设计源码与相关城市数据.rar

SEIR结合学报与之前博客结合所做的一些改进,选择其中三个城市进行拟合仿真SEIR结合学报与之前博客结合所做的一些改进,选择其中三个城市进行拟合仿真SEIR结合学报与之前博客结合所做的一些改进,选择其

Python数据挖掘简易入门

&nbsp; &nbsp; &nbsp; &nbsp; 本课程为Python数据挖掘方向的入门课程,课程主要以真实数据为基础,详细介绍数据挖掘入门的流程和使用Python实现pandas与numpy在数据挖掘方向的运用,并深入学习如何运用scikit-learn调用常用的数据挖掘算法解决数据挖掘问题,为进一步深入学习数据挖掘打下扎实的基础。

2019 AI开发者大会

2019 AI开发者大会(AI ProCon 2019)是由中国IT社区CSDN主办的AI技术与产业年度盛会。多年经验淬炼,如今蓄势待发:2019年9月6-7日,大会将有近百位中美顶尖AI专家、知名企业代表以及千余名AI开发者齐聚北京,进行技术解读和产业论证。我们不空谈口号,只谈技术,诚挚邀请AI业内人士一起共铸人工智能新篇章!

Java面试题大全(2020版)

发现网上很多Java面试题都没有答案,所以花了很长时间搜集整理出来了这套Java面试题大全,希望对大家有帮助哈~ 本套Java面试题大全,全的不能再全,哈哈~ 一、Java 基础 1. JDK 和 JRE 有什么区别? JDK:Java Development Kit 的简称,java 开发工具包,提供了 java 的开发环境和运行环境。 JRE:Java Runtime Environ...

定量遥感中文版 梁顺林著 范闻捷译

这是梁顺林的定量遥感的中文版,由范闻捷等翻译的,是电子版PDF,解决了大家看英文费时费事的问题,希望大家下载看看,一定会有帮助的

GIS程序设计教程 基于ArcGIS Engine的C#开发实例

张丰,杜震洪,刘仁义编著.GIS程序设计教程 基于ArcGIS Engine的C#开发实例.浙江大学出版社,2012.05

人工智能-计算机视觉实战之路(必备算法+深度学习+项目实战)

系列课程主要分为3大阶段:(1)首先掌握计算机视觉必备算法原理,结合Opencv进行学习与练手,通过实际视项目进行案例应用展示。(2)进军当下最火的深度学习进行视觉任务实战,掌握深度学习中必备算法原理与网络模型架构。(3)结合经典深度学习框架与实战项目进行实战,基于真实数据集展开业务分析与建模实战。整体风格通俗易懂,项目驱动学习与就业面试。 建议同学们按照下列顺序来进行学习:1.Python入门视频课程 2.Opencv计算机视觉实战(Python版) 3.深度学习框架-PyTorch实战/人工智能框架实战精讲:Keras项目 4.Python-深度学习-物体检测实战 5.后续实战课程按照自己喜好选择就可以

三个项目玩转深度学习(附1G源码)

从事大数据与人工智能开发与实践约十年,钱老师亲自见证了大数据行业的发展与人工智能的从冷到热。事实证明,计算机技术的发展,算力突破,海量数据,机器人技术等,开启了第四次工业革命的序章。深度学习图像分类一直是人工智能的经典任务,是智慧零售、安防、无人驾驶等机器视觉应用领域的核心技术之一,掌握图像分类技术是机器视觉学习的重中之重。针对现有线上学习的特点与实际需求,我们开发了人工智能案例实战系列课程。打造:以项目案例实践为驱动的课程学习方式,覆盖了智能零售,智慧交通等常见领域,通过基础学习、项目案例实践、社群答疑,三维立体的方式,打造最好的学习效果。

微信小程序开发实战之番茄时钟开发

微信小程序番茄时钟视频教程,本课程将带着各位学员开发一个小程序初级实战类项目,针对只看过官方文档而又无从下手的开发者来说,可以作为一个较好的练手项目,对于有小程序开发经验的开发者而言,可以更好加深对小程序各类组件和API 的理解,为更深层次高难度的项目做铺垫。

面试了一个 31 岁程序员,让我有所触动,30岁以上的程序员该何去何从?

最近面试了一个31岁8年经验的程序猿,让我有点感慨,大龄程序猿该何去何从。

去除异常值matlab程序

数据预处理中去除异常值的程序,matlab写成

用verilog HDL语言编写的秒表

在秒表设计中,分模块书写。用在七段数码管上显示。输入频率是1KHZ.可以显示百分秒,秒,分。如要显示小时,只需修改leds里的代码和主模块代码。改程序以通过硬件电路验证。完全正确。

[透视java——反编译、修补和逆向工程技术]源代码

源代码。

相关热词 c# 解析cad c#数字格式化万 c#int转byte c#格式化日期 c# wpf 表格 c# 实现ad域验证登录 c#心跳包机制 c#使用fmod.dll c#dll vb 调用 c# outlook
立即提问
相关内容推荐