glassfish

Eclipselink JPARS exception “ECLIPSELINK_OXM_XML_KEY not found”

孤人 提交于 2019-12-24 07:04:01
问题 I am using Glassfish 3.1.2 and Eclipselink 2.4.1 (at least I thought so!) and derby (from Glassfish as JTA resource). When accessing the Entities in my app via "XXXX:8080/myapp/persistence/, I get the following error. Please note: the "Eclipselink Persistence Service" is reported with version 2.3.2, which looks strange to me, too. I would expect to see my configured version 2.4.1 (see below). Any ideas? INFO: JTS5014: Recoverable JTS instance, serverId = [100] INFO: [EL Info]: 2013-04-05 17

list applications deployed on glassfish from jsf application

心不动则不痛 提交于 2019-12-24 06:45:03
问题 I have three JSF apps working on glassfish 3.1 opensource edition. One of them is supposed to be monitor app. I need to list deployed applications with their statuses and provide functionality of disabling and enabling them. I know, that there is sth like GlassFish API and I've found some samples, but it's not clear to me and I can't figure out how to use it. Can You please provide me some more detailed tutorial/example? I would be very happy. Thanks in advance! 回答1: How about the RESTful API

Problems with GlassFish using IntelliJ, deploy is not available

℡╲_俬逩灬. 提交于 2019-12-24 06:42:16
问题 I've started using GlassFish 4.1.1 with IntelliJ and tried created a new J2EE project. The only thing I modified was the output message written out by the facelet. Now deploying and thus connecting to the server doesn't seem to work. The message: Detected server admin port: 4848 Detected server http port: 8080 [2016-04-18 10:30:58,648] Artifact FirstEE:war exploded: Server is not connected. Deploy is not available. java.nio.file.AccessDeniedException: C:\Program Files\Java\glassfish4

Setting Context-Root with Glassfish Application Server

血红的双手。 提交于 2019-12-24 06:13:14
问题 I have a EJB WEB Application with an Glassfish Application-Server. Now i want the Context-Root like this "/". My current URL is "http://localhost:8080/Make" but i want this one :"http://localhost:8080" without the "Make" as my Application Name currently is. But hen i deploy it and tip "http://localhost:8080" i got the "Server is running" page from glassfish So i trie to figure out what i can do. I have create a glassfish-web.xml in my WEB-INF folder <?xml version="1.0" encoding="UTF-8"?> <

Setting Context-Root with Glassfish Application Server

£可爱£侵袭症+ 提交于 2019-12-24 06:13:05
问题 I have a EJB WEB Application with an Glassfish Application-Server. Now i want the Context-Root like this "/". My current URL is "http://localhost:8080/Make" but i want this one :"http://localhost:8080" without the "Make" as my Application Name currently is. But hen i deploy it and tip "http://localhost:8080" i got the "Server is running" page from glassfish So i trie to figure out what i can do. I have create a glassfish-web.xml in my WEB-INF folder <?xml version="1.0" encoding="UTF-8"?> <

EJB3 Stateless Bean is always null in REST-WebService (Glassfish3, EJB3, Stateless Bean,)

断了今生、忘了曾经 提交于 2019-12-24 05:58:53
问题 I hope you can help me with this: I have a WebProject created with Eclipse as a dynamic web project, running on a Glassfish3 Server. I’m using EJB 3.0 to create a stateless Façade(@stateless Annotation) that implements my business logic: @Stateless public class Facade { public void test(){ System.out.println("test hat geklappt!!"); } } Additionally I’m using a RESTRessource to offer my REST WS that uses my EJB with (@EJB Annotation) the business logic: @RequestScoped @Path("/prescriptions")

Is my Glassfish setup leaking memory?

﹥>﹥吖頭↗ 提交于 2019-12-24 04:40:06
问题 I've got a Glassfish v3 server running a few web applications (servlets, JSP, JDBC). I'd been noticing that if I let Glassfish run for a long time, it will consume all of the memory available (this is running on a server with 750 MB of memory). I figured that there must be a memory leak, so I ran the server while monitoring it with JProfiler and noticed that when I get a peak in traffic, my memory usage shoots up (as expected), but then quickly drops back down. I'm wondering if the issue is

Is is possible to have a clean undeploy in Glassfish?

不羁的心 提交于 2019-12-24 03:24:08
问题 I realized that any application which uses hibernate, fails to undeploy completely in Glassfish 2.1.1. Many classes remain in memory after the undeployment process, you can check it using jmap and jhat. I've done several tests, and figured out that only applications which had hibernate failed to have a clen undeploy process. My Database provider for Hibernate in all the cases were jTDS 1.2.5. You don't even need to run the application. If you just deploy, and instantly undeploy, you will

Glassfish ProtocolChain exception

自古美人都是妖i 提交于 2019-12-24 03:02:01
问题 I'm trying to add to my glassfish server the support for http, so I looked on internet and I found this tutorial : http://javadude.wordpress.com/2010/04/06/getting-started-with-glassfish-v3-and-ssl/ I tried to add the trusted certificates in both cacerts.jks and server.keystore, I changed my master password to match the one from the keystores, I've tried almost each options on the glassfish admin interface without success. Maybe you will be able to help Here are my logs: [#|2011-12-01T17:32

Glassfish ProtocolChain exception

浪子不回头ぞ 提交于 2019-12-24 03:01:05
问题 I'm trying to add to my glassfish server the support for http, so I looked on internet and I found this tutorial : http://javadude.wordpress.com/2010/04/06/getting-started-with-glassfish-v3-and-ssl/ I tried to add the trusted certificates in both cacerts.jks and server.keystore, I changed my master password to match the one from the keystores, I've tried almost each options on the glassfish admin interface without success. Maybe you will be able to help Here are my logs: [#|2011-12-01T17:32