随笔分类 -  tomcat weblogic jboss

上一页 1 2 3 4
weblogic:local class incompatible: stream classdesc serialVersionUID
摘要:问题:jdk版本不兼容方法:修改weblogic对应的jdk版本 阅读全文
posted @ 2013-11-19 14:21 一天不进步,就是退步 阅读(1120) 评论(0) 推荐(0)
It is likely that the remote side declared peer gone on this JVM
摘要:java.net.ConnectException: t3://host:port: Bootstrap to host/host:port failed. It is likely that the remote side declared peer gone on this JVM]at weblogic.jndi.internal.ExceptionTranslator.toNamingException(ExceptionTranslator.java:40)at weblogic.jndi.WLInitialContextFactoryDelegate.toNamingExcepti 阅读全文
posted @ 2013-11-15 09:06 一天不进步,就是退步 阅读(3096) 评论(0) 推荐(0)
Install Tomcat 6 on CentOS or RHEL --转载
摘要:source:http://www.davidghedini.com/pg/entry/install_tomcat_6_on_centosThis post will cover installation and configuration of Tomcat 6 on CentOS 5.We will also show how to run Tomcat as a service, create a start/stop script, and configure Tomcat to run under a non-root user.This post has been updated 阅读全文
posted @ 2013-11-09 00:24 一天不进步,就是退步 阅读(334) 评论(0) 推荐(0)
Tomcat Clustering - A Step By Step Guide --转载
摘要:Tomcat Clustering - A Step By Step GuideApache Tomcat is a great performer on its own, but if you're expecting more traffic as your site expands, or are thinking about the best way to provide high availability, you'll be happy to know that Tomcat also shines in a clustered environment. With 阅读全文
posted @ 2013-09-24 10:03 一天不进步,就是退步 阅读(765) 评论(0) 推荐(0)
weblogic集群中获取jndi的方式
摘要:#ThefollowingexamplespecifiesalistofWebLogicServersusingthesameport:ht.put(Context.PROVIDER_URL,"t3://acme1,acme2,acme3:7001");AlltheWebLogicServerslistenontheportspecifiedattheendoftheURL.#ThefollowingexamplespecifiesalistofWebLogicServersusingthedifferentports:ht.put(Context.PROVIDER_URL 阅读全文
posted @ 2013-09-11 13:50 一天不进步,就是退步 阅读(401) 评论(0) 推荐(0)
转载--tomcat整合apr
摘要:原文地址:http://zhaosheng.wolf.blog.163.com/blog/static/115304589201212845341723/APR(Apache Portable Runtime)是一个高可移植库,它是Apache HTTP Server 2.x的核心。APR有很多用途,包括访问高级IO功能(例如sendfile,epoll和OpenSSL),OS级别功能(随机数生成,系统状态等 等),本地进程管理(共享内存,NT管道和UNIX sockets)。这些功能可以使Tomcat作为一个通常的前台WEB服务器,能更好地和其它本地web技术集成,总体上让Java更有效率作 阅读全文
posted @ 2013-08-13 15:21 一天不进步,就是退步 阅读(402) 评论(0) 推荐(0)
Java Management extentsions(jmx)与tomcat
摘要:1,概念:一个可以使用JMX管理器来管理的Java对象称为JMX管理资源(JMX manageable resource)。事实上,一个JMX管理资源也可以是一个应用程序、一个实现或者一个服务、设备、用户等等。JMX管理资源用Java写或者提供一个Java包装。要想让一个Java对象称为JMX管理资源,必须创建另一个名为Managed Bean或者MBean的对象。org.apache.catalina.mbeans包包括一些MBeans。ConnectorMBean, StandardEngineMBean, StandardHostMBean, StandardContextMBean是M 阅读全文
posted @ 2013-08-12 19:11 一天不进步,就是退步 阅读(411) 评论(0) 推荐(0)
tomcat 容器生命周期lifecycle
摘要:1.复习java的事件机制java事件机制包括三个部分:事件、事件监听器、事件源。事件:一般继承自java.util.EventObject类,封装了事件源对象及跟事件相关的信息。事件监听器:实现java.util.EventListener接口,注册在事件源上,当事件源的属性或状态改变时,取得相应的监听器调用其内部的回调方法。事件源:事件发生的地方,由于事件源的某项属性或状态发生了改变(比如BUTTON被单击、TEXTBOX的值发生改变等等)导致某项事件发生。2. tomcat的lifecycle事件定义public final class LifecycleEvent extends Ev 阅读全文
posted @ 2013-08-12 18:49 一天不进步,就是退步 阅读(1467) 评论(0) 推荐(0)
tomcat server容器解读
摘要:1. server的实例类为:org.apache.catalina.core.StandardServer为顶层容器。2.二级容器GlobalNamingResources,设置认证用户信息。 3. 二级容器service,包括了多个connector和一个engine --> 3. 三级容器Engine包括Realm和Host。 --> --> 实现类关系Event-Listerner事件监听模式事件监听同步模式分两个部分:Event Source和Event Listener:Event Source:被监听者的事件集合,可能是方法,提供事件的注... 阅读全文
posted @ 2013-08-11 10:01 一天不进步,就是退步 阅读(460) 评论(0) 推荐(0)
tomcat架构之-----基本概念
摘要:一直都没有搞明白tomcat中server、service、Engine、Host、Context概念的意义,最近认真看了《Tomcat 6 Developer Guide》,有了进一步的了解。1. 组件的分类顶层组件:Server、Service,别的组件都是隶属于这些顶层组件。Container:Engine,Host和Context,用于处理请求,返回结果。嵌套组件:Valve---可重用的工作单元;PipeLine一组Valve一起工作;Realm用于帮助一个特定的容器来建立容器管理的安全区。Loader:加载servlet类的方式。Manager:管理每个web应用的session。 阅读全文
posted @ 2013-08-04 23:47 一天不进步,就是退步 阅读(974) 评论(0) 推荐(0)
tomact如何处理一个http请求?
摘要:tomcat 从http 端口接收到一个请求后:1.2.3. Tomcat receives a request on an HTTP port d1) The request is received by a separate thread which is waiting in the PoolTcpEndPoint class. It is waiting for a request in a regular ServerSocket.accept() method. When a request is received, this thre... 阅读全文
posted @ 2013-03-23 07:07 一天不进步,就是退步 阅读(432) 评论(0) 推荐(0)
tomcat源码分析(二)启动---Debug方式
摘要:1.Bootstrap.java /** * Start the Catalina daemon. */ public void start() throws Exception { if( catalinaDaemon==null ) init(); Method method = catalinaDaemon.getClass().getMethod("start", (Class [] )null); method.invoke(catalinaDaemon, (Object [])null); }... 阅读全文
posted @ 2013-03-22 17:21 一天不进步,就是退步 阅读(725) 评论(0) 推荐(0)
tomcat源码分析(一)初始化---Debug方式
摘要:引用网址:http://tomcat.apache.org/tomcat-6.0-doc/architecture/startup/serverStartup.txthttp://tomcat.apache.org/tomcat-6.0-doc/architecture/startup/serverStartup.pdfTomcat启动时序第一步:初始化类: org.apache.catalina.startup.Bootstrap 1 /** 2 * Initialize daemon. 3 */ 4 public void init() 5 ... 阅读全文
posted @ 2013-03-22 15:56 一天不进步,就是退步 阅读(595) 评论(0) 推荐(0)
jms在jboss上的简单应用
摘要:核心概念:Ø连接工厂(ConnectionFactory)客户端用来创建连接的管理对象。Ø连接(Connection)代表一个与JMS提供者的活动连接。Ø目的(Destination)标识消息接收方式。Ø会话(Session)接收和发送消息的会话线程。Ø消息生产者(MessageProducer)会话使用它把消息发送到目的地。Ø消息消费者(MessageConsumer)会话使用它从目的地接收消息生产者发送的消息1.发送消息的客户端使用JMS的过程(1)使用JNDI查询管理对象ConnectionFactory和Destination 阅读全文
posted @ 2013-01-22 18:56 一天不进步,就是退步 阅读(976) 评论(0) 推荐(0)

上一页 1 2 3 4