glassfish-2.x

Glassfish 2.1 EJB 3.0 Exposing local EJB to other applications running in the same domain/jvm

ⅰ亾dé卋堺 提交于 2020-01-20 05:56:21
问题 I have an existing project that I am in need of configuring different. This needs to happen without major code changes. I am actually hoping I could somehow do this only with configuration. I have spent the past 2 to 3 days reading everything I can find on this issue. I understand the glassfish classloaders, and what is available to me. I have a current sample project that has an EJB which defines a @Local interface. The ejb is deployed inside an ejb-module as an ejb-module into the glassfish

How do I migrate from Jersey 1.0 to Jersey 2.0?

旧时模样 提交于 2019-12-20 11:22:31
问题 I'm trying to upgrade to Jersey 2.0 and I'm having a lot of trouble because the groupIds and artifactIds of Jersey have completely changed and I can't find a migration plan in the Jersey docs. Here's what my pom.xml used to look like, and this compiled fine: <dependency> <groupId>com.sun.jersey</groupId> <artifactId>jersey-server</artifactId> <version>1.17</version> </dependency> <dependency> <groupId>com.sun.jersey</groupId> <artifactId>jersey-servlet</artifactId> <version>1.17</version>

How do I migrate from Jersey 1.0 to Jersey 2.0?

你。 提交于 2019-12-20 11:22:30
问题 I'm trying to upgrade to Jersey 2.0 and I'm having a lot of trouble because the groupIds and artifactIds of Jersey have completely changed and I can't find a migration plan in the Jersey docs. Here's what my pom.xml used to look like, and this compiled fine: <dependency> <groupId>com.sun.jersey</groupId> <artifactId>jersey-server</artifactId> <version>1.17</version> </dependency> <dependency> <groupId>com.sun.jersey</groupId> <artifactId>jersey-servlet</artifactId> <version>1.17</version>

recursive call into SystemOutandErrhandler

感情迁移 提交于 2019-12-11 14:16:07
问题 this problem makes me crazy. I'm using glassfish V2.1 and JDK 1.6.0_27 on Kubuntu 12.04. If i start the server i got this exception Starting Domain domain1, please wait. Default Log location is /usr/share/glassfish-v2.1-b60e/domains/domain1/logs/server.log. Redirecting output to /usr/share/glassfish-v2.1-b60e/domains/domain1/logs/server.log recursive call into SystemOutandErrhandler java.lang.RuntimeException: recursivecall at com.sun.enterprise.server.logging.SystemOutandErrHandler

GWT 2.5 causes server (GF 2.1.1) to hang - multiple RPC connections left with CLOSE_WAIT status

前提是你 提交于 2019-12-08 10:07:09
问题 A library upgrade (GWT 2.4.0 -> GWT 2.5.0) was necessary. Unfortunately newer version seems to cause more problems, than it actually solves. A lot of "dead" connections (hundreds of them) are cumulating on server until it stops to respond. netstat -na gives the following result: ... tcp 121 0 10.0.0.5:8181 XXX.XXX.XXX.XXX:4609 CLOSE_WAIT ... It occurs only on GWT 2.5.0 and did NOT happen on GWT 2.4.0. No other changes in code. Unfortunately I'm unable to reproduce the problem locally. Both on

Custom ClassLoader not garbage collected

谁说胖子不能爱 提交于 2019-12-06 13:28:00
问题 In an attempt to solve this problem, I built a (very) small project that is reproducing part of it. It is a NetBeans project using Glassfish v2.1.1 and OpenJpa-1.2.2. Globally, the goal is to be able to reload dynamically some business code (called 'tasks') without the need to (re)make a full deployment (eg via asadmin). In the project there are two of them: PersonTask and AddressTask which are simply accessing some data and printing them out. In order to do that, I've implemented a custom

Custom ClassLoader not garbage collected

允我心安 提交于 2019-12-04 21:57:24
In an attempt to solve this problem , I built a (very) small project that is reproducing part of it. It is a NetBeans project using Glassfish v2.1.1 and OpenJpa-1.2.2. Globally, the goal is to be able to reload dynamically some business code (called 'tasks') without the need to (re)make a full deployment (eg via asadmin). In the project there are two of them: PersonTask and AddressTask which are simply accessing some data and printing them out. In order to do that, I've implemented a custom class loader that read the binary of class files and inject it via the defineClass method. Basically,

How do I migrate from Jersey 1.0 to Jersey 2.0?

最后都变了- 提交于 2019-12-03 02:29:56
I'm trying to upgrade to Jersey 2.0 and I'm having a lot of trouble because the groupIds and artifactIds of Jersey have completely changed and I can't find a migration plan in the Jersey docs . Here's what my pom.xml used to look like, and this compiled fine: <dependency> <groupId>com.sun.jersey</groupId> <artifactId>jersey-server</artifactId> <version>1.17</version> </dependency> <dependency> <groupId>com.sun.jersey</groupId> <artifactId>jersey-servlet</artifactId> <version>1.17</version> <scope>runtime</scope> </dependency> <dependency> <groupId>com.sun.jersey</groupId> <artifactId>jersey

Glassfish 2.1 EJB 3.0 Exposing local EJB to other applications running in the same domain/jvm

佐手、 提交于 2019-11-29 10:33:19
I have an existing project that I am in need of configuring different. This needs to happen without major code changes. I am actually hoping I could somehow do this only with configuration. I have spent the past 2 to 3 days reading everything I can find on this issue. I understand the glassfish classloaders, and what is available to me. I have a current sample project that has an EJB which defines a @Local interface. The ejb is deployed inside an ejb-module as an ejb-module into the glassfish domain. Now I am trying to find a way for another application which was deployed as an ear into the