开发者社区> 问答> 正文

官方isv那个dingtalk.isv.access如何运行

这两天在准备开始做钉钉的isv服务了,看文档,从github载下的demo经过配置终于可以放在tomcat里面运行了 /Applications/apache-tomcat-8.0.41/bin/catalina.sh run
[2017-05-18 10:53:17,325] Artifact dingtalk.isv.access.web:war: Server is not connected. Deploy is not available.
18-May-2017 10:53:22.664 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Server version:        Apache Tomcat/8.0.41
18-May-2017 10:53:22.667 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Server built:          Jan 18 2017 22:19:39 UTC
18-May-2017 10:53:22.667 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Server number:         8.0.41.0
18-May-2017 10:53:22.667 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log OS Name:               Mac OS X
18-May-2017 10:53:22.667 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log OS Version:            10.12.4
18-May-2017 10:53:22.667 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Architecture:          x86_64
18-May-2017 10:53:22.667 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Java Home:             /Library/Java/JavaVirtualMachines/jdk1.8.0_121.jdk/Contents/Home/jre
18-May-2017 10:53:22.667 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Version:           1.8.0_121-b13
18-May-2017 10:53:22.667 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Vendor:            Oracle Corporation
18-May-2017 10:53:22.668 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE:         /Users/apple/Library/Caches/IntelliJIdea2016.3/tomcat/Unnamed_dingtalk_isv_access_2
18-May-2017 10:53:22.668 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME:         /Applications/apache-tomcat-8.0.41
18-May-2017 10:53:22.668 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.config.file=/Users/apple/Library/Caches/IntelliJIdea2016.3/tomcat/Unnamed_dingtalk_isv_access_2/conf/logging.properties
18-May-2017 10:53:22.668 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
18-May-2017 10:53:22.668 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote=
18-May-2017 10:53:22.669 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote.port=1099
18-May-2017 10:53:22.669 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote.ssl=false
18-May-2017 10:53:22.669 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote.authenticate=false
18-May-2017 10:53:22.669 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.rmi.server.hostname=127.0.0.1
18-May-2017 10:53:22.669 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djdk.tls.ephemeralDHKeySize=2048
18-May-2017 10:53:22.669 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.protocol.handler.pkgs=org.apache.catalina.webresources
18-May-2017 10:53:22.669 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.endorsed.dirs=/Applications/apache-tomcat-8.0.41/endorsed
18-May-2017 10:53:22.669 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.base=/Users/apple/Library/Caches/IntelliJIdea2016.3/tomcat/Unnamed_dingtalk_isv_access_2
18-May-2017 10:53:22.669 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.home=/Applications/apache-tomcat-8.0.41
18-May-2017 10:53:22.669 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.io.tmpdir=/Applications/apache-tomcat-8.0.41/temp
18-May-2017 10:53:22.669 信息 [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /Users/apple/Library/Java/Extensions:/Library/Java/Extensions:/Network/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java:.
18-May-2017 10:53:22.782 信息 [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-8080"]
18-May-2017 10:53:22.799 信息 [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
18-May-2017 10:53:22.801 信息 [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["ajp-nio-8009"]
18-May-2017 10:53:22.802 信息 [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
18-May-2017 10:53:22.803 信息 [main] org.apache.catalina.startup.Catalina.load Initialization processed in 382 ms
18-May-2017 10:53:22.819 信息 [main] org.apache.catalina.core.StandardService.startInternal Starting service Catalina
18-May-2017 10:53:22.819 信息 [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/8.0.41
18-May-2017 10:53:22.824 信息 [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-8080"]
18-May-2017 10:53:22.830 信息 [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["ajp-nio-8009"]
18-May-2017 10:53:22.830 信息 [main] org.apache.catalina.startup.Catalina.start Server startup in 27 ms
Connected to server
[2017-05-18 10:53:23,120] Artifact dingtalk.isv.access.web:war: Artifact is being deployed, please wait...
18-May-2017 10:53:25.353 信息 [RMI TCP Connection(2)-127.0.0.1] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
18-May-2017 10:53:26.720 严重 [RMI TCP Connection(2)-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
18-May-2017 10:53:26.731 严重 [RMI TCP Connection(2)-127.0.0.1] org.apache.catalina.core.StandardContext.startInternal Context [/ding-isv-access] startup failed due to previous errors
18-May-2017 10:53:26.742 警告 [RMI TCP Connection(2)-127.0.0.1] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesJdbc The web application [ding-isv-access] 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-05-18 10:53:26,752] Artifact dingtalk.isv.access.web:war: Error during artifact deployment. See server log for details.
18-May-2017 10:53:32.828 信息 [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory /Applications/apache-tomcat-8.0.41/webapps/manager
18-May-2017 10:53:32.874 信息 [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory /Applications/apache-tomcat-8.0.41/webapps/manager has finished in 45 ms

现在的问题是根据文档下一步访问不到,而且启动貌似还报错了 [2017-05-18 10:53:26,752] Artifact dingtalk.isv.access.web:war: Error during artifact deployment. See server log for details.


同时还有几个疑惑就是access.web里的auto-config注释太简陋了吧,个人表示比较看不懂,还有那个biz,用maven跑可以允许但是给我说少了个表,我的天啊,有没有大牛给一份成熟点的demo,让我先把套件创建了。

展开
收起
java黑白 2017-05-18 11:03:57 3615 0
0 条回答
写回答
取消 提交回答
问答排行榜
最热
最新

相关电子书

更多
开发者和生态伙伴 如何接入阿里云Link Security 立即下载
《云市场-友盟+智能认证U-Verify》 立即下载
低代码开发师(初级)实战教程 立即下载